pyriemann.geometry.test.is_herm_pos_def

pyriemann.geometry.test.is_herm_pos_def(X, tol=0.0)[source]

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

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

The set of square matrices.

tolfloat, default=0.0

Threshold below which eigen values are considered zero.

Returns:
retbool

True if all matrices are Hermitian positive-definite.