pyriemann.utils.test.is_herm_pos_semi_def

pyriemann.utils.test.is_herm_pos_semi_def(X)

Check if all matrices are Hermitian positive semi-definite (HPSD).

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

The set of square matrices, at least 2D ndarray.

Returns:
retbool

True if all matrices are Hermitian positive semi-definite.