![]() |
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. | |
OperationSecondMoment () | |
Constructor. | |
virtual | ~OperationSecondMoment () |
Destructor. | |
This class provides the second moment of a sparse grid function.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
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::OperationSecondMomentBspline, sgpp::base::OperationSecondMomentBsplineBoundary, sgpp::base::OperationSecondMomentBsplineClenshawCurtis, sgpp::base::OperationSecondMomentLinear, sgpp::base::OperationSecondMomentLinearBoundary, sgpp::base::OperationSecondMomentModBspline, sgpp::base::OperationSecondMomentModBsplineClenshawCurtis, sgpp::base::OperationSecondMomentModLinear, sgpp::base::OperationSecondMomentModPoly, sgpp::base::OperationSecondMomentModPolyClenshawCurtis, sgpp::base::OperationSecondMomentPoly, sgpp::base::OperationSecondMomentPolyBoundary, sgpp::base::OperationSecondMomentPolyClenshawCurtis, and sgpp::base::OperationSecondMomentPolyClenshawCurtisBoundary.
Referenced by sgpp::datadriven::LearnerSGDE::variance().