(git:b77b4be)
Loading...
Searching...
No Matches
cp_cfm_cholesky Module Reference

various cholesky decomposition related routines More...

Functions/Subroutines

subroutine, public cp_cfm_cholesky_decompose (matrix, n, info_out)
 Used to replace a symmetric positive definite matrix M with its Cholesky decomposition U: M = U^T * U, with U upper triangular.
 
subroutine, public cp_cfm_cholesky_invert (matrix, n, info_out)
 Used to replace Cholesky decomposition by the inverse.
 

Detailed Description

various cholesky decomposition related routines

History
12.2002 Moved routines from cp_cfm_basic_linalg to this new module [Rocco Meli]

Function/Subroutine Documentation

◆ cp_cfm_cholesky_decompose()

subroutine, public cp_cfm_cholesky::cp_cfm_cholesky_decompose ( type(cp_cfm_type), intent(in)  matrix,
integer, intent(in), optional  n,
integer, intent(out), optional  info_out 
)

Used to replace a symmetric positive definite matrix M with its Cholesky decomposition U: M = U^T * U, with U upper triangular.

Parameters
matrixthe matrix to replace with its Cholesky decomposition
nthe number of row (and columns) of the matrix & (defaults to the min(size(matrix)))
info_outif present, outputs info from (p)zpotrf
History
05.2002 created [JVdV] 12.2002 updated, added n optional parm [fawzi] 09.2021 removed CPASSERT(info == 0) since there is already check of info [Jan Wilhelm] 12.2024 Added DLA-Future support [Rocco Meli]
Author
Joost

Definition at line 50 of file cp_cfm_cholesky.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cp_cfm_cholesky_invert()

subroutine, public cp_cfm_cholesky::cp_cfm_cholesky_invert ( type(cp_cfm_type), intent(in)  matrix,
integer, intent(in), optional  n,
integer, intent(out), optional  info_out 
)

Used to replace Cholesky decomposition by the inverse.

Parameters
matrix: the matrix to invert (must be an upper triangular matrix), and is the output of Cholesky decomposition
n: size of the matrix to invert (defaults to the min(size(matrix)))
info_out: if present, outputs info of (p)zpotri
History
05.2002 created Lianheng Tong, based on cp_fm_cholesky_invert
Author
Lianheng Tong

Definition at line 111 of file cp_cfm_cholesky.F.

Here is the caller graph for this function: