Function assert::close [] [src]

pub fn close<F, F1, F2>(x: F1, y: F2, delta: F) where F1: Floats<F>, F2: Floats<F>, F: Float

Assert that the absolute difference between two quantities is small.

In case of vectors, the assertion is elementwise.