:orphan: # MatH2OpusCompress Compress a hierarchical matrix. ## Synopsis ``` PetscErrorCode MatH2OpusCompress(Mat A, PetscReal tol) ``` ## Input Parameters - ***A -*** the matrix - ***tol -*** the absolute truncation threshold ## See Also [](ch_matrices), `Mat`, `MatCreate()`, `MATH2OPUS`, `MatCreateH2OpusFromMat()`, `MatCreateH2OpusFromKernel()`, `MatH2OpusOrthogonalize()` ## Level intermediate ## Location src/mat/impls/h2opus/cuda/math2opus.cu --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/h2opus/cuda/math2opus.cu) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)