Go to the source code of this file.
|
| module | gw_utils_fm |
| | Full-matrix operations not provided by the CP2K FM packages.
|
|
| subroutine, public | gw_utils_fm::cfm_contract_aba (matrix_a, matrix_b, matrix_c, workspace) |
| | Computes A^H B A for complex full matrices.
|
| subroutine, public | gw_utils_fm::local_add_on_diag (matrix, alpha) |
| | Add a scalar to the diagonal of a local complex matrix.
|
| subroutine, public | gw_utils_fm::local_complex_power (matrix, exponent, eps, cond_nr, min_ev, max_ev, relative_eps) |
| | Compute a spectral power of a local complex Hermitian matrix. Eigenvalues not larger than eps (or relative_eps times the largest one) are discarded.
|
| subroutine, public | gw_utils_fm::fm_invert (matrix_a, eigenvalue_threshold, unit_nr) |
| | Inverts a symmetric matrix. First, Cholesky decomposition is tried. If it fails, the matrix is diagonalized and inverted by taking inverse eigenvalues.
|
| subroutine, public | gw_utils_fm::fm_sqrt (matrix_a, matrix_b, eigenvalue_threshold, unit_nr) |
| | For input A, computes B such that B^T B=A. First, Cholesky decomposition is tried. If it fails, B is computed by diagonalizing A.
|
| subroutine, public | gw_utils_fm::fm_contract_aba (matrix_a, matrix_b, matrix_c) |
| | Computes A^T B A.
|