signal_processing 0.3.0

A signal processing library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use core::fmt::Debug;
use num::complex::ComplexFloat;

use crate::{systems::Ar, quantities::{ListOrSingle, MaybeList}};

impl<T, A, AV> Debug for Ar<T, A, AV>
where
    T: ComplexFloat,
    A: MaybeList<T>,
    AV: ListOrSingle<(A, T::Real)> + Debug
{
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result
    {
        f.debug_struct("Ar")
            .field("av", &self.av)
            .finish()
    }
}