cholesky_factor Interface

public interface cholesky_factor

Module Procedures

private pure function cholesky_factor_dbl(a, upper) result(rst)

Computes the Cholesky factorization of a symmetric, positive definite matrix.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N matrix to factor.

logical, intent(in), optional :: upper

An optional input that, if specified, provides control over whether the factorization is computed as (set to true), or as (set to false). The default is true such that .

Return Value real(kind=real64), allocatable, dimension(:,:)

The factored matrix.

private pure function cholesky_factor_cmplx(a, upper) result(rst)

Computes the Cholesky factorization of a symmetric, positive definite matrix.

Arguments

Type IntentOptional Attributes Name
complex(kind=real64), intent(in), dimension(:,:) :: a

The N-by-N matrix to factor.

logical, intent(in), optional :: upper

An optional input that, if specified, provides control over whether the factorization is computed as (set to true), or as (set to false). The default is true such that .

Return Value complex(kind=real64), allocatable, dimension(:,:)

The factored matrix.