PivotedCholeskyDecomposition Subroutine

public subroutine PivotedCholeskyDecomposition(AMat, LMat, rank_in, solver_parameters_in)

Compute The Pivoted Cholesky Decomposition of a Hermitian Semi-Definite matrix. This is one way to generate localized orbitals.

Arguments

Type IntentOptional Attributes Name
type(Matrix_ps), intent(in) :: AMat

The matrix A, must be hermitian, positive semi-definite.

type(Matrix_ps), intent(inout) :: LMat

The matrix computed.

integer, intent(in) :: rank_in

The target rank of the matrix.

type(SolverParameters_t), intent(in), optional :: solver_parameters_in

Tarameters for the solver


Contents