![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
This class provides the first moment of a sparse grid function. More...
#include <OperationFirstMoment.hpp>
  
 Public Member Functions | |
| virtual double | doQuadrature (const DataVector &alpha, DataMatrix *bounds=nullptr)=0 | 
| Integrate the sparse grid function.  More... | |
| OperationFirstMoment () | |
| Constructor.  More... | |
| virtual | ~OperationFirstMoment () | 
| Destructor.  More... | |
This class provides the first 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::OperationFirstMomentBsplineClenshawCurtis, sgpp::base::OperationFirstMomentModBsplineClenshawCurtis, sgpp::base::OperationFirstMomentPolyClenshawCurtisBoundary, sgpp::base::OperationFirstMomentBspline, sgpp::base::OperationFirstMomentBsplineBoundary, sgpp::base::OperationFirstMomentLinear, sgpp::base::OperationFirstMomentModBspline, sgpp::base::OperationFirstMomentModLinear, sgpp::base::OperationFirstMomentModPoly, sgpp::base::OperationFirstMomentModPolyClenshawCurtis, sgpp::base::OperationFirstMomentPoly, sgpp::base::OperationFirstMomentPolyBoundary, sgpp::base::OperationFirstMomentPolyClenshawCurtis, and sgpp::base::OperationFirstMomentLinearBoundary.
Referenced by sgpp::datadriven::LearnerSGDE::mean(), and ~OperationFirstMoment().