#include <OperationMultiEvalModMaskStreaming.hpp>
|
size_t | getChunkDataPoints () |
|
size_t | getChunkGridPoints () |
|
double | getDuration () override |
|
void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) override |
| Multiplication of \(B^T\) with vector \(\alpha\). More...
|
|
void | multTranspose (sgpp::base::DataVector &source, sgpp::base::DataVector &result) override |
| Multiplication of \(B\) with vector \(\alpha\). More...
|
|
| OperationMultiEvalModMaskStreaming (base::Grid &grid, base::DataMatrix &dataset) |
|
void | prepare () override |
| Used for kernel-specific setup like special data structures that are defined from the current state of the grid. More...
|
|
| ~OperationMultiEvalModMaskStreaming () |
|
void | eval (DataVector &alpha, DataVector &result) |
| Evaluate multiple datapoints with the specified grid. More...
|
|
virtual std::string | getImplementationName () |
| Name of this implementation of the operation. More...
|
|
virtual void | mult (DataVector &alpha, DataVector &result, size_t startIndexData, size_t endIndexData) |
| Multiplication of \(B^T\) with vector \(\alpha\). More...
|
|
virtual void | multTranspose (DataVector &source, DataVector &result, size_t startIndexGrid, size_t endIndexGrid) |
| Multiplication of \(B\) with vector \(\alpha\). More...
|
|
| OperationMultipleEval (sgpp::base::Grid &grid, DataMatrix &dataset) |
| Constructor. More...
|
|
virtual | ~OperationMultipleEval () |
| Destructor. More...
|
|
◆ OperationMultiEvalModMaskStreaming()
sgpp::datadriven::OperationMultiEvalModMaskStreaming::OperationMultiEvalModMaskStreaming |
( |
base::Grid & |
grid, |
|
|
base::DataMatrix & |
dataset |
|
) |
| |
◆ ~OperationMultiEvalModMaskStreaming()
sgpp::datadriven::OperationMultiEvalModMaskStreaming::~OperationMultiEvalModMaskStreaming |
( |
| ) |
|
◆ getChunkDataPoints()
size_t sgpp::datadriven::OperationMultiEvalModMaskStreaming::getChunkDataPoints |
( |
| ) |
|
◆ getChunkGridPoints()
size_t sgpp::datadriven::OperationMultiEvalModMaskStreaming::getChunkGridPoints |
( |
| ) |
|
◆ getDuration()
double sgpp::datadriven::OperationMultiEvalModMaskStreaming::getDuration |
( |
| ) |
|
|
overridevirtual |
◆ mult()
Multiplication of \(B^T\) with vector \(\alpha\).
- Parameters
-
alpha | vector, to which \(B\) is applied. Typically the coefficient vector |
result | the result vector of the matrix vector multiplication |
Implements sgpp::base::OperationMultipleEval.
References duration, getChunkDataPoints(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataVector::getSize(), index, level, mask, myTimer_, offset, preparedDataset, sgpp::base::DataVector::setAll(), sgpp::base::SGppStopwatch::start(), python.leja::start, and sgpp::base::SGppStopwatch::stop().
◆ multTranspose()
Multiplication of \(B\) with vector \(\alpha\).
- Parameters
-
source | vector, to which \(B^T\) is applied. Typically the coefficient vector |
result | the result vector of the matrix vector multiplication |
Implements sgpp::base::OperationMultipleEval.
References sgpp::base::OperationMultipleEval::dataset, duration, getChunkDataPoints(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getNrows(), sgpp::base::DataMatrix::getRow(), sgpp::base::HashGridStorage::getSize(), sgpp::base::DataVector::getSize(), python.statsfileInfo::i, index, level, mask, myTimer_, offset, preparedDataset, sgpp::base::DataMatrix::resize(), sgpp::base::DataVector::setAll(), sgpp::base::DataMatrix::setRow(), sgpp::base::SGppStopwatch::start(), python.leja::start, sgpp::base::SGppStopwatch::stop(), and storage.
◆ prepare()
void sgpp::datadriven::OperationMultiEvalModMaskStreaming::prepare |
( |
| ) |
|
|
overridevirtual |
Used for kernel-specific setup like special data structures that are defined from the current state of the grid.
This function is by default called with each "mult()", "multTranspose()" or evaluation operation and can be ignored from an external perspective. This is not overridden by every kernel.
Reimplemented from sgpp::base::OperationMultipleEval.
References chess::dim, sgpp::base::HashGridPoint::get(), getChunkGridPoints(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getPoint(), sgpp::base::HashGridStorage::getSize(), python.statsfileInfo::i, index, level, mask, offset, and storage.
Referenced by OperationMultiEvalModMaskStreaming().
◆ duration
double sgpp::datadriven::OperationMultiEvalModMaskStreaming::duration |
|
protected |
◆ index
std::vector<double> sgpp::datadriven::OperationMultiEvalModMaskStreaming::index |
|
protected |
◆ level
std::vector<double> sgpp::datadriven::OperationMultiEvalModMaskStreaming::level |
|
protected |
◆ mask
std::vector<double> sgpp::datadriven::OperationMultiEvalModMaskStreaming::mask |
|
protected |
◆ myTimer_
◆ offset
std::vector<double> sgpp::datadriven::OperationMultiEvalModMaskStreaming::offset |
|
protected |
◆ preparedDataset
◆ storage
The documentation for this class was generated from the following files: