pub struct Normal<C> {
pub b: [C; 3],
pub p: Complex<C>,
}Expand description
Normal form second order section
Also known as Rader Gold oscillator, or Chamberlain form IIR. A direct form implementation has bad pole resolution near the real axis. The normal form has constant pole resolution in the plane.
This implementation includes a second order all-zeros before the all-poles section.
The y0/y1 fields of DirectForm1 hold the in-phase and quadrature
components of the current output.
Fields§
§b: [C; 3]Feed forward coefficients
p: Complex<C>Pole
Conjugate pole pair at: p.re() +- 1j*p.im()
Trait Implementations§
Source§impl<'de, C> Deserialize<'de> for Normal<C>where
C: Deserialize<'de>,
impl<'de, C> Deserialize<'de> for Normal<C>where
C: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<C, T: Copy> SplitInplace<T, DirectForm1<T>> for Normal<C>where
Self: SplitProcess<T, T, DirectForm1<T>>,
impl<C, T: Copy> SplitInplace<T, DirectForm1<T>> for Normal<C>where
Self: SplitProcess<T, T, DirectForm1<T>>,
Auto Trait Implementations§
impl<C> Freeze for Normal<C>where
C: Freeze,
impl<C> RefUnwindSafe for Normal<C>where
C: RefUnwindSafe,
impl<C> Send for Normal<C>where
C: Send,
impl<C> Sync for Normal<C>where
C: Sync,
impl<C> Unpin for Normal<C>where
C: Unpin,
impl<C> UnwindSafe for Normal<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more