SG++-Doxygen-Documentation
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::OperationEvalLinearClenshawCurtisBoundaryNaive 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::OperationEvalModLinearClenshawCurtisNaive sgpp::base::OperationEvalModLinearNaive sgpp::base::OperationEvalModPoly sgpp::base::OperationEvalModPolyClenshawCurtisNaive sgpp::base::OperationEvalModPolyNaive sgpp::base::OperationEvalModWaveletNaive sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive sgpp::base::OperationEvalPeriodic sgpp::base::OperationEvalPoly sgpp::base::OperationEvalPolyBoundary sgpp::base::OperationEvalPolyBoundaryNaive sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive sgpp::base::OperationEvalPolyClenshawCurtisNaive 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, eval(), and chess::point.

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::OperationEvalLinearNaive, sgpp::base::OperationEvalModLinearNaive, sgpp::base::OperationEvalModPoly, sgpp::base::OperationEvalPoly, sgpp::base::OperationEvalPolyBoundaryNaive, sgpp::base::OperationEvalPolyNaive, sgpp::base::OperationEvalLinearBoundary, sgpp::base::OperationEvalLinearStretchedBoundary, sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive, sgpp::base::OperationEvalLinearClenshawCurtisBoundaryNaive, sgpp::base::OperationEvalModPolyNaive, sgpp::base::OperationEvalLinearStretched, sgpp::base::OperationEvalModLinear, sgpp::base::OperationEvalModPolyClenshawCurtisNaive, sgpp::base::OperationEvalPeriodic, sgpp::base::OperationEvalPolyClenshawCurtisNaive, sgpp::base::OperationEvalLinear, sgpp::base::OperationEvalLinearClenshawCurtisNaive, sgpp::base::OperationEvalModLinearClenshawCurtisNaive, 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(), and ~OperationEval().

virtual void sgpp::base::OperationEval::eval ( const DataMatrix alpha,
const DataVector point,
DataVector value 
)
inlinevirtual
Parameters
alphacoefficient matrix (each column is a coefficient vector)
pointevaluation point
[out]valuevalues of the linear combination

Reimplemented 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::OperationEvalLinearBoundaryNaive, sgpp::base::OperationEvalLinearNaive, sgpp::base::OperationEvalModLinearNaive, sgpp::base::OperationEvalPolyBoundaryNaive, sgpp::base::OperationEvalPolyNaive, sgpp::base::OperationEvalPolyClenshawCurtisBoundaryNaive, sgpp::base::OperationEvalLinearClenshawCurtisBoundaryNaive, sgpp::base::OperationEvalModPolyNaive, sgpp::base::OperationEvalModPolyClenshawCurtisNaive, sgpp::base::OperationEvalPolyClenshawCurtisNaive, sgpp::base::OperationEvalLinearClenshawCurtisNaive, and sgpp::base::OperationEvalModLinearClenshawCurtisNaive.

References eval(), sgpp::base::DataMatrix::getColumn(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrix::getNrows(), python.utils.statsfile2gnuplot::j, and m.

Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().


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