Fft.fft

Computes the discrete fourier transform of data in r and returns it. Data in r isn't changed. R must be a forward range or a range with a length property. It must have complex or floating point elements. Here a complex type is a type with assignable floating point properties re and im. The number of elements in r must be a power of two. T must be a floating point type. The length of the returned array is the same as the number of elements in r.

  1. Complex!(T)[] fft(R r)
    class Fft
    Complex!(T)[]
    fft
    (
    T
    R
    )
    (
    R r
    )
    if (
    !isNumeric!(ElementType!R)
    )
  2. void fft(R r, Ret ret)

Meta