![]() |
SG++-Doxygen-Documentation
|
Fundamental not-a-knot spline basis. More...
#include <FundamentalNakSplineBasis.hpp>
Public Member Functions | |
double | eval (LT l, IT i, double x) override |
double | evalDx (LT l, IT i, double x) override |
double | evalDxDx (LT l, IT i, double x) |
FundamentalNakSplineBasis () | |
Default constructor. | |
FundamentalNakSplineBasis (size_t degree) | |
Constructor. | |
int | getCoefficients (LT l, IT i, std::vector< double > &coefficients) |
size_t | getDegree () const override |
double | getIntegral (LT level, IT index) override |
returns the integal of the current basis function | |
~FundamentalNakSplineBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
std::vector< double > | coefficients |
B-spline coefficients. | |
FundamentalSplineBasis< LT, IT > | fundamentalSplineBasis |
fundamental spline basis | |
NakBsplineBasis< LT, IT > | nakBsplineBasis |
not-a-knot B-spline basis | |
NakBsplineBasisDeriv1< LT, IT > | nakBsplineBasisDeriv1 |
1st derivative of not-a-knot B-spline basis | |
NakBsplineBasisDeriv2< LT, IT > | nakBsplineBasisDeriv2 |
2nd derivative of not-a-knot B-spline basis | |
Fundamental not-a-knot spline basis.
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
degree | spline degree, must be odd (if it's even, degree - 1 is used) |
|
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::FundamentalNakSplineBasis< LT, IT >::coefficients, sgpp::base::FundamentalNakSplineBasis< LT, IT >::fundamentalSplineBasis, sgpp::base::FundamentalNakSplineBasis< LT, IT >::getCoefficients(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasis.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalFundamentalNakSplineNaive::eval(), sgpp::base::OperationEvalFundamentalNakSplineNaive::eval(), sgpp::base::OperationEvalGradientFundamentalNakSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalNakSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeFundamentalNakSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalNakSplineNaive::evalPartialDerivative(), sgpp::base::DehierarchisationFundamentalNakSplineBoundary::operator()(), sgpp::base::HierarchisationFundamentalNakSplineBoundary::operator()(), sgpp::base::DehierarchisationFundamentalNakSplineBoundary::operator()(), and sgpp::base::HierarchisationFundamentalNakSplineBoundary::operator()().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalNakSplineBasis< LT, IT >::coefficients, sgpp::base::FundamentalNakSplineBasis< LT, IT >::fundamentalSplineBasis, sgpp::base::FundamentalNakSplineBasis< LT, IT >::getCoefficients(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasisDeriv1.
Referenced by sgpp::base::OperationEvalGradientFundamentalNakSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalNakSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeFundamentalNakSplineNaive::evalPartialDerivative(), and sgpp::base::OperationEvalPartialDerivativeFundamentalNakSplineNaive::evalPartialDerivative().
|
inline |
l | level of basis function |
i | index of basis function |
x | evaluation point |
References sgpp::base::FundamentalNakSplineBasis< LT, IT >::coefficients, sgpp::base::FundamentalNakSplineBasis< LT, IT >::fundamentalSplineBasis, sgpp::base::FundamentalNakSplineBasis< LT, IT >::getCoefficients(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasisDeriv2.
Referenced by sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian(), and sgpp::base::OperationEvalHessianFundamentalNakSplineNaive::evalHessian().
|
inline |
References sgpp::base::FundamentalNakSplineBasis< LT, IT >::coefficients, and sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasis.
Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::eval(), sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDx(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDxDx().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasis.
|
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 >.
|
protected |
|
protected |
fundamental spline basis
Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::eval(), sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDx(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDxDx().
|
protected |
not-a-knot B-spline basis
Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::eval(), sgpp::base::FundamentalNakSplineBasis< LT, IT >::getCoefficients(), and sgpp::base::FundamentalNakSplineBasis< LT, IT >::getDegree().
|
protected |
1st derivative of not-a-knot B-spline basis
Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDx().
|
protected |
2nd derivative of not-a-knot B-spline basis
Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDxDx().