pub trait Norm {
    type Output;

    fn norm_l1(&self) -> Self::Output;
    fn norm_l2(&self) -> Self::Output;
    fn norm_max(&self) -> Self::Output;
}
Expand description

Define norm as a metric linear space, treating the whole matrix as one big vector.

Required Associated Types

Required Methods

L-1 norm

L-2 norm

Maximum norm (L-infinite)

Implementations on Foreign Types

Implementors