adaptif 0.1.1

Adaptive filters for digital signal processing.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::ops::Deref;

use crate::types::Float;

#[derive(Debug, Clone, Copy)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct NoiseEstimate<F: Float>(pub F);
impl<F: Float> Deref for NoiseEstimate<F> {
    type Target = F;
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}