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

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

Required Methods

L-1 norm

L-2 norm

maximum norm

Provided Methods

rename of norm_l2

Implementations on Foreign Types

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

[src]

[src]

[src]

[src]

Implementors