Module prelude

Source

Re-exports§

pub use crate::activate::prelude::*;
pub use crate::data::prelude::*;
pub use crate::error::*;
pub use crate::init::prelude::*;
pub use crate::ops::prelude::*;
pub use crate::params::prelude::*;
pub use crate::traits::prelude::*;
pub use crate::utils::prelude::*;

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§

AsComplex
DFT
Trait for computing the Discrete Fourier Transform (DFT) of a sequence.
FloorDiv
IntoComplex
Trait for converting a type into a complex number.
PercentDiff
Root
RoundTo
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.