Struct rulinalg::norm::Euclidean
[−]
[src]
pub struct Euclidean;
The Euclidean norm
The Euclidean norm computes the square-root of the sum of squares.
||v|| = SQRT(SUM(v_i * v_i))
Trait Implementations
impl Debug for Euclidean
[src]
impl<T: Float> VectorNorm<T> for Euclidean
[src]
impl<T: Float, M: BaseMatrix<T>> MatrixNorm<T, M> for Euclidean
[src]
fn norm(&self, m: &M) -> T
Computes the matrix norm.