ergo
SparseMatrixWrapper Class Reference
Inheritance diagram for SparseMatrixWrapper:
Dft::Matrix

Public Member Functions

 SparseMatrixWrapper (const Dft::SparseMatrix &m)
virtual ergo_real at (int row, int col) const
virtual bool isSparse () const
virtual const Dft::SparseMatrix * asSparse () const
virtual const ergo_realasFull () const
Public Member Functions inherited from Dft::Matrix
virtual ~Matrix ()

Private Attributes

const Dft::SparseMatrix & matrix

Constructor & Destructor Documentation

◆ SparseMatrixWrapper()

SparseMatrixWrapper::SparseMatrixWrapper ( const Dft::SparseMatrix & m)
inlineexplicit

References matrix.

Member Function Documentation

◆ asFull()

virtual const ergo_real * SparseMatrixWrapper::asFull ( ) const
inlinevirtual

Implements Dft::Matrix.

◆ asSparse()

virtual const Dft::SparseMatrix * SparseMatrixWrapper::asSparse ( ) const
inlinevirtual

Implements Dft::Matrix.

References matrix.

◆ at()

virtual ergo_real SparseMatrixWrapper::at ( int row,
int col ) const
inlinevirtual

Implements Dft::Matrix.

References matrix.

◆ isSparse()

virtual bool SparseMatrixWrapper::isSparse ( ) const
inlinevirtual

Implements Dft::Matrix.

Member Data Documentation

◆ matrix

const Dft::SparseMatrix& SparseMatrixWrapper::matrix
private

Referenced by asSparse(), at(), and SparseMatrixWrapper().


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