signal_processing 0.3.0

A signal processing library.
Documentation
use num::{complex::ComplexFloat, traits::Inv};

use crate::{quantities::MaybeList, systems::Tf};

impl<T, B, A> Inv for Tf<T, B, A>
where
    T: ComplexFloat,
    B: MaybeList<T>,
    A: MaybeList<T>
{
    type Output = Tf<T, A, B>;

    fn inv(self) -> Self::Output
    {
        Tf {
            b: self.a,
            a: self.b
        }
    }
}