Module prelude

Source

Structs§

FftDirectionIter
An iterator over the variants of FftDirection
FftModeIter
An iterator over the variants of FftMode
FftPlan

Enums§

C
FftDirection
FftMode
MathematicalError
R

Traits§

Abs
AsComplex
Trait for converting a type into a complex number.
ComplexNum
Conjugate
Cos
Cosh
DFT
Trait for computing the Discrete Fourier Transform (DFT) of a sequence.
Exp
FloorDiv
IntoComplex
Trait for converting a type into a complex number.
Root
RoundTo
Sine
Sinh
SquareRoot
Squared
SummaryStatistics
This trait describes the fundamental methods of summary statistics. These include the mean, standard deviation, variance, and more.

Functions§

fft
Computes the Fast Fourier Transform of a one-dimensional, complex-valued signal.
floor_div
ifft
Computes the Inverse Fast Fourier Transform of an one-dimensional, complex-valued signal.
irfft
Computes the Inverse Fast Fourier Transform of an one-dimensional, real-valued signal. TODO: Fix the function; currently fails to compute the correct result
rfft
Computes the Fast Fourier Transform of an one-dimensional, real-valued signal. TODO: Optimize the function to avoid unnecessary computation.
round_to
Round the given value to the given number of decimal places.