aspcore.matrices.is_pos_def

aspcore.matrices.is_pos_def(mat)

Returns true if mat is positive definite, false otherwise

Parameters:

mat (ndarray of shape (a, a) or (*tpl, a, a)) – if ndim > 2, then the array is interpreted as an array of multiple matrices

Returns:

is_pos_def

Return type:

bool or ndarray of shape tpl