![]() |
SG++-Doxygen-Documentation
|
Not-a-knot B-spline basis. More...
#include <NakBsplineModifiedBasis.hpp>
Public Member Functions | |
double | basisMean (LT l, IT i, size_t start, size_t stop, double offset, double hik, std::shared_ptr< sgpp::base::DataVector > quadCoordinates, std::shared_ptr< sgpp::base::DataVector > quadWeights, std::shared_ptr< sgpp::base::Distribution > pdf) |
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 level, IT index) override |
returns the integal of the current basis function | |
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) |
Calculates the mean int b_i(x) rho(x) dx of a basis function b_i w.r.t. | |
NakBsplineModifiedBasis () | |
Default constructor. | |
NakBsplineModifiedBasis (size_t degree) | |
Constructor. | |
~NakBsplineModifiedBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
NakBsplineBasis< LT, IT > | nakBsplineBasis |
B-spline basis for B-spline evaluation. | |
NakBsplineModifiedBasisDeriv1< LT, IT > | nakBsplineModifiedBasisDeriv1 |
NakBsplineMOdifiedBAsisDeriv1 for derivative evaluations. | |
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::NakBsplineModifiedBasis< LT, IT >::getDegree().
|
inlineoverride |
Destructor.
|
inline |
References sgpp::base::NakBsplineModifiedBasis< LT, IT >::eval().
Referenced by sgpp::base::NakBsplineModifiedBasis< LT, IT >::getMean().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineModifiedBasis< LT, IT >::getDegree(), and sgpp::base::NakBsplineModifiedBasis< LT, IT >::nakBsplineBasis.
Referenced by sgpp::base::NakBsplineModifiedBasis< LT, IT >::basisMean(), python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalModNakBsplineNaive::eval(), sgpp::base::OperationEvalNakBsplineModifiedNaive::eval(), sgpp::base::OperationEvalModNakBsplineNaive::eval(), sgpp::base::OperationEvalNakBsplineModifiedNaive::eval(), sgpp::base::OperationEvalGradientModNakBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientNakBsplineModifiedNaive::evalGradient(), sgpp::base::OperationEvalGradientModNakBsplineNaive::evalGradient(), sgpp::base::OperationEvalGradientNakBsplineModifiedNaive::evalGradient(), sgpp::base::OperationEvalHessianModNakBsplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModNakBsplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModNakBsplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModNakBsplineNaive::evalPartialDerivative(), sgpp::base::OperationMultipleEvalNakBsplineModifiedNaive::mult(), and sgpp::base::OperationMultipleEvalNakBsplineModifiedNaive::multTranspose().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineModifiedBasis< LT, IT >::nakBsplineModifiedBasisDeriv1.
Referenced by sgpp::base::OperationEvalGradientNakBsplineModifiedNaive::evalGradient(), and sgpp::base::OperationEvalGradientNakBsplineModifiedNaive::evalGradient().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::NakBsplineModifiedBasis< LT, IT >::nakBsplineBasis.
Referenced by sgpp::base::NakBsplineModifiedBasis< LT, IT >::eval(), sgpp::base::NakBsplineModifiedBasis< LT, IT >::getMean(), and sgpp::base::NakBsplineModifiedBasis< LT, IT >::NakBsplineModifiedBasis().
|
inlineoverridevirtual |
returns the integal of the current basis function
level | level of the basis function |
index | index of the basis function |
Implements sgpp::base::Basis< LT, IT >.
Referenced by sgpp::base::OperationQuadratureNakBsplineModified::doQuadrature().
|
inline |
Calculates the mean int b_i(x) rho(x) dx of a basis function b_i w.r.t.
the probability density function rho
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::NakBsplineModifiedBasis< LT, IT >::basisMean(), and sgpp::base::NakBsplineModifiedBasis< LT, IT >::getDegree().
Referenced by sgpp::base::OperationWeightedQuadratureNakBsplineModified::doWeightedQuadrature().
|
protected |
B-spline basis for B-spline evaluation.
Referenced by sgpp::base::NakBsplineModifiedBasis< LT, IT >::eval(), and sgpp::base::NakBsplineModifiedBasis< LT, IT >::getDegree().
|
protected |
NakBsplineMOdifiedBAsisDeriv1 for derivative evaluations.
Referenced by sgpp::base::NakBsplineModifiedBasis< LT, IT >::evalDx().