![]() |
SG++-Doxygen-Documentation
|
Quadrature on sparse grid, not a knot B-spline grid created by transformation of a not a knot B-spline combigrid. More...
#include <OperationWeightedQuadratureNakBspline.hpp>
Public Member Functions | |
double | doWeightedQuadrature (DataVector &alpha, sgpp::base::DistributionsVector pdfs) override |
Quadrature for not a knot B-spline basis functions w.r.t. | |
OperationWeightedQuadratureNakBspline (GridStorage &storage, size_t degree, size_t quadOrder) | |
Constructor of OperationQuadratureNakBspline. | |
~OperationWeightedQuadratureNakBspline () override | |
![]() | |
OperationWeightedQuadrature () | |
Constructor. | |
virtual | ~OperationWeightedQuadrature () |
Destructor. | |
Protected Attributes | |
SNakBsplineBase | base |
NakBsplineCombigrid Basis object. | |
std::shared_ptr< base::DataVector > | quadCoordinates |
quadrature rule coordinates | |
size_t | quadOrder |
quadrature rule order | |
std::shared_ptr< base::DataVector > | quadWeights |
quadrature rule weights | |
GridStorage & | storage |
Quadrature on sparse grid, not a knot B-spline grid created by transformation of a not a knot B-spline combigrid.
|
inline |
Constructor of OperationQuadratureNakBspline.
storage | Pointer to the grid's GridStorage object |
degree | the B-spline degree |
quadOrder | quadrature order |
References sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), quadCoordinates, quadOrder, and quadWeights.
|
inlineoverride |
|
overridevirtual |
Quadrature for not a knot B-spline basis functions w.r.t.
a probability density function
alpha | Coefficient vector for current grid |
pdfs | probability density functions |
Implements sgpp::base::OperationWeightedQuadrature.
References alpha, base, sgpp::base::DistributionsVector::get(), sgpp::base::HashGridStorage::getDimension(), sgpp::base::NakBsplineBasis< LT, IT >::getMean(), sgpp::base::HashGridStorage::getPointIndex(), sgpp::base::HashGridStorage::getPointLevel(), sgpp::base::HashGridStorage::getSize(), quadCoordinates, quadWeights, and storage.
|
protected |
NakBsplineCombigrid Basis object.
Referenced by doWeightedQuadrature().
|
protected |
quadrature rule coordinates
Referenced by doWeightedQuadrature(), and OperationWeightedQuadratureNakBspline().
|
protected |
quadrature rule order
Referenced by OperationWeightedQuadratureNakBspline().
|
protected |
quadrature rule weights
Referenced by doWeightedQuadrature(), and OperationWeightedQuadratureNakBspline().
|
protected |
Referenced by doWeightedQuadrature().