Go to the source code of this file.
|
| module | gw_utils_dbcsr |
| | Common DBCSR matrix operations used by GW modules.
|
|
| subroutine, public | gw_utils_dbcsr::hadamard_product (matrix_a, matrix_b, matrix_c, factor) |
| | Computes the scaled element-wise product C = factor (A ◦ B) while preserving the block structure of A. Blocks absent from B are retained in C with zero values.
|
| subroutine, public | gw_utils_dbcsr::hadamard_product_inplace (matrix_a, matrix_b, factor) |
| | Form A = factor * (A element-wise B) without changing A's block structure.
|
| subroutine, public | gw_utils_dbcsr::dbcsr_contract_aba (trans_a_left, trans_a_right, matrix_a, matrix_b, matrix_c, eps_filter, retain_sparsity) |
| | Computes C=A B A^T or C=A^T B A for DBCSR matrices.
|