![]() |
SG++-Doxygen-Documentation
|
Fundamental spline basis. More...
#include <FundamentalSplineBasis.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) |
FundamentalSplineBasis () | |
Default constructor. | |
FundamentalSplineBasis (size_t degree) | |
Constructor. | |
size_t | getDegree () const override |
double | getIntegral (LT l, IT i) override |
~FundamentalSplineBasis () override | |
Destructor. | |
![]() | |
virtual | ~Basis () |
Destructor. | |
Protected Attributes | |
BsplineBasis< LT, IT > | bsplineBasis |
B-spline basis. | |
std::vector< double > | coefficients |
B-spline coefficients. | |
DataVector | coordinates |
coordinates and weights for calculating integrals | |
bool | integrationInitialized = false |
DataVector | weights |
Fundamental spline basis.
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
degree | spline degree, must be odd (if it's even, degree - 1 is used) |
References sgpp::base::FundamentalSplineBasis< LT, IT >::bsplineBasis, and sgpp::base::FundamentalSplineBasis< LT, IT >::coefficients.
|
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::FundamentalSplineBasis< LT, IT >::bsplineBasis, and sgpp::base::FundamentalSplineBasis< LT, IT >::coefficients.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalFundamentalSplineNaive::eval(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral(), sgpp::base::DehierarchisationFundamentalSpline::operator()(), sgpp::base::DehierarchisationFundamentalSplineBoundary::operator()(), sgpp::base::HierarchisationFundamentalSpline::operator()(), sgpp::base::HierarchisationFundamentalSplineBoundary::operator()(), sgpp::base::DehierarchisationFundamentalSpline::operator()(), sgpp::base::DehierarchisationFundamentalSplineBoundary::operator()(), sgpp::base::HierarchisationFundamentalSpline::operator()(), and sgpp::base::HierarchisationFundamentalSplineBoundary::operator()().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineBasis< LT, IT >::bsplineBasis, and sgpp::base::FundamentalSplineBasis< LT, IT >::coefficients.
Referenced by sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative(), and sgpp::base::OperationEvalPartialDerivativeFundamentalSplineNaive::evalPartialDerivative().
|
inline |
l | level of basis function |
i | index of basis function |
x | evaluation point |
References sgpp::base::FundamentalSplineBasis< LT, IT >::bsplineBasis, and sgpp::base::FundamentalSplineBasis< LT, IT >::coefficients.
Referenced by sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian(), and sgpp::base::OperationEvalHessianFundamentalSplineNaive::evalHessian().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineBasis< LT, IT >::bsplineBasis.
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineBasis< LT, IT >::bsplineBasis, sgpp::base::FundamentalSplineBasis< LT, IT >::coefficients, sgpp::base::FundamentalSplineBasis< LT, IT >::coordinates, sgpp::base::FundamentalSplineBasis< LT, IT >::eval(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), h, sgpp::base::FundamentalSplineBasis< LT, IT >::integrationInitialized, and sgpp::base::FundamentalSplineBasis< LT, IT >::weights.
Referenced by sgpp::base::OperationQuadratureFundamentalSpline::doQuadrature().
|
protected |
B-spline basis.
Referenced by sgpp::base::FundamentalSplineBasis< LT, IT >::eval(), sgpp::base::FundamentalSplineBasis< LT, IT >::evalDx(), sgpp::base::FundamentalSplineBasis< LT, IT >::evalDxDx(), sgpp::base::FundamentalSplineBasis< LT, IT >::FundamentalSplineBasis(), sgpp::base::FundamentalSplineBasis< LT, IT >::getDegree(), and sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral().
|
protected |
B-spline coefficients.
Referenced by sgpp::base::FundamentalSplineBasis< LT, IT >::eval(), sgpp::base::FundamentalSplineBasis< LT, IT >::evalDx(), sgpp::base::FundamentalSplineBasis< LT, IT >::evalDxDx(), sgpp::base::FundamentalSplineBasis< LT, IT >::FundamentalSplineBasis(), and sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral().
|
protected |
coordinates and weights for calculating integrals
Referenced by sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral().
|
protected |
Referenced by sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral().
|
protected |
Referenced by sgpp::base::FundamentalSplineBasis< LT, IT >::getIntegral().