[−][src]Trait rulinalg::norm::MatrixMetric
Trait for matrix metrics.
Required methods
Loading content...Implementors
impl<'a, 'b, U, T, M1, M2> MatrixMetric<'a, 'b, T, M1, M2> for U where
U: MatrixNorm<T, M1>,
M1: 'a + BaseMatrix<T>,
M2: 'b + BaseMatrix<T>,
&'a M1: Sub<&'b M2, Output = M1>, [src]
U: MatrixNorm<T, M1>,
M1: 'a + BaseMatrix<T>,
M2: 'b + BaseMatrix<T>,
&'a M1: Sub<&'b M2, Output = M1>,
The induced matrix metric
Given a norm N, the induced matrix metric M computes
the metric distance, d, between two matrices m1 and m2
as follows:
d = M(m1, m2) = N(m1 - m2)