SG++-Doxygen-Documentation
|
Operation that evaluates the current sparse grid function defined by the coefficient vector alpha at a given point. More...
#include <OperationEval.hpp>
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... | |
Operation that evaluates the current sparse grid function defined by the coefficient vector alpha at a given point.
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
References alpha, eval(), and chess::point.
|
pure virtual |
Evaluates the sparse grid function at a given point.
alpha | The coefficients of the sparse grid's basis functions |
point | The 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().
|
inlinevirtual |
alpha | coefficient matrix (each column is a coefficient vector) | |
point | evaluation point | |
[out] | value | values 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().