MatrixWeighting.is_valid¶
- MatrixWeighting.is_valid()[source]¶
Test if the matrix is positive definite Hermitian.
If the matrix decomposition is available, this test checks if all eigenvalues are positive. Otherwise, the test tries to calculate a Cholesky decomposition, which can be very time-consuming for large matrices. Sparse matrices are not supported.