SG++
sgpp::base::OperationFirstMoment Class Referenceabstract

This class provides the first moment of a sparse grid function. More...

#include <OperationFirstMoment.hpp>

Inheritance diagram for sgpp::base::OperationFirstMoment:
sgpp::base::OperationFirstMomentLinear

Public Member Functions

virtual double doQuadrature (const DataVector &alpha)=0
 Integrate the sparse grid function. More...
 
 OperationFirstMoment ()
 Constructor. More...
 
virtual ~OperationFirstMoment ()
 Destructor. More...
 

Detailed Description

This class provides the first moment of a sparse grid function.

Constructor & Destructor Documentation

sgpp::base::OperationFirstMoment::OperationFirstMoment ( )
inline

Constructor.

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

Destructor.

References alpha, and doQuadrature().

Member Function Documentation

virtual double sgpp::base::OperationFirstMoment::doQuadrature ( const DataVector alpha)
pure virtual

Integrate the sparse grid function.

Parameters
alphathe function's values in the nodal basis

Implemented in sgpp::base::OperationFirstMomentLinear.

Referenced by sgpp::datadriven::LearnerSGDE::mean(), sgpp::datadriven::LearnerDensityBasedReg::predict(), and ~OperationFirstMoment().


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