[]Trait argmin::prelude::ArgminNorm

pub trait ArgminNorm<U> {
    fn norm(&self) -> U;
}

Compute the l2-norm (U) of self

Required methods

fn norm(&self) -> U

Compute the l2-norm (U) of self

Loading content...

Implementations on Foreign Types

impl ArgminNorm<i16> for Vec<i16>

impl ArgminNorm<u8> for ArrayBase<OwnedRepr<u8>, Dim<[usize; 1]>>

impl ArgminNorm<isize> for ArrayBase<OwnedRepr<isize>, Dim<[usize; 1]>>

impl ArgminNorm<f64> for Vec<f64>

impl ArgminNorm<isize> for isize

impl ArgminNorm<u32> for Vec<u32>

impl ArgminNorm<f64> for ArrayBase<OwnedRepr<Complex<f64>>, Dim<[usize; 1]>>

impl ArgminNorm<Complex<f32>> for ArrayBase<OwnedRepr<Complex<f32>>, Dim<[usize; 1]>>

impl ArgminNorm<i32> for i32

impl ArgminNorm<f64> for ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>

impl ArgminNorm<f32> for ArrayBase<OwnedRepr<Complex<f32>>, Dim<[usize; 1]>>

impl ArgminNorm<u16> for ArrayBase<OwnedRepr<u16>, Dim<[usize; 1]>>

impl ArgminNorm<u64> for Vec<u64>

impl ArgminNorm<i8> for i8

impl ArgminNorm<Complex<f64>> for Vec<Complex<f64>>

impl ArgminNorm<i8> for ArrayBase<OwnedRepr<i8>, Dim<[usize; 1]>>

impl ArgminNorm<i64> for ArrayBase<OwnedRepr<i64>, Dim<[usize; 1]>>

impl ArgminNorm<Complex<f32>> for Vec<Complex<f32>>

impl ArgminNorm<f32> for ArrayBase<OwnedRepr<f32>, Dim<[usize; 1]>>

impl ArgminNorm<u8> for Vec<u8>

impl ArgminNorm<i16> for i16

impl ArgminNorm<i32> for Vec<i32>

impl ArgminNorm<u32> for u32

impl ArgminNorm<i32> for ArrayBase<OwnedRepr<i32>, Dim<[usize; 1]>>

impl ArgminNorm<f32> for Complex<f32>

impl ArgminNorm<u8> for u8

impl ArgminNorm<i16> for ArrayBase<OwnedRepr<i16>, Dim<[usize; 1]>>

impl ArgminNorm<u16> for Vec<u16>

impl ArgminNorm<u64> for ArrayBase<OwnedRepr<u64>, Dim<[usize; 1]>>

impl ArgminNorm<u32> for ArrayBase<OwnedRepr<u32>, Dim<[usize; 1]>>

impl ArgminNorm<usize> for Vec<usize>

impl ArgminNorm<i64> for i64

impl ArgminNorm<i64> for Vec<i64>

impl ArgminNorm<f32> for Vec<f32>

impl ArgminNorm<u16> for u16

impl ArgminNorm<f64> for Complex<f64>

impl ArgminNorm<usize> for usize

impl ArgminNorm<usize> for ArrayBase<OwnedRepr<usize>, Dim<[usize; 1]>>

impl ArgminNorm<u64> for u64

impl ArgminNorm<isize> for Vec<isize>

impl ArgminNorm<Complex<f64>> for ArrayBase<OwnedRepr<Complex<f64>>, Dim<[usize; 1]>>

impl ArgminNorm<f64> for f64

impl ArgminNorm<f32> for f32

impl ArgminNorm<i8> for Vec<i8>

Loading content...

Implementors

Loading content...