[][src]Trait ndarray_linalg::norm::Norm

pub trait Norm {
    type Output;
    fn norm_l1(&self) -> Self::Output;
fn norm_l2(&self) -> Self::Output;
fn norm_max(&self) -> Self::Output; fn norm(&self) -> Self::Output { ... } }

Define norm as a metric linear space (not as a matrix)

For operator norms, see opnorm module

Associated Types

type Output

Loading content...

Required methods

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

L-1 norm

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

L-2 norm

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

maximum norm

Loading content...

Provided methods

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

rename of norm_l2

Loading content...

Implementations on Foreign Types

impl<A, S, D> Norm for ArrayBase<S, D> where
    A: Scalar + Lapack,
    S: Data<Elem = A>,
    D: Dimension
[src]

type Output = A::Real

Loading content...

Implementors

Loading content...