Struct signalo_filters::filter::convolve::Convolve [−][src]
A convolution filter.
Methods
impl<T, A> Convolve<A> where
T: Copy,
A: Array<Item = T>,
[src]
impl<T, A> Convolve<A> where
T: Copy,
A: Array<Item = T>,
pub fn new(coefficients: A) -> Self
[src]
pub fn new(coefficients: A) -> Self
Creates a new Convolve
filter with given coefficients
.
ⓘImportant traits for &'a mut Rpub fn coefficients(&self) -> &A
[src]
pub fn coefficients(&self) -> &A
Returns the filter's coefficients.
impl<T, A> Convolve<A> where
T: Copy + PartialOrd + Num,
A: Array<Item = T>,
[src]
impl<T, A> Convolve<A> where
T: Copy + PartialOrd + Num,
A: Array<Item = T>,
pub fn normalized(coefficients: A) -> Self
[src]
pub fn normalized(coefficients: A) -> Self
Creates a new Convolve
filter with given coefficients
, normalizing them.
Trait Implementations
impl SavitzkyGolay for Convolve<[f32; 1]>
[src]
impl SavitzkyGolay for Convolve<[f32; 1]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 1]>
[src]
impl SavitzkyGolay for Convolve<[f64; 1]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 2]>
[src]
impl SavitzkyGolay for Convolve<[f32; 2]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 2]>
[src]
impl SavitzkyGolay for Convolve<[f64; 2]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 3]>
[src]
impl SavitzkyGolay for Convolve<[f32; 3]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 3]>
[src]
impl SavitzkyGolay for Convolve<[f64; 3]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 4]>
[src]
impl SavitzkyGolay for Convolve<[f32; 4]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 4]>
[src]
impl SavitzkyGolay for Convolve<[f64; 4]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 5]>
[src]
impl SavitzkyGolay for Convolve<[f32; 5]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 5]>
[src]
impl SavitzkyGolay for Convolve<[f64; 5]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 6]>
[src]
impl SavitzkyGolay for Convolve<[f32; 6]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 6]>
[src]
impl SavitzkyGolay for Convolve<[f64; 6]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 7]>
[src]
impl SavitzkyGolay for Convolve<[f32; 7]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 7]>
[src]
impl SavitzkyGolay for Convolve<[f64; 7]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 8]>
[src]
impl SavitzkyGolay for Convolve<[f32; 8]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 8]>
[src]
impl SavitzkyGolay for Convolve<[f64; 8]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 9]>
[src]
impl SavitzkyGolay for Convolve<[f32; 9]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 9]>
[src]
impl SavitzkyGolay for Convolve<[f64; 9]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 10]>
[src]
impl SavitzkyGolay for Convolve<[f32; 10]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 10]>
[src]
impl SavitzkyGolay for Convolve<[f64; 10]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 11]>
[src]
impl SavitzkyGolay for Convolve<[f32; 11]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 11]>
[src]
impl SavitzkyGolay for Convolve<[f64; 11]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 12]>
[src]
impl SavitzkyGolay for Convolve<[f32; 12]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 12]>
[src]
impl SavitzkyGolay for Convolve<[f64; 12]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f32; 13]>
[src]
impl SavitzkyGolay for Convolve<[f32; 13]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl SavitzkyGolay for Convolve<[f64; 13]>
[src]
impl SavitzkyGolay for Convolve<[f64; 13]>
fn savitzky_golay() -> Self
[src]
fn savitzky_golay() -> Self
Creates a convolution filter pre-configured with the Savitzky-Golay coefficients.
impl<A: Clone> Clone for Convolve<A> where
A: Array,
A::Item: Copy,
[src]
impl<A: Clone> Clone for Convolve<A> where
A: Array,
A::Item: Copy,
fn clone(&self) -> Convolve<A>
[src]
fn clone(&self) -> Convolve<A>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<T, A> Debug for Convolve<A> where
T: Copy + Debug,
A: Array<Item = T> + Debug,
[src]
impl<T, A> Debug for Convolve<A> where
T: Copy + Debug,
A: Array<Item = T> + Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T, A> Stateful for Convolve<A> where
T: Copy,
A: Array<Item = T>,
[src]
impl<T, A> Stateful for Convolve<A> where
T: Copy,
A: Array<Item = T>,
impl<T, A> StatefulUnsafe for Convolve<A> where
T: Copy,
A: Array<Item = T>,
[src]
impl<T, A> StatefulUnsafe for Convolve<A> where
T: Copy,
A: Array<Item = T>,
unsafe fn state(&self) -> &Self::State
[src]
unsafe fn state(&self) -> &Self::State
Returns a mutable reference to the internal state of the filter.
unsafe fn state_mut(&mut self) -> &mut Self::State
[src]
unsafe fn state_mut(&mut self) -> &mut Self::State
Returns a mutable reference to the internal state of the filter.
impl<T, A> InitialState<()> for Convolve<A> where
T: Copy,
A: Array<Item = T>,
[src]
impl<T, A> InitialState<()> for Convolve<A> where
T: Copy,
A: Array<Item = T>,
fn initial_state(_: ()) -> Self::State
[src]
fn initial_state(_: ()) -> Self::State
Returns the filter's initial state for a given parameter.
impl<T, A> Resettable for Convolve<A> where
T: Copy,
A: Array<Item = T>,
[src]
impl<T, A> Resettable for Convolve<A> where
T: Copy,
A: Array<Item = T>,
impl<T, A> Filter<T> for Convolve<A> where
T: Copy + Num,
A: Array<Item = T>,
[src]
impl<T, A> Filter<T> for Convolve<A> where
T: Copy + Num,
A: Array<Item = T>,