Trait ndarray_numtest::assert::AssertAllClose [] [src]

pub trait AssertAllClose {
    type Tol;
    fn assert_allclose_l2(&self, truth: &Self, rtol: Self::Tol);
    fn assert_allclose_inf(&self, truth: &Self, atol: Self::Tol);
}

test two arrays are close

Associated Types

Required Methods

test two arrays are close in L2-norm with relative tolerance

test two arrays are close in inf-norm with absolute tolerance

Implementors