SG++-Doxygen-Documentation
|
This class provides the second moment of a sparse grid function. More...
#include <OperationSecondMoment.hpp>
Public Member Functions | |
virtual double | doQuadrature (DataVector &alpha, DataMatrix *bounds=nullptr)=0 |
Integrate the sparse grid function. More... | |
OperationSecondMoment () | |
Constructor. More... | |
virtual | ~OperationSecondMoment () |
Destructor. More... | |
This class provides the second moment of a sparse grid function.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
References alpha, and doQuadrature().
|
pure virtual |
Integrate the sparse grid function.
alpha | the function's values in the nodal basis |
bounds | describes the boundaries of the hypercube of the original function |
Implemented in sgpp::base::OperationSecondMomentLinear, sgpp::base::OperationSecondMomentBsplineClenshawCurtis, sgpp::base::OperationSecondMomentLinearBoundary, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis, sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary, sgpp::base::OperationSecondMomentBspline, sgpp::base::OperationSecondMomentBsplineBoundary, sgpp::base::OperationSecondMomentModBspline, sgpp::base::OperationSecondMomentModLinear, sgpp::base::OperationSecondMomentModPoly, sgpp::base::OperationSecondMomentModPolyClenshawCurtis, sgpp::base::OperationSecondMomentPoly, sgpp::base::OperationSecondMomentPolyBoundary, and sgpp::base::OperationSecondMomentPolyClenshawCurtis.
Referenced by sgpp::datadriven::LearnerSGDE::variance(), and ~OperationSecondMoment().