aspcore.matrices.is_hermitian
- aspcore.matrices.is_hermitian(mat)
Returns true if mat is hermitian, 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_hermitian
- Return type:
bool or ndarray of shape tpl