Trait vecmat::traits::NormL1[][src]

pub trait NormL1 {
    type Output;
    fn norm_l1(self) -> Self::Output;
}

L1 Norm trait.

Associated Types

type Output[src]

Type of the norm.

Loading content...

Required methods

fn norm_l1(self) -> Self::Output[src]

Norm of the element.

Loading content...

Implementations on Foreign Types

impl NormL1 for u8[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for u16[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for u32[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for u64[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for usize[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for i8[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for i16[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for i32[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for i64[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for isize[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for f32[src]

type Output = Self

fn norm_l1(self) -> Self[src]

impl NormL1 for f64[src]

type Output = Self

fn norm_l1(self) -> Self[src]

Loading content...

Implementors

impl<T> NormL1 for Complex<T> where
    Vector2<T>: NormL1<Output = T>, 
[src]

type Output = T

fn norm_l1(self) -> T[src]

impl<T> NormL1 for Quaternion<T> where
    Vector4<T>: NormL1<Output = T>, 
[src]

type Output = T

fn norm_l1(self) -> T[src]

impl<T, const M: usize, const N: usize> NormL1 for Matrix<T, M, N> where
    T: NormL1<Output = T> + Add<Output = T>, 
[src]

type Output = T

fn norm_l1(self) -> T[src]

impl<T, const N: usize> NormL1 for Vector<T, N> where
    T: NormL1<Output = T> + Add<Output = T>, 
[src]

type Output = T

fn norm_l1(self) -> T[src]

Loading content...