Trait to check if the values of two matrices with the same dimension differ only within a small range.
| 86 | /// Trait to check if the values of two matrices with the same dimension |
| 87 | /// differ only within a small range. |
| 88 | pub trait Similar<T> { |
| 89 | fn similar(&self, e: &Self, epsilon: T) -> bool; |
| 90 | } |
| 91 | |
| 92 | impl <T: Clone + Signed + Float> Similar<T> for Matrix<T> { |
| 93 |
nothing calls this directly
no outgoing calls
no test coverage detected