Function ndarray_linalg::assert::close_max [] [src]

pub fn close_max<A, Tol, S1, S2, D>(
    test: &ArrayBase<S1, D>,
    truth: &ArrayBase<S2, D>,
    atol: Tol
) -> Result<Tol, Tol> where
    A: Field + Absolute<Output = Tol>,
    Tol: RealField,
    S1: Data<Elem = A>,
    S2: Data<Elem = A>,
    D: Dimension

check two arrays are close in maximum norm