HLIBpro
1.2
|
Truncation accuracy defined blockwise for block index sets.
#include <TTruncAcc.hh>
Public Member Functions | |
TBlockTruncAcc () | |
TBlockTruncAcc (const size_t k, const double absolute_eps=CFG::Arith::abs_eps) | |
TBlockTruncAcc (const double relative_eps, const double absolute_eps=CFG::Arith::abs_eps) | |
TBlockTruncAcc (const std::vector< TIndexSet > &row_idx_sets, const std::vector< TIndexSet > &col_idx_sets, const std::vector< TTruncAcc > &block_acc) | |
TBlockTruncAcc (const TBlockTruncAcc &ta) | |
virtual const TTruncAcc & | acc (const TBlockCluster *bc) const |
return accuracy description for individual subblock defined by cluster | |
virtual const TTruncAcc & | acc (const TMatrix *M) const |
return accuracy description for individual subblock defined by matrix | |
TBlockTruncAcc & | operator= (const TBlockTruncAcc &ta) |
copy operator | |
virtual String | to_string () const |
return string representation | |
Public Member Functions inherited from TTruncAcc | |
TTruncAcc () | |
TTruncAcc (const size_t k, const double absolute_eps=CFG::Arith::abs_eps) | |
TTruncAcc (const double relative_eps, const double absolute_eps=CFG::Arith::abs_eps) | |
TTruncAcc (const TTruncAcc &ta) | |
template<typename T > | |
size_t | trunc_rank (const BLAS::Vector< T > &sv) const |
const TTruncAcc & | operator() (const TBlockCluster *bc) const |
abbreviation via () operator | |
const TTruncAcc & | operator() (const TMatrix *M) const |
abbreviation via () operator | |
size_t | rank () const |
return fixed rank | |
size_t | max_rank () const |
return maximal rank | |
double | rel_eps () const |
return relative accuracy | |
double | abs_eps () const |
return absolute accuracy | |
bool | is_fixed_rank () const |
return true if accuracy is fixed rank | |
bool | is_exact () const |
return true if accuracy is "exact" | |
void | set_max_rank (const size_t k) |
set maximal rank in truncation | |
TTruncAcc & | operator= (const TTruncAcc &ta) |
copy operator |
|
inline |
construct exact accuracy object
|
inline |
construct accuracy object for fixed rank truncation
|
inline |
construct accuracy object for fixed accuracy truncation
|
inline |
construct accuracy object for block wise accuracy
|
inline |
copy constructor