// #![ #[cfg(feature = "f32")] pub type Flt = f32; #[cfg(feature = "f32")] pub const pi: Flt = std::f32::consts::PI; #[cfg(feature = "f64")] pub type Flt = f64; #[cfg(feature = "f64")] pub const pi: Flt = std::f64::consts::PI; /// The maximum number of input channels allowed. Compile time constant to make some structs Copy. pub const MAX_INPUT_CHANNELS: usize = 128; use num::complex::*; /// Complex number floating point pub type Cflt = Complex; use numpy::ndarray::{Array1, Array2}; pub type Vd = Vec; pub type Vc = Vec; pub type Dcol = Array1; pub type Ccol = Array1; pub type Dmat = Array2; pub type Cmat = Array2;