![]() |
SG++-Doxygen-Documentation
|
Not-a-knot polynomial B-spline basis. More...
#include <NakPBsplineBasis.hpp>
Public Member Functions | |
double | eval (LT l, IT i, double x) override |
double | evalDx (LT l, IT i, double x) override |
size_t | getDegree () const override |
double | getIntegral (LT l, IT i) override |
double | getMean (LT l, IT i, std::shared_ptr< sgpp::base::Distribution > pdf, std::shared_ptr< sgpp::base::DataVector > quadCoordinates, std::shared_ptr< sgpp::base::DataVector > quadWeights) |
NakPBsplineBasis () | |
Default constructor. | |
NakPBsplineBasis (size_t degree) | |
Constructor. | |
~NakPBsplineBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
BsplineBasis< LT, IT > | bsplineBasis |
B-spline basis for B-spline evaluation. | |
Not-a-knot polynomial B-spline basis.
"Not-aKn-otter Basis"
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
degree | B-spline degree, must be odd (if it's even, degree - 1 is used) |
References sgpp::base::NakPBsplineBasis< LT, IT >::getDegree().
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakPBsplineBasis< LT, IT >::bsplineBasis, and sgpp::base::NakPBsplineBasis< LT, IT >::getDegree().
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalNakPBsplineNaive::eval(), sgpp::base::OperationEvalNakPBsplineNaive::eval(), sgpp::base::OperationEvalGradientNakPBsplineNaive::evalGradient(), and sgpp::base::OperationEvalGradientNakPBsplineNaive::evalGradient().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakPBsplineBasis< LT, IT >::bsplineBasis, and sgpp::base::NakPBsplineBasis< LT, IT >::getDegree().
Referenced by sgpp::base::OperationEvalGradientNakPBsplineNaive::evalGradient(), and sgpp::base::OperationEvalGradientNakPBsplineNaive::evalGradient().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakPBsplineBasis< LT, IT >::bsplineBasis.
Referenced by sgpp::base::NakPBsplineBasis< LT, IT >::eval(), sgpp::base::NakPBsplineBasis< LT, IT >::evalDx(), sgpp::base::NakPBsplineBasis< LT, IT >::getIntegral(), sgpp::base::NakPBsplineBasis< LT, IT >::getMean(), and sgpp::base::NakPBsplineBasis< LT, IT >::NakPBsplineBasis().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakPBsplineBasis< LT, IT >::getDegree(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), and sgpp::base::NakPBsplineBasis< LT, IT >::getMean().
Referenced by sgpp::base::OperationQuadratureNakPBspline::doQuadrature().
|
inline |
l | level of basis function |
i | index of basis function |
probability density function | |
quadCoordinates | coordinates of the quadrature rule to be used |
quadWeights | weights of the quadrature rule to be used |
References sgpp::base::NakPBsplineBasis< LT, IT >::getDegree().
Referenced by sgpp::base::OperationWeightedQuadratureNakPBspline::doWeightedQuadrature(), and sgpp::base::NakPBsplineBasis< LT, IT >::getIntegral().
|
protected |
B-spline basis for B-spline evaluation.
Referenced by sgpp::base::NakPBsplineBasis< LT, IT >::eval(), sgpp::base::NakPBsplineBasis< LT, IT >::evalDx(), and sgpp::base::NakPBsplineBasis< LT, IT >::getDegree().