pyriemann.utils.test.is_hermitian¶
- pyriemann.utils.test.is_hermitian(X)¶
Check if all matrices are Hermitian.
Check if all matrices are Hermitian, ie with a symmetric real part and a skew-symmetric imaginary part.
- Parameters:
- Xndarray, shape (…, n, n)
The set of square matrices, at least 2D ndarray.
- Returns:
- retboolean
True if all matrices are Hermitian.