check_ndarray_is_square#

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

Check whether a numpy.ndarray is square along its last two axes.

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

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

Return type:

None