MatrixLazyReader allows to read a row or a column from file, on demand.
More...
#include <aims/sparsematrix/sparseordensematrix.h>
MatrixLazyReader allows to read a row or a column from file, on demand.
It is useful to read partially very large matrices.
The default implementation does just nothing.
Definition at line 55 of file sparseordensematrix.h.
◆ MatrixLazyReader()
aims::SparseOrDenseMatrix::MatrixLazyReader::MatrixLazyReader |
( |
| ) |
|
|
inline |
◆ ~MatrixLazyReader()
virtual aims::SparseOrDenseMatrix::MatrixLazyReader::~MatrixLazyReader |
( |
| ) |
|
|
inlinevirtual |
◆ freeColumn()
virtual void aims::SparseOrDenseMatrix::MatrixLazyReader::freeColumn |
( |
int32_t |
| ) |
|
|
inlinevirtual |
◆ freeRow()
virtual void aims::SparseOrDenseMatrix::MatrixLazyReader::freeRow |
( |
int32_t |
| ) |
|
|
inlinevirtual |
◆ hasColumn()
virtual bool aims::SparseOrDenseMatrix::MatrixLazyReader::hasColumn |
( |
int32_t |
| ) |
const |
|
inlinevirtual |
◆ hasRow()
virtual bool aims::SparseOrDenseMatrix::MatrixLazyReader::hasRow |
( |
int32_t |
| ) |
const |
|
inlinevirtual |
◆ keepsInf()
bool aims::SparseOrDenseMatrix::MatrixLazyReader::keepsInf |
( |
| ) |
const |
|
inline |
◆ keepsNan()
bool aims::SparseOrDenseMatrix::MatrixLazyReader::keepsNan |
( |
| ) |
const |
|
inline |
◆ readColumn()
virtual std::vector<double>* aims::SparseOrDenseMatrix::MatrixLazyReader::readColumn |
( |
int32_t |
, |
|
|
bool |
store = true |
|
) |
| |
|
inlinevirtual |
◆ readRow()
virtual std::vector<double>* aims::SparseOrDenseMatrix::MatrixLazyReader::readRow |
( |
int32_t |
, |
|
|
bool |
store = true |
|
) |
| |
|
inlinevirtual |
◆ selectDimension()
virtual void aims::SparseOrDenseMatrix::MatrixLazyReader::selectDimension |
( |
const std::vector< int32_t > & |
| ) |
|
|
inlinevirtual |
◆ setInfFiltering()
void aims::SparseOrDenseMatrix::MatrixLazyReader::setInfFiltering |
( |
bool |
keep_inf, |
|
|
bool |
keep_nan |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: