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
Implementors
impl<T: Float> Metric<T> for Matrix<T>
impl<'a, T: Float> Metric<T> for MatrixSlice<'a, T>
impl<'a, T: Float> Metric<T> for MatrixSliceMut<'a, T>
impl<T: Float> Metric<T> for Vector<T>