assert_modes_mass_normalised

Asserts the eigenvectors result in an identity modal mass matrix.

param phi:

Eigenvector matrix

type phi:

np.ndarray

param m:

Mass matrix

type m:

np.ndarray

param tolerance:

Absolute tolerance.

type tolerance:

float

param raise_error:

Raise AssertionError if modes not mass normalised.

type raise_error:

bool

returns:

if raise_error == True it raises an error.

rtype:

AssertionError