SG++
sgpp::base::OperationEval Class Referenceabstract

Operation that evaluates the current sparse grid function defined by the coefficient vector alpha at a given point. More...

#include <OperationEval.hpp>

Inheritance diagram for sgpp::base::OperationEval:
sgpp::base::OperationEvalBsplineBoundaryNaive sgpp::base::OperationEvalBsplineClenshawCurtisNaive sgpp::base::OperationEvalBsplineNaive sgpp::base::OperationEvalFundamentalSplineNaive sgpp::base::OperationEvalLinear sgpp::base::OperationEvalLinearBoundary sgpp::base::OperationEvalLinearBoundaryNaive sgpp::base::OperationEvalLinearClenshawCurtisNaive sgpp::base::OperationEvalLinearNaive sgpp::base::OperationEvalLinearStretched sgpp::base::OperationEvalLinearStretchedBoundary sgpp::base::OperationEvalModBsplineClenshawCurtisNaive sgpp::base::OperationEvalModBsplineNaive sgpp::base::OperationEvalModFundamentalSplineNaive sgpp::base::OperationEvalModLinear sgpp::base::OperationEvalModLinearNaive sgpp::base::OperationEvalModPoly sgpp::base::OperationEvalModPolyNaive sgpp::base::OperationEvalModWaveletNaive sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive sgpp::base::OperationEvalPeriodic sgpp::base::OperationEvalPoly sgpp::base::OperationEvalPolyBoundary sgpp::base::OperationEvalPolyBoundaryNaive sgpp::base::OperationEvalPolyNaive sgpp::base::OperationEvalPrewavelet sgpp::base::OperationEvalWaveletBoundaryNaive sgpp::base::OperationEvalWaveletNaive

Public Member Functions

virtual double eval (const DataVector &alpha, const DataVector &point)=0
 Evaluates the sparse grid function at a given point. More...
 
virtual void eval (const DataMatrix &alpha, const DataVector &point, DataVector &value)
 
 OperationEval ()
 Default constructor. More...
 
virtual ~OperationEval ()
 Destructor. More...
 

Detailed Description

Operation that evaluates the current sparse grid function defined by the coefficient vector alpha at a given point.

Constructor & Destructor Documentation

sgpp::base::OperationEval::OperationEval ( )
inline

Default constructor.

virtual sgpp::base::OperationEval::~OperationEval ( )
inlinevirtual

Destructor.

References alpha, and eval().

Member Function Documentation

virtual double sgpp::base::OperationEval::eval ( const DataVector alpha,
const DataVector point 
)
pure virtual

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

Implemented in sgpp::base::OperationEvalBsplineNaive, sgpp::base::OperationEvalModBsplineClenshawCurtisNaive, sgpp::base::OperationEvalBsplineBoundaryNaive, sgpp::base::OperationEvalBsplineClenshawCurtisNaive, sgpp::base::OperationEvalFundamentalSplineNaive, sgpp::base::OperationEvalModBsplineNaive, sgpp::base::OperationEvalModFundamentalSplineNaive, sgpp::base::OperationEvalModWaveletNaive, sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive, sgpp::base::OperationEvalWaveletBoundaryNaive, sgpp::base::OperationEvalWaveletNaive, sgpp::base::OperationEvalPolyBoundary, sgpp::base::OperationEvalLinearBoundaryNaive, sgpp::base::OperationEvalLinearClenshawCurtisNaive, sgpp::base::OperationEvalLinearNaive, sgpp::base::OperationEvalModLinearNaive, sgpp::base::OperationEvalModPoly, sgpp::base::OperationEvalPoly, sgpp::base::OperationEvalPolyBoundaryNaive, sgpp::base::OperationEvalPolyNaive, sgpp::base::OperationEvalLinearBoundary, sgpp::base::OperationEvalLinearStretchedBoundary, sgpp::base::OperationEvalModPolyNaive, sgpp::base::OperationEvalLinearStretched, sgpp::base::OperationEvalModLinear, sgpp::base::OperationEvalPeriodic, sgpp::base::OperationEvalLinear, and sgpp::base::OperationEvalPrewavelet.

Referenced by sgpp::quadrature::OperationQuadratureMCAdvanced::doQuadratureL2Error(), python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), eval(), sgpp::datadriven::DBMatOnlineDE::eval(), sgpp::datadriven::ModelFittingLeastSquares::evaluate(), sgpp::pde::PDESolver::evaluatePoint(), sgpp::datadriven::LearnerSGDE::pdf(), sgpp::datadriven::LearnerSGDEOnOff::refine(), sgpp::datadriven::LearnerPiecewiseConstantSmoothedRegression::train(), and ~OperationEval().


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