ndarray_linalg::assert

Function close_l1

source
pub fn close_l1<A, S1, S2, D>(
    test: &ArrayBase<S1, D>,
    truth: &ArrayBase<S2, D>,
    rtol: A::Real,
)
where A: Scalar + Lapack, S1: Data<Elem = A>, S2: Data<Elem = A>, D: Dimension, D::Pattern: PartialEq + Debug,
Expand description

check two arrays are close in L1 norm