![]() |
SG++-Doxygen-Documentation
|
Distributed interface for OperationMultipleEval. More...
#include <OperationMultipleEvalDistributed.hpp>
Public Member Functions | |
void | evalParallel (DataVector &alpha, DataVectorDistributed &result) |
Evaluate multiple datapoints with the specified grid in parallel. | |
void | mult (sgpp::base::DataVector &alpha, sgpp::base::DataVector &result) override |
Not implemented in distributed version. | |
virtual void | multDistributed (sgpp::base::DataVector &alpha, DataVectorDistributed &result)=0 |
Distributed version of mult. | |
void | multTranspose (sgpp::base::DataVector &source, sgpp::base::DataVector &result) override |
Not implemented in distributed version. | |
virtual void | multTransposeDistributed (sgpp::base::DataVector &source, DataVectorDistributed &result)=0 |
Distributed version of multTransposed. | |
OperationMultipleEvalDistributed (sgpp::base::Grid &grid, sgpp::base::DataMatrix &dataset) | |
Constructor. | |
~OperationMultipleEvalDistributed () override | |
Destructor. | |
![]() | |
void | eval (DataVector &alpha, DataVector &result) |
Evaluate multiple datapoints with the specified grid. | |
virtual double | getDuration ()=0 |
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. | |
Additional Inherited Members | |
![]() | |
DataMatrix & | dataset |
Grid & | grid |
bool | isPrepared |
Distributed interface for OperationMultipleEval.
|
inline |
Constructor.
grid | the sparse grid used for this operation |
dataset | dataset that should be evaluated on the sparse grid |
|
inlineoverride |
Destructor.
|
inline |
Evaluate multiple datapoints with the specified grid in parallel.
alpha | surplus vector of the grid |
result | distributed result of the evaluations |
References multDistributed().
|
inlineoverridevirtual |
Not implemented in distributed version.
Implements sgpp::base::OperationMultipleEval.
|
pure virtual |
Distributed version of mult.
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 |
Implemented in sgpp::datadriven::OperationMultipleEvalLinearDistributed, and sgpp::datadriven::OperationMultipleEvalModLinearDistributed.
Referenced by evalParallel().
|
inlineoverridevirtual |
Not implemented in distributed version.
Implements sgpp::base::OperationMultipleEval.
|
pure virtual |
Distributed version of multTransposed.
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 |
Implemented in sgpp::datadriven::OperationMultipleEvalLinearDistributed, and sgpp::datadriven::OperationMultipleEvalModLinearDistributed.