pub struct ComplexToRealOdd<T> { /* private fields */ }

Implementations

Create a new ComplexToReal FFT for input data of a given length, and uses the given FftPlanner to build the inner FFT. Panics if the length is not odd.

Trait Implementations

Transform a complex spectrum of N/2+1 (with N/2 rounded down) values and store the real result in the N long output. The input buffer is used as scratch space, so the contents of input should be considered garbage after calling. It also allocates additional scratch space as needed. An error is returned if any of the given slices has the wrong length. If the input data is invalid, meaning that one of the positions that should contain a zero holds a different value, these non-zero values are ignored and the transform is still performed. The function then returns an FftError::InputValues error to tell that the result may not be correct.

Transform a complex spectrum of N/2+1 (with N/2 rounded down) values and store the real result in the N long output. The input buffer is used as scratch space, so the contents of input should be considered garbage after calling. It also uses the provided scratch vector instead of allocating, which will be faster if it is called more than once. An error is returned if any of the given slices has the wrong length. If the input data is invalid, meaning that one of the positions that should contain a zero holds a different value, these non-zero values are ignored and the transform is still performed. The function then returns an FftError::InputValues error to tell that the result may not be correct.

Get the length of the scratch space needed for process_with_scratch.

Get the number of points that this FFT can process.

Convenience method to make an input vector of the right type and length.

Convenience method to make an output vector of the right type and length.

Convenience method to make a scratch vector of the right type and length.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.