std.numeric.Fft/fft - multiple declarations
Convenience functions that create an
Fft object, run the FFT or inverse
FFT and return the result. Useful for one-off FFTs.
Complex!F fft(F, R) (
void fft(Ret, R) (
In addition to convenience, these functions are slightly more efficient than manually creating an Fft object for a single use, as the Fft object is deterministically destroyed before these functions return.
A class for performing fast Fourier transforms of power of two sizes. This class encapsulates a large amount of state that is reusable when performing multiple FFTs of sizes smaller than or equal to that specified in the constructor. This results in substantial speedups when performing multiple FFTs with a known maximum size. However, a free function API is provided for convenience if you need to perform a one-off FFT.
class Fft ;
||Compute the Fourier transform of range using the Ο(
||Same as the overload, but allows for the results to be stored in a user- provided buffer. The buffer must be of the same length as range, must be a random-access range, must have slicing, and must contain elements that are complex-like. This means that they must have a .re and a .im member or property that can be both read and written and are floating point numbers.|
||Computes the inverse Fourier transform of a range. The range must be a random access range with slicing, have a length equal to the size provided at construction of this object, and contain elements that are either of type std.complex.Complex or have essentially the same compile-time interface.|
||Inverse FFT that allows a user-supplied buffer to be provided. The buffer must be a random access range with slicing, and its elements must be some complex-like type.|
||Create instance of class specified by the fully qualified name classname. The class must either have no constructors or have a default constructor.|
||Compare with another Object obj.|
||Compute hash function for Object.|
||Convert Object to a human readable string.|
Andrei Alexandrescu, Don Clugston, Robert Jacques, Ilya Yaroshenko