numpy_function#
- error_within_boundaries(x: array, low: array, high: array) array [source]#
Calculate the error of values within specified boundaries.
- Parameters:
x (np.array) – The array of values.
low (np.array) – The lower boundary array.
high (np.array) – The upper boundary array.
- Returns:
The array of errors.
- Return type:
np.array
- relative_error_within_boundaries(x: array, low: array, high: array) array [source]#
Calculate the relative error of values within specified boundaries.
- Parameters:
x (np.array) – The array of values.
low (np.array) – The lower boundary array.
high (np.array) – The upper boundary array.
- Returns:
The array of relative errors.
- Return type:
np.array