pyriemann.utils.test.is_herm_pos_def¶
- pyriemann.utils.test.is_herm_pos_def(X, tol=0.0)¶
Check if all matrices are Hermitian positive-definite (HPD).
- Parameters
- Xndarray, shape (…, n, n)
The set of square matrices, at least 2D ndarray.
- tolfloat, default 0.0
Threshold below which eigen values are considered zero.
- Returns
- retboolean
True if all matrices are Hermitian positive-definite.