Trait NormL1
hcomplex
pub trait NormL1 { type Output; pub fn norm_l1(self) -> Self::Output; }
L1 (Manhattan) Norm.
type Output
pub fn norm_l1(self) -> Self::Output
Get the L1 norm of the self.
self
impl NormL1 for i8
type Output = Self
pub fn norm_l1(self) -> Self
impl NormL1 for i16
impl NormL1 for i32
impl NormL1 for i64
impl NormL1 for f32
impl NormL1 for f64
impl<T, U> NormL1 for Construct<T, U> where T: Add<Output = T>, U: NormL1<Output = T>,
type Output = T
pub fn norm_l1(self) -> T