SG++
sgpp::base::OperationEvalModPoly Class Reference

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

#include <OperationEvalModPoly.hpp>

Inheritance diagram for sgpp::base::OperationEvalModPoly:
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...
 
 OperationEvalModPoly (GridStorage &storage, size_t degree)
 Constructor. More...
 
 ~OperationEvalModPoly () 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

sgpp::base::SPolyModifiedBase base
 Mod Poly Basis object. More...
 
GridStoragestorage
 Pointer to GridStorage object. More...
 

Detailed Description

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

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

References alpha, and eval().

Member Function Documentation

double sgpp::base::OperationEvalModPoly::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 ~OperationEvalModPoly().

Member Data Documentation

sgpp::base::SPolyModifiedBase sgpp::base::OperationEvalModPoly::base
protected

Mod Poly Basis object.

Referenced by eval().

GridStorage& sgpp::base::OperationEvalModPoly::storage
protected

Pointer to GridStorage object.

Referenced by eval().


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