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

◆ OperationEvalModPoly()

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

Constructor.

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

◆ ~OperationEvalModPoly()

sgpp::base::OperationEvalModPoly::~OperationEvalModPoly ( )
inlineoverride

Destructor.

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

Member Function Documentation

◆ eval()

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

◆ base

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

Mod Poly Basis object.

Referenced by eval().

◆ storage

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

Pointer to GridStorage object.

Referenced by eval().


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