Norm

Trait Norm 

Source
pub trait Norm<D> {
    type Output: Num;

    // Required method
    fn norm(&self, desc: D) -> Self::Output;
}
Expand description

The Norm trait is the core of the norman crate.

It provides a norm function which calculates a specific norm of the vector.

The type D is the norm descriptor, which specifies the exact kind of norm; e.g. a supremum norm or a euclidean norm. See the desc module for several different norm descriptors.

Required Associated Types§

Source

type Output: Num

The resulting type of the norm function.

Mathematically, a norm is a mapping from a vector space V into the non-negative real numbers, so Output will usually be a floating point type or in some cases an unsigned integer type.

Required Methods§

Source

fn norm(&self, desc: D) -> Self::Output

Calculates the norm of self, specified by the descriptor desc.

§Panics

An implementation of norm should never panic.

An exception may be made for types like the noisy_float floating point types that already have a special panicking behaviour to ensure that no invalid values occur.

§Example
use num_complex::Complex;

use norman::Norm;
use norman::desc::Abs;

assert_eq!(Norm::norm(&Complex::new(3.0, 4.0), Abs::new()), 5.0);

Implementations on Foreign Types§

Source§

impl Norm<Abs> for f32

Source§

type Output = f32

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for f64

Source§

type Output = f64

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for i8

Source§

type Output = u8

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for i16

Source§

type Output = u16

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for i32

Source§

type Output = u32

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for i64

Source§

type Output = u64

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for i128

Source§

type Output = u128

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for isize

Source§

type Output = usize

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for u8

Source§

type Output = u8

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for u16

Source§

type Output = u16

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for u32

Source§

type Output = u32

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for u64

Source§

type Output = u64

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for u128

Source§

type Output = u128

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl Norm<Abs> for usize

Source§

type Output = usize

Source§

fn norm(&self, _desc: Abs) -> <Self as Norm<Abs>>::Output

Source§

impl<F: Float, C: FloatChecker<F>> Norm<Abs> for NoisyFloat<F, C>

Source§

type Output = NoisyFloat<F, C>

Source§

fn norm(&self, _desc: Abs) -> Self

Source§

impl<S, D, T, R> Norm<PNorm> for ArrayBase<S, D>
where S: Data<Elem = T>, D: Dimension, T: Norm<Abs, Output = R>, R: Float + From<f32>,

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<Sup>>::Output

Source§

impl<S, D, T, R> Norm<PNormReal> for ArrayBase<S, D>
where S: Data<Elem = T>, D: Dimension, T: Norm<Abs, Output = R>, R: Float + From<f32>,

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<Sup>>::Output

Source§

impl<S, D, T, R> Norm<Sup> for ArrayBase<S, D>
where S: Data<Elem = T>, D: Dimension, T: Norm<Abs, Output = R>, R: Num + PartialOrd,

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Float> Norm<Abs> for Complex<T>

Source§

fn norm(&self, _desc: Abs) -> T

Calculates the usual euclidean norm of the complex number.

Source§

type Output = T

Source§

impl<T: Float> Norm<Sup> for Complex<T>

Source§

fn norm(&self, _desc: Sup) -> T

Calculates the supremum norm of the complex number, i.e. the maximum of the absolute values of real and imaginary part.

Source§

type Output = T

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 0]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 1]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 2]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 3]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 4]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 5]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 6]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 7]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 8]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 9]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 10]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 11]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 12]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 13]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 14]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 15]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 16]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 17]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 18]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 19]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 20]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 21]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 22]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 23]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 24]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 25]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 26]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 27]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 28]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 29]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 30]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 31]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for [T; 32]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for VecDeque<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNorm> for Vec<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNorm) -> <Self as Norm<PNorm>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 0]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 1]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 2]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 3]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 4]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 5]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 6]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 7]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 8]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 9]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 10]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 11]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 12]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 13]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 14]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 15]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 16]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 17]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 18]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 19]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 20]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 21]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 22]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 23]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 24]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 25]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 26]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 27]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 28]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 29]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 30]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 31]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for [T; 32]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for VecDeque<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> Norm<PNormReal> for Vec<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, desc: PNormReal) -> <Self as Norm<PNormReal>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 0]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 1]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 2]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 3]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 4]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 5]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 6]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 7]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 8]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 9]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 10]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 11]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 12]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 13]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 14]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 15]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 16]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 17]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 18]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 19]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 20]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 21]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 22]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 23]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 24]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 25]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 26]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 27]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 28]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 29]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 30]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 31]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for [T; 32]

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for VecDeque<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Source§

impl<T: Norm<Abs, Output = R>, R: Num + PartialOrd> Norm<Sup> for Vec<T>

Source§

type Output = <T as Norm<Abs>>::Output

Source§

fn norm(&self, _desc: Sup) -> <Self as Norm<Sup>>::Output

Implementors§