SG++-Doxygen-Documentation
|
#include <AbstractOperationMultipleEvalSubspace.hpp>
Public Member Functions | |
AbstractOperationMultipleEvalSubspace (base::Grid &grid, base::DataMatrix &dataset) | |
virtual size_t | getAlignment ()=0 |
virtual 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\). More... | |
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\). More... | |
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 () | |
Public Member Functions inherited from sgpp::base::OperationMultipleEval | |
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 void | prepare () |
Used for kernel-specific setup like special data structures that are defined from the current state of the grid. More... | |
virtual | ~OperationMultipleEval () |
Destructor. More... | |
Static Public Member Functions | |
static size_t | getChunkDataPoints () |
static size_t | getChunkGridPoints () |
Protected Attributes | |
base::GridStorage * | storage |
Protected Attributes inherited from sgpp::base::OperationMultipleEval | |
DataMatrix & | dataset |
Grid & | grid |
bool | isPrepared |
|
inline |
|
inline |
References alpha, multImpl(), and multTransposeImpl().
|
pure virtual |
Implemented in sgpp::datadriven::OperationMultipleEvalSubspaceCombined, and sgpp::datadriven::OperationMultipleEvalSubspaceSimple.
Referenced by getPaddedDatasetSize(), mult(), and multTranspose().
|
inlinestatic |
|
inlinestatic |
|
inlineoverridevirtual |
Implements sgpp::base::OperationMultipleEval.
|
inlinevirtual |
Reimplemented in sgpp::datadriven::OperationMultipleEvalSubspaceCombined.
References sgpp::base::OperationMultipleEval::dataset, getAlignment(), and sgpp::base::DataMatrix::getNrows().
Referenced by mult(), and multTranspose().
|
inlineoverridevirtual |
Multiplication of \(B^T\) with vector \(\alpha\).
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(), python.leja::start, and sgpp::base::SGppStopwatch::stop().
|
pure virtual |
Implemented in sgpp::datadriven::OperationMultipleEvalSubspaceCombined, and sgpp::datadriven::OperationMultipleEvalSubspaceSimple.
Referenced by mult(), and ~AbstractOperationMultipleEvalSubspace().
|
inlineoverridevirtual |
Multiplication of \(B\) with vector \(\alpha\).
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 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(), python.leja::start, and sgpp::base::SGppStopwatch::stop().
|
pure virtual |
Implemented in sgpp::datadriven::OperationMultipleEvalSubspaceCombined, and sgpp::datadriven::OperationMultipleEvalSubspaceSimple.
Referenced by multTranspose(), and ~AbstractOperationMultipleEvalSubspace().
|
protected |