HLIBpro 3.1
Loading...
Searching...
No Matches
TLowRankApx< T_value > Class Template Referenceabstract

base class for all low rank approximation techniques

#include <TLowRankApx.hh>

Inheritance diagram for TLowRankApx< T_value >:
TACA< T_value > TDenseLRApx< T_value > THCA< T_value > TRRQRLRApx< T_value > TRandSVDLRApx< T_value > TSVDLRApx< T_value > TZeroLRApx< T_value > TACAFull< T_value > TACAPlus< T_value >

Public Member Functions

virtual std::unique_ptr< TMatrix< value_t > > build (const TBlockCluster *bct, const TTruncAcc &acc) const
 
virtual std::unique_ptr< TMatrix< value_t > > build (const TBlockIndexSet &bis, const TTruncAcc &acc) const =0
 
virtual bool has_statistics () const
 indicate if algorithm provides statistics
 

Member Function Documentation

◆ build() [1/2]

template<typename T_value >
virtual std::unique_ptr< TMatrix< value_t > > build ( const TBlockCluster bct,
const TTruncAcc acc 
) const
inlinevirtual

build low rank matrix for block cluster bct with rank defined by accuracy acc

Reimplemented in THCA< T_value >, TSVDLRApx< T_value >, TRandSVDLRApx< T_value >, TRRQRLRApx< T_value >, and TACA< T_value >.

◆ build() [2/2]

template<typename T_value >
virtual std::unique_ptr< TMatrix< value_t > > build ( const TBlockIndexSet bis,
const TTruncAcc acc 
) const
pure virtual

build low rank matrix for block index set bis with rank defined by accuracy acc

Implemented in THCA< T_value >, TZeroLRApx< T_value >, TDenseLRApx< T_value >, TSVDLRApx< T_value >, TRandSVDLRApx< T_value >, TRRQRLRApx< T_value >, and TACA< T_value >.