pyriemann.geometry.test.is_sym

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

Check if all matrices are symmetric.

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

The set of square matrices.

Returns:
retbool

True if all matrices are symmetric.