![]() |
SG++-Doxygen-Documentation
|
Not-a-knot B-spline basis. More...
#include <NakBsplineBasis.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) |
NakBsplineBasis () | |
Default constructor. | |
NakBsplineBasis (size_t degree) | |
Constructor. | |
~NakBsplineBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
BsplineBasis< LT, IT > | bsplineBasis |
B-spline basis for B-spline evaluation. | |
Not-a-knot B-spline basis.
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
degree | B-spline degree, must be odd (if it's even, degree - 1 is used) |
References sgpp::base::NakBsplineBasis< 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::NakBsplineBasis< LT, IT >::bsplineBasis, and sgpp::base::NakBsplineBasis< LT, IT >::getDegree().
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalNakBsplineNaive::eval(), sgpp::base::OperationEvalNakBsplineNaive::eval(), sgpp::base::OperationEvalGradientNakBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientNakBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientNakBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalGradientNakBsplineNaive::evalGradient(), sgpp::base::OperationEvalHessianNakBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalHessianNakBsplineBoundaryNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeNakBsplineBoundaryNaive::evalPartialDerivative(), and sgpp::base::OperationEvalPartialDerivativeNakBsplineBoundaryNaive::evalPartialDerivative().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineBasis< LT, IT >::bsplineBasis, and sgpp::base::NakBsplineBasis< LT, IT >::getDegree().
Referenced by sgpp::base::OperationEvalGradientNakBsplineNaive::evalGradient(), and sgpp::base::OperationEvalGradientNakBsplineNaive::evalGradient().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineBasis< LT, IT >::bsplineBasis.
Referenced by sgpp::base::NakBsplineBasis< LT, IT >::eval(), sgpp::base::NakBsplineBasis< LT, IT >::evalDx(), sgpp::base::NakBsplineBasis< LT, IT >::getIntegral(), sgpp::base::NakBsplineBasis< LT, IT >::getMean(), and sgpp::base::NakBsplineBasis< LT, IT >::NakBsplineBasis().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineBasis< LT, IT >::getDegree(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), and sgpp::base::NakBsplineBasis< LT, IT >::getMean().
|
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::NakBsplineBasis< LT, IT >::getDegree().
Referenced by sgpp::base::OperationWeightedQuadratureNakBspline::doWeightedQuadrature(), and sgpp::base::NakBsplineBasis< LT, IT >::getIntegral().
|
protected |
B-spline basis for B-spline evaluation.
Referenced by sgpp::base::NakBsplineBasis< LT, IT >::eval(), sgpp::base::NakBsplineBasis< LT, IT >::evalDx(), and sgpp::base::NakBsplineBasis< LT, IT >::getDegree().