pyriemann.utils.test.is_sym_pos_semi_def

pyriemann.utils.test.is_sym_pos_semi_def(X)

Check if all matrices are symmetric positive semi-definite.

Parameters
Xndarray, shape (…, n, n)

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

Returns
retboolean

True if all matrices are symmetric positive semi-definite.