pyriemann.utils.test.is_pos_semi_def¶
- pyriemann.utils.test.is_pos_semi_def(X)¶
Check if all matrices are positive semi-definite (PSD).
- Parameters:
- Xndarray, shape (…, n, n)
The set of square matrices, at least 2D ndarray.
- Returns:
- retbool
True if all matrices are positive semi-definite.