HLIBpro  2.0
Public Member Functions | List of all members
TSVDLRApx< T > Class Template Reference

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

#include <TLowRankApx.hh>

Inheritance diagram for TSVDLRApx< T >:
TLowRankApx

Public Member Functions

virtual TMatrixbuild (const TBlockCluster *c, const TTruncAcc &acc) const
 

Detailed Description

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

TSVDLRApx uses singular value decomposition to approximate a given matrix block. The resulting low rank matrix is the best approximation with respect to the given accuracy and rank. However, the computational costs are cubic in the dimension of the matrix block.

Member Function Documentation

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

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

Implements TLowRankApx.