[][src]Trait norman::special::NormEucl

pub trait NormEucl {
    type Output: Num;
    fn norm_eucl(&self) -> Self::Output;
}

This trait is used to emphasize a special norm for a type of vectors that is kind of a euclidean norm and can be used as the standard norm for this type.

Associated Types

type Output: Num

The resulting type of the norm function.

Loading content...

Required methods

fn norm_eucl(&self) -> Self::Output

Calculates the euclidean norm of self.

Panics

An implementation of norm_eucl 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.

Loading content...

Implementations on Foreign Types

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> NormEucl for Vec<T>[src]

type Output = R

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> NormEucl for VecDeque<T>[src]

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

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

type Output = R

impl<T: Norm<Abs, Output = R>, R: Float + From<f32>> NormEucl for Array1<T>[src]

type Output = R

Loading content...

Implementors

impl<T: Norm<Abs>> NormEucl for T[src]

type Output = Self::Output

Loading content...