pyriemann.utils.test.is_pos_semi_def

pyriemann.utils.test.is_pos_semi_def(X)

Check if all matrices are positive semi-definite.

Parameters
Xndarray, shape (…, n, n)

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

Returns
retboolean

True if all matrices are positive semi-definite.