[][src]Struct basic_dsp::conv_types::RealFrequencyLinearTableLookup

pub struct RealFrequencyLinearTableLookup<T> where
    T: RealNumber
{ /* fields omitted */ }

Allows to create a lookup table with linear interpolation between table points. This usually speeds up a convolution and sacrifices accuracy.

Methods

impl<T> RealFrequencyLinearTableLookup<T> where
    T: RealNumber
[src]

Important traits for &'a mut [u8]
pub fn table(&self) -> &[T]
[src]

Allows to inspect the generated lookup table

pub fn delta(&self) -> T
[src]

Gets the delta value which determines the resolution

impl RealFrequencyLinearTableLookup<f32>
[src]

pub fn from_raw_parts(
    table: &[f32],
    delta: f32,
    is_symmetric: bool
) -> RealFrequencyLinearTableLookup<f32>
[src]

Creates a lookup table by putting the pieces together.

pub fn from_conv_function(
    other: &dyn RealFrequencyResponse<f32>,
    delta: f32,
    len: usize
) -> RealFrequencyLinearTableLookup<f32>
[src]

Creates a lookup table from another convolution function. The delta argument can be used to balance performance vs. accuracy.

impl RealFrequencyLinearTableLookup<f64>
[src]

pub fn from_raw_parts(
    table: &[f64],
    delta: f64,
    is_symmetric: bool
) -> RealFrequencyLinearTableLookup<f64>
[src]

Creates a lookup table by putting the pieces together.

pub fn from_conv_function(
    other: &dyn RealFrequencyResponse<f64>,
    delta: f64,
    len: usize
) -> RealFrequencyLinearTableLookup<f64>
[src]

Creates a lookup table from another convolution function. The delta argument can be used to balance performance vs. accuracy.

impl RealFrequencyLinearTableLookup<f32>
[src]

pub fn to_complex(&self) -> ComplexFrequencyLinearTableLookup<f32>
[src]

Convert the lookup table into complex number space

impl RealFrequencyLinearTableLookup<f64>
[src]

pub fn to_complex(&self) -> ComplexFrequencyLinearTableLookup<f64>
[src]

Convert the lookup table into complex number space

Trait Implementations

impl RealFrequencyResponse<f32> for RealFrequencyLinearTableLookup<f32>
[src]

impl RealFrequencyResponse<f64> for RealFrequencyLinearTableLookup<f64>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T