Enum rgsl::FftDirection
source · pub enum FftDirection {
Forward,
Backward,
}
Expand description
this gives the sign in the formula
h(f) = \sum x(t) exp(+/- 2 pi i f t)
where - is the forward transform direction and + the inverse direction
Variants§
Trait Implementations§
source§impl Clone for FftDirection
impl Clone for FftDirection
source§fn clone(&self) -> FftDirection
fn clone(&self) -> FftDirection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FftDirection
impl Debug for FftDirection
source§impl From<i32> for FftDirection
impl From<i32> for FftDirection
source§fn from(v: c_int) -> FftDirection
fn from(v: c_int) -> FftDirection
Converts to this type from the input type.
source§impl Into<i32> for FftDirection
impl Into<i32> for FftDirection
source§impl PartialEq<FftDirection> for FftDirection
impl PartialEq<FftDirection> for FftDirection
source§fn eq(&self, other: &FftDirection) -> bool
fn eq(&self, other: &FftDirection) -> bool
source§impl PartialOrd<FftDirection> for FftDirection
impl PartialOrd<FftDirection> for FftDirection
source§fn partial_cmp(&self, other: &FftDirection) -> Option<Ordering>
fn partial_cmp(&self, other: &FftDirection) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more