Hierarchical compression¶
Available customizations¶
Compression via htool::HMatrixTreeBuilder
can be customized in the following aspects:
For admissible condition, i.e., the geometric a priori we have to define admissible bloc, see Hierarchical clustering, the current strategy is:
For low-rank compression, see Low-rank compression, the available strategies are:
Strategies are then given to htool::HMatrixTreeBuilder
via its constructor or its function members
The constructor of htool::HMatrixTreeBuilder
also takes the usual parameters for \(\mathcal{H}\)-matrix compression (tolerance for low-rank compression, symmetry, etc.), see its documentation.
Visualisation¶
Blocks from a htool::HMatrix
can be exported to a file with htool::save_leaves_with_rank()
.
Information about compression can also but accessed from a htool::HMatrix
with
or directly exported to an output stream with