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

This class implements OperationEval for a grids with poly basis ansatzfunctions with. More...

#include <OperationEvalPoly.hpp>

Inheritance diagram for sgpp::base::OperationEvalPoly:
sgpp::base::OperationEval

Public Member Functions

double eval (const DataVector &alpha, const DataVector &point) override
 Evaluates the sparse grid function at a given point. More...
 
 OperationEvalPoly (GridStorage &storage, size_t degree)
 Constructor. More...
 
 ~OperationEvalPoly () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::OperationEval
virtual void eval (const DataMatrix &alpha, const DataVector &point, DataVector &value)
 
 OperationEval ()
 Default constructor. More...
 
virtual ~OperationEval ()
 Destructor. More...
 

Protected Attributes

SPolyBase base
 Poly Basis object. More...
 
GridStoragestorage
 Pointer to GridStorage object. More...
 

Detailed Description

This class implements OperationEval for a grids with poly basis ansatzfunctions with.

Constructor & Destructor Documentation

◆ OperationEvalPoly()

sgpp::base::OperationEvalPoly::OperationEvalPoly ( GridStorage storage,
size_t  degree 
)
inline

Constructor.

Parameters
storagethe grid's GridStorage object
degreethe polynom's max. degree

◆ ~OperationEvalPoly()

sgpp::base::OperationEvalPoly::~OperationEvalPoly ( )
inlineoverride

Destructor.

References alpha, eval(), and chess::point.

Member Function Documentation

◆ eval()

double sgpp::base::OperationEvalPoly::eval ( const DataVector alpha,
const DataVector point 
)
overridevirtual

Evaluates the sparse grid function at a given point.

Parameters
alphaThe coefficients of the sparse grid's basis functions
pointThe coordinates of the evaluation point

Implements sgpp::base::OperationEval.

References base, and storage.

Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), and ~OperationEvalPoly().

Member Data Documentation

◆ base

SPolyBase sgpp::base::OperationEvalPoly::base
protected

Poly Basis object.

Referenced by eval().

◆ storage

GridStorage& sgpp::base::OperationEvalPoly::storage
protected

Pointer to GridStorage object.

Referenced by eval().


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