SG++-Doxygen-Documentation
sgpp::base::OperationMultipleEvalPrewavelet Class Reference

This class implements OperationMultipleEval for a grids with prewavelet ansatzfunctions without boundaries. More...

#include <OperationMultipleEvalPrewavelet.hpp>

Inheritance diagram for sgpp::base::OperationMultipleEvalPrewavelet:
sgpp::base::OperationMultipleEval

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...
 
 OperationMultipleEvalPrewavelet (Grid &grid, DataMatrix &dataset)
 Constructor of OperationMultipleEvalPrewavelet. More...
 
 ~OperationMultipleEvalPrewavelet () 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

GridStoragestorage
 reference to the grid's GridStorage object More...
 
- Protected Attributes inherited from sgpp::base::OperationMultipleEval
DataMatrixdataset
 
Gridgrid
 
bool isPrepared
 

Detailed Description

This class implements OperationMultipleEval for a grids with prewavelet ansatzfunctions without boundaries.

Constructor & Destructor Documentation

◆ OperationMultipleEvalPrewavelet()

sgpp::base::OperationMultipleEvalPrewavelet::OperationMultipleEvalPrewavelet ( Grid grid,
DataMatrix dataset 
)
inline

Constructor of OperationMultipleEvalPrewavelet.

Parameters
gridgrid
datasetDataset

◆ ~OperationMultipleEvalPrewavelet()

sgpp::base::OperationMultipleEvalPrewavelet::~OperationMultipleEvalPrewavelet ( )
inlineoverride

Destructor.

References alpha, getDuration(), mult(), and multTranspose().

Member Function Documentation

◆ getDuration()

double sgpp::base::OperationMultipleEvalPrewavelet::getDuration ( )
overridevirtual

◆ mult()

void sgpp::base::OperationMultipleEvalPrewavelet::mult ( DataVector alpha,
DataVector result 
)
overridevirtual

Multiplication of \(B^T\) with vector \(\alpha\).

Parameters
alphavector, to which \(B\) is applied. Typically the coefficient vector
resultthe result vector of the matrix vector multiplication

Implements sgpp::base::OperationMultipleEval.

References sgpp::base::OperationMultipleEval::dataset, sgpp::base::AlgorithmDGEMV< BASIS >::mult(), and storage.

Referenced by ~OperationMultipleEvalPrewavelet().

◆ multTranspose()

void sgpp::base::OperationMultipleEvalPrewavelet::multTranspose ( DataVector source,
DataVector result 
)
overridevirtual

Multiplication of \(B\) with vector \(\alpha\).

Parameters
sourcevector, to which \(B^T\) is applied. Typically the coefficient vector
resultthe result vector of the matrix vector multiplication

Implements sgpp::base::OperationMultipleEval.

References sgpp::base::OperationMultipleEval::dataset, sgpp::base::AlgorithmDGEMV< BASIS >::mult_transposed(), and storage.

Referenced by ~OperationMultipleEvalPrewavelet().

Member Data Documentation

◆ storage

GridStorage& sgpp::base::OperationMultipleEvalPrewavelet::storage
protected

reference to the grid's GridStorage object

Referenced by mult(), and multTranspose().


The documentation for this class was generated from the following files: