MCPcopy Create free account
hub / github.com/daniel-e/rustml / Similar

Interface Similar

src/matrix.rs:88–90  ·  view source on GitHub ↗

Trait to check if the values of two matrices with the same dimension differ only within a small range.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Implementers 1

matrix.rssrc/matrix.rs

Calls

no outgoing calls

Tested by

no test coverage detected