check_ndarray_is_triu#

pybrops.core.error.error_value_numpy.check_ndarray_is_triu(v, vname)[source]#

Check whether a numpy.ndarray is an upper triangle matrix.

Parameters:
  • v (numpy.ndarray) – Input array.

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

Return type:

None