Trait rulinalg::norm::MatrixMetric [] [src]

pub trait MatrixMetric<'a, 'b, T, M1: 'a + BaseMatrix<T>, M2: 'b + BaseMatrix<T>> {
    fn metric(&self, m1: &'a M1, m2: &'b M2) -> T;
}

Trait for matrix metrics.

Required Methods

Computes the metric distance between two matrices.

Implementors