ergo
|
Generic matrix interface. More...
#include <grid_matrix.h>
Public Member Functions | |
virtual ergo_real | at (int row, int col) const =0 |
virtual bool | isSparse () const =0 |
virtual const SparseMatrix * | asSparse () const =0 |
virtual const ergo_real * | asFull () const =0 |
virtual | ~Matrix () |
Generic matrix interface.
It is not optimized for speed.
virtual Dft::Matrix::~Matrix | ( | ) | [inline, virtual] |
virtual const ergo_real* Dft::Matrix::asFull | ( | ) | const [pure virtual] |
Implemented in SparseMatrixWrapper, and FullMatrixWrapper.
Referenced by integrate_density_and_energy().
virtual const SparseMatrix* Dft::Matrix::asSparse | ( | ) | const [pure virtual] |
Implemented in SparseMatrixWrapper, and FullMatrixWrapper.
Referenced by integrate_density_and_energy().
virtual ergo_real Dft::Matrix::at | ( | int | row, |
int | col | ||
) | const [pure virtual] |
Implemented in SparseMatrixWrapper, and FullMatrixWrapper.
Referenced by compute_grid_thread_func(), get_product_distrs(), and hicu_grid_generate().
virtual bool Dft::Matrix::isSparse | ( | ) | const [pure virtual] |
Implemented in SparseMatrixWrapper, and FullMatrixWrapper.
Referenced by integrate_density_and_energy(), and hicu_grid_generate().