SG++
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

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

Constructor.

Parameters
storagethe grid's GridStorage object
degreethe polynom's max. degree
sgpp::base::OperationEvalPoly::~OperationEvalPoly ( )
inlineoverride

Destructor.

References alpha, and eval().

Member Function Documentation

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

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

Poly Basis object.

Referenced by eval().

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

Pointer to GridStorage object.

Referenced by eval().


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