SG++
sgpp::base::OperationSecondMoment Class Referenceabstract

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

#include <OperationSecondMoment.hpp>

Inheritance diagram for sgpp::base::OperationSecondMoment:
sgpp::base::OperationSecondMomentLinear

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

sgpp::base::OperationSecondMoment::OperationSecondMoment ( )
inline

Constructor.

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

Destructor.

References alpha, and doQuadrature().

Member Function Documentation

virtual double sgpp::base::OperationSecondMoment::doQuadrature ( DataVector alpha)
pure virtual

Integrate the sparse grid function.

Parameters
alphathe function's values in the nodal basis

Implemented in sgpp::base::OperationSecondMomentLinear.

Referenced by sgpp::datadriven::LearnerSGDE::variance(), and ~OperationSecondMoment().


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