#include <AbstractOperationMultipleEvalSubspace.hpp>
|
| AbstractOperationMultipleEvalSubspace (base::Grid &grid, base::DataMatrix &dataset) |
|
virtual size_t | getAlignment ()=0 |
|
double | getDuration () override |
|
virtual size_t | getPaddedDatasetSize () |
|
void | mult (sgpp::base::DataVector &source, sgpp::base::DataVector &result) override |
| Multiplication of \(B^T\) with vector \(\alpha\).
|
|
virtual void | multImpl (base::DataVector &alpha, base::DataVector &result, const size_t start_index_data, const size_t end_index_data)=0 |
|
void | multTranspose (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) override |
| Multiplication of \(B\) with vector \(\alpha\).
|
|
virtual void | multTransposeImpl (sgpp::base::DataVector &source, sgpp::base::DataVector &result, const size_t start_index_data, const size_t end_index_data)=0 |
|
| ~AbstractOperationMultipleEvalSubspace () override |
|
void | eval (DataVector &alpha, DataVector &result) |
| Evaluate multiple datapoints with the specified grid.
|
|
virtual std::string | getImplementationName () |
| Name of this implementation of the operation.
|
|
virtual void | mult (DataVector &alpha, DataVector &result, size_t startIndexData, size_t endIndexData) |
| Multiplication of \(B^T\) with vector \(\alpha\).
|
|
virtual void | multTranspose (DataVector &source, DataVector &result, size_t startIndexGrid, size_t endIndexGrid) |
| Multiplication of \(B\) with vector \(\alpha\).
|
|
| OperationMultipleEval (sgpp::base::Grid &grid, DataMatrix &dataset) |
| Constructor.
|
|
virtual void | prepare () |
| Used for kernel-specific setup like special data structures that are defined from the current state of the grid.
|
|
virtual | ~OperationMultipleEval () |
| Destructor.
|
|
◆ AbstractOperationMultipleEvalSubspace()
sgpp::datadriven::AbstractOperationMultipleEvalSubspace::AbstractOperationMultipleEvalSubspace |
( |
base::Grid & |
grid, |
|
|
base::DataMatrix & |
dataset |
|
) |
| |
|
inline |
◆ ~AbstractOperationMultipleEvalSubspace()
sgpp::datadriven::AbstractOperationMultipleEvalSubspace::~AbstractOperationMultipleEvalSubspace |
( |
| ) |
|
|
inlineoverride |
◆ getAlignment()
virtual size_t sgpp::datadriven::AbstractOperationMultipleEvalSubspace::getAlignment |
( |
| ) |
|
|
pure virtual |
◆ getChunkDataPoints()
static size_t sgpp::datadriven::AbstractOperationMultipleEvalSubspace::getChunkDataPoints |
( |
| ) |
|
|
inlinestatic |
◆ getChunkGridPoints()
static size_t sgpp::datadriven::AbstractOperationMultipleEvalSubspace::getChunkGridPoints |
( |
| ) |
|
|
inlinestatic |
◆ getDuration()
double sgpp::datadriven::AbstractOperationMultipleEvalSubspace::getDuration |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getPaddedDatasetSize()
virtual size_t sgpp::datadriven::AbstractOperationMultipleEvalSubspace::getPaddedDatasetSize |
( |
| ) |
|
|
inlinevirtual |
◆ 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 getAlignment(), sgpp::datadriven::PartitioningTool::getOpenMPPartitionSegment(), getPaddedDatasetSize(), sgpp::base::DataVector::getSize(), sgpp::base::OperationMultipleEval::isPrepared, multImpl(), sgpp::base::OperationMultipleEval::prepare(), sgpp::base::DataVector::resizeZero(), sgpp::base::DataVector::setAll(), sgpp::base::SGppStopwatch::start(), and sgpp::base::SGppStopwatch::stop().
◆ multImpl()
virtual void sgpp::datadriven::AbstractOperationMultipleEvalSubspace::multImpl |
( |
base::DataVector & |
alpha, |
|
|
base::DataVector & |
result, |
|
|
const size_t |
start_index_data, |
|
|
const size_t |
end_index_data |
|
) |
| |
|
pure virtual |
◆ 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 alpha, getAlignment(), sgpp::datadriven::PartitioningTool::getOpenMPPartitionSegment(), getPaddedDatasetSize(), sgpp::base::DataVector::getSize(), sgpp::base::OperationMultipleEval::isPrepared, multTransposeImpl(), sgpp::base::OperationMultipleEval::prepare(), sgpp::base::DataVector::resizeZero(), sgpp::base::DataVector::setAll(), sgpp::base::SGppStopwatch::start(), and sgpp::base::SGppStopwatch::stop().
◆ multTransposeImpl()
◆ storage
The documentation for this class was generated from the following file: