![]() |
SG++-Doxygen-Documentation
|
This class provides the second moment of a sparse grid function f w.r.t. More...
#include <OperationWeightedSecondMoment.hpp>
Public Member Functions | |
virtual double | doWeightedQuadrature (DataVector &alpha, sgpp::base::DistributionsVector pdfs)=0 |
Integrate the sparse grid function. | |
OperationWeightedSecondMoment () | |
Constructor. | |
virtual | ~OperationWeightedSecondMoment () |
Destructor. | |
This class provides the second moment of a sparse grid function f w.r.t.
a probability density function rho, i.e. int f(x)^2 rho (x) dx
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
Integrate the sparse grid function.
alpha | Coefficient vector for current grid |
pdfs | probability density functions |
Implemented in sgpp::base::OperationWeightedSecondMomentNak.
Referenced by sgpp::optimization::SplineResponseSurface::getVariance(), and sgpp::optimization::SplineResponseSurfaceVector::getVariances().