![]() |
Octopus
|
Data Types | |
| interface | lalg_axpy |
| constant times a vector plus a vector More... | |
| interface | lalg_copy |
| Copies a vector x, to a vector y. More... | |
| interface | lalg_gemm |
| Matrix-matrix multiplication plus matrix. More... | |
| interface | lalg_gemm_cc |
| lalg_gemm with both the (Hermitian) transpose of A and B. More... | |
| interface | lalg_gemm_cn |
| The same as above but with (Hermitian) transpose of A. More... | |
| interface | lalg_gemm_nc |
| The same as lalg_gemm but with (Hermitian) transpose of B. More... | |
| interface | lalg_gemv |
| interface | lalg_nrm2 |
| Returns the euclidean norm of a vector. More... | |
| interface | lalg_scal |
| scales a vector by a constant More... | |
| interface | lalg_swap |
| swap two vectors More... | |
| interface | lalg_symm |
| The following matrix multiplications all expect upper triangular matrices for a. For real matrices, \(A = A^T\), for complex matrices \(A = A^H\). More... | |
| interface | lalg_symv |
| Matrix-vector multiplication plus vector. More... | |
| interface | lalg_trmm |
| Matrix-matrix multiplication. More... | |
Functions/Subroutines | |
| subroutine | dgemm_simple (a, b, c, transa, transb, alpha, beta) |
| GEMM with a simplified API for two matrices of consistent shape and type. More... | |
| subroutine | swap_1_2 (n1, dx, dy) |
| subroutine | swap_2_2 (n1, n2, dx, dy) |
| subroutine | swap_3_2 (n1, n2, n3, dx, dy) |
| subroutine | swap_4_2 (n1, n2, n3, n4, dx, dy) |
| subroutine | scal_1_2 (n1, da, dx) |
| subroutine | scal_2_2 (n1, n2, da, dx) |
| subroutine | scal_3_2 (n1, n2, n3, da, dx) |
| subroutine | scal_4_2 (n1, n2, n3, n4, da, dx) |
| subroutine | axpy_1_2 (n1, da, dx, dy) |
| subroutine | axpy_2_2 (n1, n2, da, dx, dy) |
| subroutine | axpy_3_2 (n1, n2, n3, da, dx, dy) |
| subroutine | axpy_4_2 (n1, n2, n3, n4, da, dx, dy) |
| subroutine | copy_1_2 (n1, dx, dy) |
| subroutine | copy_2_2 (n1, n2, dx, dy) |
| subroutine | copy_3_2 (n1, n2, n3, dx, dy) |
| subroutine | copy_4_2 (n1, n2, n3, n4, dx, dy) |
| real(real64) function | nrm2_2 (n, dx) |
| subroutine | symv_1_2 (n, alpha, a, x, beta, y) |
| subroutine | symv_2_2 (n1, n2, alpha, a, x, beta, y) |
| subroutine | gemv_1_2 (m, n, alpha, a, x, beta, y) |
| subroutine | gemv_2_2 (m1, m2, n, alpha, a, x, beta, y) |
| subroutine | gemm_1_2 (m, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_2_2 (m1, m2, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_cn_1_2 (m, n, k, alpha, a, b, beta, c) |
| The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_cn_2_2 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_nc_1_2 (m, n, k, alpha, a, b, beta, c) |
| The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_nc_2_2 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_cc_1_2 (m, n, k, alpha, a, b, beta, c) |
| GEMM when both a and b are (Hermitian) transposes. More... | |
| subroutine | symm_1_2 (m, n, side, alpha, a, b, beta, c) |
| The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H. More... | |
| subroutine | trmm_1_2 (m, n, uplo, transa, side, alpha, a, b) |
| subroutine | swap_1_4 (n1, dx, dy) |
| subroutine | swap_2_4 (n1, n2, dx, dy) |
| subroutine | swap_3_4 (n1, n2, n3, dx, dy) |
| subroutine | swap_4_4 (n1, n2, n3, n4, dx, dy) |
| subroutine | scal_1_4 (n1, da, dx) |
| subroutine | scal_2_4 (n1, n2, da, dx) |
| subroutine | scal_3_4 (n1, n2, n3, da, dx) |
| subroutine | scal_4_4 (n1, n2, n3, n4, da, dx) |
| subroutine | scal_5_4 (n1, da, dx) |
| subroutine | scal_6_4 (n1, n2, da, dx) |
| subroutine | axpy_1_4 (n1, da, dx, dy) |
| subroutine | axpy_2_4 (n1, n2, da, dx, dy) |
| subroutine | axpy_3_4 (n1, n2, n3, da, dx, dy) |
| subroutine | axpy_4_4 (n1, n2, n3, n4, da, dx, dy) |
| subroutine | axpy_5_4 (n1, da, dx, dy) |
| subroutine | axpy_6_4 (n1, n2, da, dx, dy) |
| subroutine | axpy_7_4 (n1, n2, n3, da, dx, dy) |
| subroutine | copy_1_4 (n1, dx, dy) |
| subroutine | copy_2_4 (n1, n2, dx, dy) |
| subroutine | copy_3_4 (n1, n2, n3, dx, dy) |
| subroutine | copy_4_4 (n1, n2, n3, n4, dx, dy) |
| real(real64) function | nrm2_4 (n, dx) |
| subroutine | symv_1_4 (n, alpha, a, x, beta, y) |
| subroutine | symv_2_4 (n1, n2, alpha, a, x, beta, y) |
| subroutine | gemv_1_4 (m, n, alpha, a, x, beta, y) |
| subroutine | gemv_2_4 (m1, m2, n, alpha, a, x, beta, y) |
| subroutine | gemm_1_4 (m, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_2_4 (m1, m2, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_cn_1_4 (m, n, k, alpha, a, b, beta, c) |
| The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_cn_2_4 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_nc_1_4 (m, n, k, alpha, a, b, beta, c) |
| The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_nc_2_4 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_cc_1_4 (m, n, k, alpha, a, b, beta, c) |
| GEMM when both a and b are (Hermitian) transposes. More... | |
| subroutine | symm_1_4 (m, n, side, alpha, a, b, beta, c) |
| The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H. More... | |
| subroutine | trmm_1_4 (m, n, uplo, transa, side, alpha, a, b) |
| subroutine | swap_1_1 (n1, dx, dy) |
| subroutine | swap_2_1 (n1, n2, dx, dy) |
| subroutine | swap_3_1 (n1, n2, n3, dx, dy) |
| subroutine | swap_4_1 (n1, n2, n3, n4, dx, dy) |
| subroutine | scal_1_1 (n1, da, dx) |
| subroutine | scal_2_1 (n1, n2, da, dx) |
| subroutine | scal_3_1 (n1, n2, n3, da, dx) |
| subroutine | scal_4_1 (n1, n2, n3, n4, da, dx) |
| subroutine | axpy_1_1 (n1, da, dx, dy) |
| subroutine | axpy_2_1 (n1, n2, da, dx, dy) |
| subroutine | axpy_3_1 (n1, n2, n3, da, dx, dy) |
| subroutine | axpy_4_1 (n1, n2, n3, n4, da, dx, dy) |
| subroutine | copy_1_1 (n1, dx, dy) |
| subroutine | copy_2_1 (n1, n2, dx, dy) |
| subroutine | copy_3_1 (n1, n2, n3, dx, dy) |
| subroutine | copy_4_1 (n1, n2, n3, n4, dx, dy) |
| real(real32) function | nrm2_1 (n, dx) |
| subroutine | symv_1_1 (n, alpha, a, x, beta, y) |
| subroutine | symv_2_1 (n1, n2, alpha, a, x, beta, y) |
| subroutine | gemv_1_1 (m, n, alpha, a, x, beta, y) |
| subroutine | gemv_2_1 (m1, m2, n, alpha, a, x, beta, y) |
| subroutine | gemm_1_1 (m, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_2_1 (m1, m2, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_cn_1_1 (m, n, k, alpha, a, b, beta, c) |
| The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_cn_2_1 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_nc_1_1 (m, n, k, alpha, a, b, beta, c) |
| The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_nc_2_1 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_cc_1_1 (m, n, k, alpha, a, b, beta, c) |
| GEMM when both a and b are (Hermitian) transposes. More... | |
| subroutine | symm_1_1 (m, n, side, alpha, a, b, beta, c) |
| The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H. More... | |
| subroutine | trmm_1_1 (m, n, uplo, transa, side, alpha, a, b) |
| subroutine | swap_1_3 (n1, dx, dy) |
| subroutine | swap_2_3 (n1, n2, dx, dy) |
| subroutine | swap_3_3 (n1, n2, n3, dx, dy) |
| subroutine | swap_4_3 (n1, n2, n3, n4, dx, dy) |
| subroutine | scal_1_3 (n1, da, dx) |
| subroutine | scal_2_3 (n1, n2, da, dx) |
| subroutine | scal_3_3 (n1, n2, n3, da, dx) |
| subroutine | scal_4_3 (n1, n2, n3, n4, da, dx) |
| subroutine | scal_5_3 (n1, da, dx) |
| subroutine | scal_6_3 (n1, n2, da, dx) |
| subroutine | axpy_1_3 (n1, da, dx, dy) |
| subroutine | axpy_2_3 (n1, n2, da, dx, dy) |
| subroutine | axpy_3_3 (n1, n2, n3, da, dx, dy) |
| subroutine | axpy_4_3 (n1, n2, n3, n4, da, dx, dy) |
| subroutine | axpy_5_3 (n1, da, dx, dy) |
| subroutine | axpy_6_3 (n1, n2, da, dx, dy) |
| subroutine | axpy_7_3 (n1, n2, n3, da, dx, dy) |
| subroutine | copy_1_3 (n1, dx, dy) |
| subroutine | copy_2_3 (n1, n2, dx, dy) |
| subroutine | copy_3_3 (n1, n2, n3, dx, dy) |
| subroutine | copy_4_3 (n1, n2, n3, n4, dx, dy) |
| real(real32) function | nrm2_3 (n, dx) |
| subroutine | symv_1_3 (n, alpha, a, x, beta, y) |
| subroutine | symv_2_3 (n1, n2, alpha, a, x, beta, y) |
| subroutine | gemv_1_3 (m, n, alpha, a, x, beta, y) |
| subroutine | gemv_2_3 (m1, m2, n, alpha, a, x, beta, y) |
| subroutine | gemm_1_3 (m, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_2_3 (m1, m2, n, k, alpha, a, b, beta, c) |
| subroutine | gemm_cn_1_3 (m, n, k, alpha, a, b, beta, c) |
| The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_cn_2_3 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_nc_1_3 (m, n, k, alpha, a, b, beta, c) |
| The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real. More... | |
| subroutine | gemm_nc_2_3 (m1, m2, n1, n2, k, alpha, a, b, beta, c) |
| subroutine | gemm_cc_1_3 (m, n, k, alpha, a, b, beta, c) |
| GEMM when both a and b are (Hermitian) transposes. More... | |
| subroutine | symm_1_3 (m, n, side, alpha, a, b, beta, c) |
| The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H. More... | |
| subroutine | trmm_1_3 (m, n, uplo, transa, side, alpha, a, b) |
|
private |
GEMM with a simplified API for two matrices of consistent shape and type.
GEMM performs one of the matrix-matrix operations:
where op( X ) is one of:
operating on all elements of both matrices. If all defaults are used, the routine performs \(C = A B\). See the official lapack documentation for more details.
| [in,out] | c | If not summing to c, it does not need to be |
| [in] | transb | Transpose a and b |
| [in] | alpha | Scale the product, op( A )*op( B ) |
| [in] | beta | Scale input value of c. |
Definition at line 332 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 436 of file lalg_basic.F90.
|
private |
Definition at line 462 of file lalg_basic.F90.
|
private |
Definition at line 483 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 527 of file lalg_basic.F90.
|
private |
Definition at line 552 of file lalg_basic.F90.
|
private |
Definition at line 571 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 624 of file lalg_basic.F90.
|
private |
Definition at line 663 of file lalg_basic.F90.
|
private |
Definition at line 695 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 756 of file lalg_basic.F90.
|
private |
Definition at line 787 of file lalg_basic.F90.
|
private |
Definition at line 812 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 871 of file lalg_basic.F90.
|
private |
Definition at line 889 of file lalg_basic.F90.
|
private |
Definition at line 911 of file lalg_basic.F90.
|
private |
Definition at line 933 of file lalg_basic.F90.
|
private |
Definition at line 966 of file lalg_basic.F90.
|
private |
| [in] | a | a(m1, m2, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m1, m2, n) |
Definition at line 987 of file lalg_basic.F90.
|
private |
The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real.
| [in] | a | a(k, m) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 1013 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 1034 of file lalg_basic.F90.
|
private |
The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real.
| [in] | a | a(m, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 1061 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 1082 of file lalg_basic.F90.
|
private |
GEMM when both a and b are (Hermitian) transposes.
\[ \mathbf{C} = \mathbf{A}^\dagger \mathbf{B}^\dagger \]
Note that one can equivalently perform:
\[ \mathbf{C} = \left[\mathbf{B} \mathbf{A} \right]^\dagger \]
It might be more efficient to replace the implementation with the second operation defined above - requires testing.
| [in] | a | a(k, m) |
| [in] | b | b(n, k) |
| [in,out] | c | c(m, n) |
Definition at line 1120 of file lalg_basic.F90.
|
private |
The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H.
Definition at line 1145 of file lalg_basic.F90.
|
private |
|
private |
|
private |
Definition at line 1269 of file lalg_basic.F90.
|
private |
Definition at line 1295 of file lalg_basic.F90.
|
private |
Definition at line 1316 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 1360 of file lalg_basic.F90.
|
private |
Definition at line 1385 of file lalg_basic.F90.
|
private |
Definition at line 1404 of file lalg_basic.F90.
|
private |
Definition at line 1425 of file lalg_basic.F90.
|
private |
Definition at line 1442 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 1502 of file lalg_basic.F90.
|
private |
Definition at line 1541 of file lalg_basic.F90.
|
private |
Definition at line 1573 of file lalg_basic.F90.
|
private |
Definition at line 1608 of file lalg_basic.F90.
|
private |
Definition at line 1633 of file lalg_basic.F90.
|
private |
Definition at line 1669 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 1725 of file lalg_basic.F90.
|
private |
Definition at line 1756 of file lalg_basic.F90.
|
private |
Definition at line 1781 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 1840 of file lalg_basic.F90.
|
private |
Definition at line 1858 of file lalg_basic.F90.
|
private |
Definition at line 1880 of file lalg_basic.F90.
|
private |
Definition at line 1902 of file lalg_basic.F90.
|
private |
Definition at line 1935 of file lalg_basic.F90.
|
private |
| [in] | a | a(m1, m2, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m1, m2, n) |
Definition at line 1956 of file lalg_basic.F90.
|
private |
The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real.
| [in] | a | a(k, m) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 1982 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 2003 of file lalg_basic.F90.
|
private |
The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real.
| [in] | a | a(m, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 2030 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 2051 of file lalg_basic.F90.
|
private |
GEMM when both a and b are (Hermitian) transposes.
\[ \mathbf{C} = \mathbf{A}^\dagger \mathbf{B}^\dagger \]
Note that one can equivalently perform:
\[ \mathbf{C} = \left[\mathbf{B} \mathbf{A} \right]^\dagger \]
It might be more efficient to replace the implementation with the second operation defined above - requires testing.
| [in] | a | a(k, m) |
| [in] | b | b(n, k) |
| [in,out] | c | c(m, n) |
Definition at line 2089 of file lalg_basic.F90.
|
private |
The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H.
Definition at line 2114 of file lalg_basic.F90.
|
private |
|
private |
|
private |
Definition at line 2238 of file lalg_basic.F90.
|
private |
Definition at line 2264 of file lalg_basic.F90.
|
private |
Definition at line 2285 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 2329 of file lalg_basic.F90.
|
private |
Definition at line 2354 of file lalg_basic.F90.
|
private |
Definition at line 2373 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 2426 of file lalg_basic.F90.
|
private |
Definition at line 2465 of file lalg_basic.F90.
|
private |
Definition at line 2497 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 2558 of file lalg_basic.F90.
|
private |
Definition at line 2589 of file lalg_basic.F90.
|
private |
Definition at line 2614 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 2673 of file lalg_basic.F90.
|
private |
Definition at line 2691 of file lalg_basic.F90.
|
private |
Definition at line 2713 of file lalg_basic.F90.
|
private |
Definition at line 2735 of file lalg_basic.F90.
|
private |
Definition at line 2768 of file lalg_basic.F90.
|
private |
| [in] | a | a(m1, m2, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m1, m2, n) |
Definition at line 2789 of file lalg_basic.F90.
|
private |
The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real.
| [in] | a | a(k, m) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 2815 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 2836 of file lalg_basic.F90.
|
private |
The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real.
| [in] | a | a(m, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 2863 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 2884 of file lalg_basic.F90.
|
private |
GEMM when both a and b are (Hermitian) transposes.
\[ \mathbf{C} = \mathbf{A}^\dagger \mathbf{B}^\dagger \]
Note that one can equivalently perform:
\[ \mathbf{C} = \left[\mathbf{B} \mathbf{A} \right]^\dagger \]
It might be more efficient to replace the implementation with the second operation defined above - requires testing.
| [in] | a | a(k, m) |
| [in] | b | b(n, k) |
| [in,out] | c | c(m, n) |
Definition at line 2922 of file lalg_basic.F90.
|
private |
The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H.
Definition at line 2947 of file lalg_basic.F90.
|
private |
|
private |
|
private |
Definition at line 3071 of file lalg_basic.F90.
|
private |
Definition at line 3097 of file lalg_basic.F90.
|
private |
Definition at line 3118 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 3162 of file lalg_basic.F90.
|
private |
Definition at line 3187 of file lalg_basic.F90.
|
private |
Definition at line 3206 of file lalg_basic.F90.
|
private |
Definition at line 3227 of file lalg_basic.F90.
|
private |
Definition at line 3244 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 3304 of file lalg_basic.F90.
|
private |
Definition at line 3343 of file lalg_basic.F90.
|
private |
Definition at line 3375 of file lalg_basic.F90.
|
private |
Definition at line 3410 of file lalg_basic.F90.
|
private |
Definition at line 3435 of file lalg_basic.F90.
|
private |
Definition at line 3471 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 3527 of file lalg_basic.F90.
|
private |
Definition at line 3558 of file lalg_basic.F90.
|
private |
Definition at line 3583 of file lalg_basic.F90.
|
private |
|
private |
Definition at line 3642 of file lalg_basic.F90.
|
private |
Definition at line 3660 of file lalg_basic.F90.
|
private |
Definition at line 3682 of file lalg_basic.F90.
|
private |
Definition at line 3704 of file lalg_basic.F90.
|
private |
Definition at line 3737 of file lalg_basic.F90.
|
private |
| [in] | a | a(m1, m2, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m1, m2, n) |
Definition at line 3758 of file lalg_basic.F90.
|
private |
The same as above but with (Hermitian) transpose of a. Note, in this also works when a and b are real.
| [in] | a | a(k, m) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 3784 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 3805 of file lalg_basic.F90.
|
private |
The same as gemm but with (Hermitian) transpose of b. Note, in this also works when a and b are real.
| [in] | a | a(m, k) |
| [in] | b | b(k, n) |
| [in,out] | c | c(m, n) |
Definition at line 3832 of file lalg_basic.F90.
|
private |
| [in] | a | a(k, m2, m1) |
| [in] | b | b(k, n2, n1) |
| [in,out] | c | c(m1*m2, n1*n2) |
Definition at line 3853 of file lalg_basic.F90.
|
private |
GEMM when both a and b are (Hermitian) transposes.
\[ \mathbf{C} = \mathbf{A}^\dagger \mathbf{B}^\dagger \]
Note that one can equivalently perform:
\[ \mathbf{C} = \left[\mathbf{B} \mathbf{A} \right]^\dagger \]
It might be more efficient to replace the implementation with the second operation defined above - requires testing.
| [in] | a | a(k, m) |
| [in] | b | b(n, k) |
| [in,out] | c | c(m, n) |
Definition at line 3891 of file lalg_basic.F90.
|
private |
The following matrix multiplications all expect upper triangular matrices for a. For real matrices, a = a^T, for complex matrices a = a^H.
Definition at line 3916 of file lalg_basic.F90.
|
private |