HLIBpro  2.8.1
TRandSVDLRApx< T > Class Template Reference

Uses randomized SVD to compute low rank approximation (WARNING: O(n²) complexity) More...

#include <TLowRankApx.hh>

Inheritance diagram for TRandSVDLRApx< T >:
TLowRankApx

Public Member Functions

virtual TMatrixbuild (const TBlockCluster *bcl, const TTruncAcc &acc) const
 
virtual TMatrixbuild (const TBlockIndexSet &block_is, const TTruncAcc &acc) const
 
- Public Member Functions inherited from TLowRankApx
virtual bool has_statistics () const
 indicate if algorithm provides statistics
 

Detailed Description

template<typename T>
class HLIB::TRandSVDLRApx< T >

     TRandSVDLRApx uses randomized singular value decomposition to approximate 
     a given matrix block. For the approximation, the complete matrix block has
     to be evaluated, hence complexity is O(n²).

Member Function Documentation

◆ build() [1/2]

virtual TMatrix* build ( const TBlockCluster bcl,
const TTruncAcc acc 
) const
virtual

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

Reimplemented from TLowRankApx.

◆ build() [2/2]

virtual TMatrix* build ( const TBlockIndexSet block_is,
const TTruncAcc acc 
) const
virtual

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

Implements TLowRankApx.