#include <OperationMultiEvalStreaming.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...
|
|
| OperationMultiEvalStreaming (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...
|
|
| ~OperationMultiEvalStreaming () |
|
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...
|
|
◆ OperationMultiEvalStreaming()
◆ ~OperationMultiEvalStreaming()
sgpp::datadriven::OperationMultiEvalStreaming::~OperationMultiEvalStreaming |
( |
| ) |
|
◆ getChunkDataPoints()
size_t sgpp::datadriven::OperationMultiEvalStreaming::getChunkDataPoints |
( |
| ) |
|
◆ getChunkGridPoints()
size_t sgpp::datadriven::OperationMultiEvalStreaming::getChunkGridPoints |
( |
| ) |
|
◆ getDuration()
double sgpp::datadriven::OperationMultiEvalStreaming::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_, myTimer_, 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::HashGridStorage::getDimension(), sgpp::base::HashGridStorage::getLevelIndexArraysForEval(), 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_, myTimer_, 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::OperationMultiEvalStreaming::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.
Referenced by OperationMultiEvalStreaming().
◆ duration
double sgpp::datadriven::OperationMultiEvalStreaming::duration |
|
protected |
◆ index_
◆ level_
◆ myTimer_
◆ preparedDataset
◆ storage
The documentation for this class was generated from the following files: