MATHTOOL#

“htool” - A matrix type for hierarchical matrices using the Htool package. Use ./configure --download-htool to install PETSc to use Htool.

Options Database Key#

  • -mat_type htool - matrix type to MATHTOOL

Note#

Sequential MAT_FACTOR_LU and MAT_FACTOR_CHOLESKY factorizations are available with MATSOLVERHTOOL. A MAT_FACTOR_CHOLESKY factorization uses the upper triangular part of the matrix. It is a true Cholesky factorization, unless the matrix is flagged as not symmetric positive definite with MatSetOption() and MAT_SPD set to PETSC_FALSE, or is complex symmetric and not flagged with MAT_HERMITIAN. In these cases, an \(LDL^T\) factorization with Bunch-Kaufman pivoting within dense diagonal blocks is computed, with \(L^T\) replaced by \(L^H\) for a matrix flagged with MAT_HERMITIAN.

See Also#

Matrices, Mat, MATH2OPUS, MATDENSE, MatCreateHtoolFromKernel(), MatHtoolSetKernel()

Level#

beginner

Location#

src/mat/impls/htool/impl/ihtool.cxx

Examples#

src/mat/tests/ex241.c
src/mat/tests/ex246.cxx
src/mat/tests/ex268.c
src/ksp/ksp/tutorials/ex82.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages