SG++-Doxygen-Documentation
sgpp::base::OperationFirstMomentLinearBoundary Class Reference

FirstMomemnt of sparse grid function, linear grid without boundaries. More...

#include <OperationFirstMomentLinearBoundary.hpp>

Inheritance diagram for sgpp::base::OperationFirstMomentLinearBoundary:
sgpp::base::OperationFirstMoment

Public Member Functions

double doQuadrature (const DataVector &alpha, DataMatrix *bounds=nullptr) override
 Compute first moment of the function

\[ \int_{\Omega} x\cdot f(x) dx. \]

. More...

 
 OperationFirstMomentLinearBoundary (GridStorage &storage)
 Constructor of OperationFirstMomentLinearBoundary. More...
 
 ~OperationFirstMomentLinearBoundary () override
 
- Public Member Functions inherited from sgpp::base::OperationFirstMoment
 OperationFirstMoment ()
 Constructor. More...
 
virtual ~OperationFirstMoment ()
 Destructor. More...
 

Protected Attributes

GridStoragestorage
 

Detailed Description

FirstMomemnt of sparse grid function, linear grid without boundaries.

Constructor & Destructor Documentation

◆ OperationFirstMomentLinearBoundary()

sgpp::base::OperationFirstMomentLinearBoundary::OperationFirstMomentLinearBoundary ( GridStorage storage)
inlineexplicit

Constructor of OperationFirstMomentLinearBoundary.

Parameters
storagePointer to the grid's GridStorage object

◆ ~OperationFirstMomentLinearBoundary()

sgpp::base::OperationFirstMomentLinearBoundary::~OperationFirstMomentLinearBoundary ( )
inlineoverride

References alpha, and doQuadrature().

Member Function Documentation

◆ doQuadrature()

double sgpp::base::OperationFirstMomentLinearBoundary::doQuadrature ( const DataVector alpha,
DataMatrix bounds = nullptr 
)
overridevirtual

Member Data Documentation

◆ storage

GridStorage& sgpp::base::OperationFirstMomentLinearBoundary::storage
protected

Referenced by doQuadrature().


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