![]() |
SG++-Doxygen-Documentation
|
This class implements OperationMultipleEval for a grids with poly basis ansatzfunctions. More...
#include <OperationMultipleEvalPoly.hpp>
Public Member Functions | |
| double | getDuration () override |
| void | mult (DataVector &alpha, DataVector &result) override |
| Multiplication of \(B^T\) with vector \(\alpha\). More... | |
| void | multTranspose (DataVector &source, DataVector &result) override |
| Multiplication of \(B\) with vector \(\alpha\). More... | |
| OperationMultipleEvalPoly (Grid &grid, size_t degree, DataMatrix &dataset) | |
| Constructor. More... | |
| ~OperationMultipleEvalPoly () override | |
| Destructor. More... | |
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... | |
Protected Attributes | |
| SPolyBase | base |
| Poly Basis object. More... | |
| GridStorage & | storage |
| Pointer to GridStorage object. More... | |
Protected Attributes inherited from sgpp::base::OperationMultipleEval | |
| DataMatrix & | dataset |
| Grid & | grid |
| bool | isPrepared |
This class implements OperationMultipleEval for a grids with poly basis ansatzfunctions.
|
inline |
Constructor.
| grid | grid |
| degree | the polynom's max. degree |
| dataset | Dataset |
|
inlineoverride |
Destructor.
References alpha, getDuration(), mult(), and multTranspose().
|
overridevirtual |
Implements sgpp::base::OperationMultipleEval.
Referenced by ~OperationMultipleEvalPoly().
|
overridevirtual |
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 base, sgpp::base::OperationMultipleEval::dataset, sgpp::base::AlgorithmDGEMV< BASIS >::mult(), and storage.
Referenced by ~OperationMultipleEvalPoly().
|
overridevirtual |
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 base, sgpp::base::OperationMultipleEval::dataset, sgpp::base::AlgorithmDGEMV< BASIS >::mult_transposed(), and storage.
Referenced by ~OperationMultipleEvalPoly().
|
protected |
Poly Basis object.
Referenced by mult(), and multTranspose().
|
protected |
Pointer to GridStorage object.
Referenced by mult(), and multTranspose().