check_ndarray_in_interval#

pybrops.core.error.error_value_numpy.check_ndarray_in_interval(v, vname, vmin, vmax)[source]#

Check whether all values in a numpy.ndarray are in the interval [vmin, vmax].

Parameters:
  • v (numpy.ndarray) – Array for which to check values.

  • vname (str) – Name assigned to the input array.

  • vmin (Real) – Lower bound (inclusive).

  • vmax (Real) – Upper bound (inclusive).

Return type:

None