rapid_models.gp_diagnostics.utils.checks

Module Contents

Functions

is_numeric_np_array(→ bool)

Check that arr is a numpy array with only numeric elements

is_square(→ bool)

Check that the numpy array arr is 2d quare

is_lower_triang(→ bool)

Check that that a square 2d numpy array is lower triangular

rapid_models.gp_diagnostics.utils.checks.is_numeric_np_array(arr: nptyping.NDArray[Any, Any]) bool

Check that arr is a numpy array with only numeric elements

rapid_models.gp_diagnostics.utils.checks.is_square(arr: nptyping.NDArray[nptyping.Shape[N, N], Any]) bool

Check that the numpy array arr is 2d quare

rapid_models.gp_diagnostics.utils.checks.is_lower_triang(arr: nptyping.NDArray[nptyping.Shape[N, N], Any]) bool

Check that that a square 2d numpy array is lower triangular