Trait rulinalg::norm::MatrixNorm
[−]
[src]
pub trait MatrixNorm<T, M: BaseMatrix<T>> { fn norm(&self, m: &M) -> T; }
Trait for matrix norms.
Required Methods
fn norm(&self, m: &M) -> T
Computes the matrix norm.
Implementors
impl<T: Float, M: BaseMatrix<T>> MatrixNorm<T, M> for Euclidean
impl<T: Float, M: BaseMatrix<T>> MatrixNorm<T, M> for Lp<T>