NiHu  2.0
LowRank< Scalar > Class Template Reference

Class capable of storing a Low Rank Approximation of a matrix block. More...

#include <aca.hpp>

Public Member Functions

 LowRank (void)
 default constructor to be able to use with std::vector container
 
template<class UType , class VType >
 LowRank (int row0, int col0, Eigen::MatrixBase< UType > const &U, Eigen::DenseBase< VType > const &V)
 constructor setting members More...
 
const Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > & getU (void) const
 return the lhs (U) member of the LRA
 
const Eigen::Matrix< Scalar, Eigen::Dynamic, Eigen::Dynamic > & getV (void) const
 return the rhs (V) member of the LRA
 
int getRow0 (void) const
 return row offset
 
int getCol0 (void) const
 return column offset
 

Detailed Description

template<class Scalar>
class LowRank< Scalar >

Class capable of storing a Low Rank Approximation of a matrix block.

This class is used as return type of ACA::decompose to return the vector of LRA blocks

Template Parameters
Scalarthe scalar type of the approximated block

Definition at line 18 of file aca.hpp.

Constructor & Destructor Documentation

◆ LowRank()

template<class Scalar >
template<class UType , class VType >
LowRank< Scalar >::LowRank ( int  row0,
int  col0,
Eigen::MatrixBase< UType > const &  U,
Eigen::DenseBase< VType > const &  V 
)
inline

constructor setting members

Template Parameters
UTypethe type of the U matrix
VTypethe type of theVU matrix
Parameters
[in]row0the row offset of the block
[in]col0the column offset of the block
[in]Uthe lhs term of the LRA
[in]Vthe rhs term of the LRA

Definition at line 34 of file aca.hpp.


The documentation for this class was generated from the following file: