Trait rulinalg::Metric [] [src]

pub trait Metric<T> {
    fn norm(&self) -> T;
}
[]

Trait for linear algebra metrics.

Currently only implements basic euclidean norm.

Required Methods

fn norm(&self) -> T[]

Computes the euclidean norm.

Implementors