check_is_ScaledMatrix#

pybrops.core.mat.ScaledMatrix.check_is_ScaledMatrix(v, vname)[source]#

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

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

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

Return type:

None