pyriemann.geometry.test.is_square

pyriemann.geometry.test.is_square(X)[source]

Check if matrices are square.

Parameters:
Xndarray, shape (…, n, n)

The set of square matrices.

Returns:
retbool

True if matrices are square.