H2Lib
3.0
|
Go to the source code of this file.
Functions | |
void | trunc_rkmatrix (pctruncmode tm, real eps, prkmatrix r) |
Truncate an rkmatrix, . More... | |
void | add_amatrix_rkmatrix (field alpha, bool atrans, pcamatrix a, pctruncmode tm, real eps, prkmatrix b) |
Truncated addition of a matrix to a low-rank matrices in rkmatrix representation, . More... | |
void | add_rkmatrix_amatrix (field alpha, bool atrans, pcrkmatrix a, pamatrix b) |
Truncated addition of a full matrix to a low-rank matrix. More... | |
void | add_hmatrix_amatrix (field alpha, bool atrans, pchmatrix a, pamatrix b) |
Addition of a hierarchical matrix to a matrix, . More... | |
void | add_rkmatrix (field alpha, pcrkmatrix src, pctruncmode tm, real eps, prkmatrix trg) |
Truncated addition of two low-rank matrices in rkmatrix representation, . More... | |
void | add_amatrix_hmatrix (field alpha, bool atrans, pcamatrix a, pctruncmode tm, real eps, phmatrix b) |
Truncated addition of two low-rank matrices in rkmatrix. More... | |
void | add_lower_amatrix_hmatrix (field alpha, bool atrans, pcamatrix a, pctruncmode tm, real eps, phmatrix b) |
Locally truncated addition of a matrix in amatrix representation to the lower triangular part of a hierarchical matrix in hmatrix representation, . More... | |
void | add_rkmatrix_hmatrix (field alpha, pcrkmatrix a, pctruncmode tm, real eps, phmatrix b) |
Locally truncated addition of a low-rank matrix in rkmatrix representation to a hierarchical matrix in hmatrix representation, . More... | |
void | add_lower_rkmatrix_hmatrix (field alpha, pcrkmatrix a, pctruncmode tm, real eps, phmatrix b) |
Locally truncated addition of a low-rank matrix in rkmatrix representation to the lower triangular part of a hierarchical matrix in hmatrix representation, . More... | |
void | add_hmatrix (field alpha, pchmatrix a, pctruncmode tm, real eps, phmatrix b) |
Locally truncated addition of a hierarchical matrix to a hierarchical matrix representation, . More... | |
phmatrix | split_sub_amatrix (pcamatrix f, pccluster rc, pccluster cc, bool rsplit, bool csplit) |
Split an amatrix into submatrices. More... | |
phmatrix | split_rkmatrix (pcrkmatrix r, pccluster rc, pccluster cc, bool rsplit, bool csplit, bool copy) |
Split an rkmatrix into submatrices. More... | |
phmatrix | split_sub_rkmatrix (pcrkmatrix r, pccluster rc, pccluster cc, bool rsplit, bool csplit) |
Split an rkmatrix into submatrices referencing the original matrix. More... | |
void | merge_rkmatrix (bool colmerge, pcrkmatrix src, pctruncmode tm, real eps, prkmatrix trg) |
Split a leaf hmatrix into submatrices. More... | |
prkmatrix | merge_hmatrix_rkmatrix (pchmatrix s, pctruncmode tm, real eps) |
Merge a depth-one hmatrix containing only rkmatrix submatrices into a new rkmatrix, . More... | |
void | addmul_rkmatrix_amatrix_amatrix (field alpha, bool atrans, pcrkmatrix a, bool btrans, pcamatrix b, bool ctrans, pamatrix c) |
Multiply a matrix by an rkmatrix, . More... | |
void | addmul_hmatrix_amatrix_amatrix (field alpha, bool atrans, pchmatrix a, bool btrans, pcamatrix bp, bool ctrans, pamatrix cp) |
Multiply a matrix by a hmatrix, . More... | |
void | addmul_hmatrix (field alpha, bool xtrans, pchmatrix x, bool ytrans, pchmatrix y, pctruncmode tm, real eps, phmatrix z) |
Multiply two H-matrices, . More... | |
void | addmul_lower_hmatrix (field alpha, bool xtrans, pchmatrix x, bool ytrans, pchmatrix y, pctruncmode tm, real eps, phmatrix z) |
Multiply two H-matrices, computing only the lower triangular part of the result, . More... | |
void | invert_hmatrix (phmatrix a, phmatrix work, pctruncmode tm, real eps) |
Invert an H-matrix, . More... | |
phmatrix | clone_lower_hmatrix (bool aunit, pchmatrix a) |
Create a duplicate of the lower triangular part of an H-matrix. More... | |
phmatrix | clone_upper_hmatrix (bool aunit, pchmatrix a) |
Create a duplicate of the upper triangular part of an H-matrix. More... | |
void | triangularinvmul_hmatrix_avector (bool alower, bool aunit, bool atrans, pchmatrix a, pavector xp) |
Solve a triangular system, or . More... | |
void | triangularsolve_hmatrix_avector (bool alower, bool aunit, bool atrans, pchmatrix a, pavector x) |
Solve a triangular system or . More... | |
void | triangularinvmul_hmatrix_amatrix (bool alower, bool aunit, bool atrans, pchmatrix a, bool xtrans, pamatrix xp) |
Solve a triangular system or . More... | |
void | triangularinvmul_hmatrix (bool alower, bool aunit, bool atrans, pchmatrix a, pctruncmode tm, real eps, bool xtrans, phmatrix xp) |
Solve a triangular system, or . More... | |
void | triangularinvmul_amatrix_hmatrix (bool alower, bool aunit, bool atrans, pcamatrix a, pctruncmode tm, real eps, bool xtrans, phmatrix xp) |
Solve a triangular system, or . More... | |
void | triangularmul_hmatrix_avector (bool alower, bool aunit, bool atrans, pchmatrix a, pavector xp) |
Evaluate a triangular system or . More... | |
void | triangulareval_hmatrix_avector (bool alower, bool aunit, bool atrans, pchmatrix a, pavector x) |
Evaluate a triangular system or . More... | |
void | triangularmul_hmatrix_amatrix (bool alower, bool aunit, bool atrans, pchmatrix a, bool xtrans, pamatrix xp) |
Evaluate a triangular system or . More... | |
void | triangularmul_hmatrix (bool alower, bool aunit, bool atrans, pchmatrix a, pctruncmode tm, real eps, bool xtrans, phmatrix xp) |
Evaluate a triangular system, or . More... | |
void | lrdecomp_hmatrix (phmatrix a, pctruncmode tm, real eps) |
Compute the LR factorization, . More... | |
void | lrsolve_n_hmatrix_avector (pchmatrix a, pavector x) |
Solve the linear systems using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | lrsolve_t_hmatrix_avector (pchmatrix a, pavector x) |
Solve the linear systems using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | lrsolve_hmatrix_avector (bool atrans, pchmatrix a, pavector x) |
Solve the linear systems or using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | lreval_n_hmatrix_avector (pchmatrix a, pavector x) |
Evaluate the linear system using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | lreval_t_hmatrix_avector (pchmatrix a, pavector x) |
Evaluate the linear system using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | lreval_hmatrix_avector (bool atrans, pchmatrix a, pavector x) |
Evaluate the linear system or using the LR factorization provided by lrdecomp_hmatrix. More... | |
void | choldecomp_hmatrix (phmatrix a, pctruncmode tm, real eps) |
Compute the Cholesky factorization, . More... | |
void | cholsolve_hmatrix_avector (pchmatrix a, pavector x) |
Solve the linear system using the Cholesky factorization provided by choldecomp_hmatrix. More... | |
void | choleval_hmatrix_avector (pchmatrix a, pavector x) |
Evaluate the linear system using the Cholesky factorization provided by choldecomp_hmatrix. More... | |