skrf.mathFunctions.is_square

skrf.mathFunctions.is_square(mat)[source]

Tests whether mat is a square matrix.

Parameters

mat (npy.ndarray) – Matrix to test for being square

Returns

res

Return type

boolean

See also

is_unitary, is_symmetric