Trait NormL1

Source
pub trait NormL1 {
    type Output;

    // Required method
    fn norm_l1(self) -> Self::Output;
}
Expand description

L1 (Manhattan) Norm.

Required Associated Types§

Required Methods§

Source

fn norm_l1(self) -> Self::Output

Get the L1 norm of the self.

Implementations on Foreign Types§

Source§

impl NormL1 for f32

Source§

type Output = f32

Source§

fn norm_l1(self) -> Self

Source§

impl NormL1 for f64

Source§

type Output = f64

Source§

fn norm_l1(self) -> Self

Source§

impl NormL1 for i8

Source§

type Output = i8

Source§

fn norm_l1(self) -> Self

Source§

impl NormL1 for i16

Source§

type Output = i16

Source§

fn norm_l1(self) -> Self

Source§

impl NormL1 for i32

Source§

type Output = i32

Source§

fn norm_l1(self) -> Self

Source§

impl NormL1 for i64

Source§

type Output = i64

Source§

fn norm_l1(self) -> Self

Implementors§

Source§

impl<T, U> NormL1 for Construct<T, U>
where T: Add<Output = T>, U: NormL1<Output = T>,