SciPy

darkhistory.utilities.check_err

darkhistory.utilities.check_err(val, err, epsrel)

Checks the relative error given a tolerance.

Parameters:
valfloat or ndarray

The computed value.

errfloat or ndarray

The computed error.

epsrelfloat

The target tolerance.

Returns:
None

This Page