(slow-fft) ( seq inverse? -- seq' )


Vocabulary
math.transforms.fft.private

Inputs
seqan object
inverse?an object


Outputs
seq'an object


Definition


:: (slow-fft) ( seq inverse? -- seq' )
seq length :> N inverse? 1 -1 ? 2pi * N / N <iota> n*v
:> omega N <iota> [| k |
0 seq omega [ k * cis * + ] 2each inverse? [ N / ] when
] map ; inline