check_is_DenseScaledMatrix#

pybrops.core.mat.DenseScaledMatrix.check_is_DenseScaledMatrix(v, vname)[source]#

Check if an object is of type DenseScaledMatrix. Otherwise raise TypeError.

Parameters:
  • v (object) – Any Python object to test.

  • vname (str) – Name of variable to print in TypeError message.

Return type:

None