Creates matrices by computing low rank approximations of dense sub matrices, e.g. via ACA or SVD.
#include <TMatBuilder.hh>
Public Member Functions |
| TDenseMBuilder (const coeff_fn_t *coeff_fn, const TLowRankApx *lr_apx, const bool recompress=CFG::Arith::recompress, const bool cvt_to_dense=CFG::Arith::convert_to_dense, stat_t *stat=NULL) |
void | set_recompression (const bool b) |
| (de-) activate recompression of low-rank blocks
|
void | set_stat (stat_t *stat) |
| assign statistics object
|
virtual TMatrix * | build_leaf (const TBlockCluster *bc, const matform_t matformat, const TTruncAcc &acc) const |
| construct matrices for leaves in the block cluster tree
|
virtual TMatrix * | build_ghost (const TBlockCluster *bc) const |
| build placeholder matrix for remote blocks
|
| TMatBuilder (const bool coarsening=CFG::Arith::coarsen_build) |
void | set_coarsening (const bool b) |
| (de-) activate coarsening with standard accuracy
|
void | set_coarsening (const TTruncAcc &acc) |
| activate coarsening with accuracy acc
|
virtual TMatrix * | build (const uint nthreads, const TBlockClusterTree *bct, const TTruncAcc &acc, TProgressBar *progress=NULL) const |
| build the H-matrix with block-wise accuracy defined by acc
|
virtual TMatrix * | build (const uint nthreads, const TBlockCluster *bc, const TTruncAcc &acc, TProgressBar *progress=NULL) const |
virtual TMatrix * | build (const uint nthreads, const TBlockClusterTree *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=NULL) const |
| same as
|
virtual TMatrix * | build (const uint nthreads, const TBlockCluster *cluster, const matform_t matformat, const TTruncAcc &acc, TProgressBar *progress=NULL) const |
| same as
|
Constructor & Destructor Documentation
Construct matrix construction object with given coefficient function and low-rank approximation object.