![]() |
SG++-Doxygen-Documentation
|
Modified fundamental spline basis on Noboundary grids. More...
#include <FundamentalSplineModifiedBasis.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) |
FundamentalSplineModifiedBasis () | |
Default constructor. | |
FundamentalSplineModifiedBasis (size_t degree) | |
Constructor. | |
size_t | getDegree () const override |
double | getIntegral (LT l, IT i) override |
~FundamentalSplineModifiedBasis () 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 | |
FundamentalSplineBasis< LT, IT > | fundamentalSplineBasis |
fundamental spline basis for fundamental spline evaluation | |
bool | integrationInitialized = false |
DataVector | weights |
Modified fundamental spline basis on Noboundary grids.
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
degree | fundamental spline degree, must be odd (if it's even, degree - 1 is used) |
References sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis, and sgpp::base::FundamentalSplineModifiedBasis< 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::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coefficients, and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::fundamentalSplineBasis.
Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalModFundamentalSplineNaive::eval(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getIntegral(), sgpp::base::DehierarchisationModFundamentalSpline::operator()(), sgpp::base::HierarchisationModFundamentalSpline::operator()(), sgpp::base::DehierarchisationModFundamentalSpline::operator()(), and sgpp::base::HierarchisationModFundamentalSpline::operator()().
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coefficients, and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::fundamentalSplineBasis.
Referenced by sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative(), and sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative().
|
inline |
l | level of basis function |
i | index of basis function |
x | evaluation point |
References sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coefficients, and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::fundamentalSplineBasis.
Referenced by sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), and sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis.
|
inlineoverridevirtual |
l | level of basis function |
i | index of basis function |
Implements sgpp::base::Basis< LT, IT >.
References sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::bsplineBasis, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coefficients, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coordinates, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::eval(), sgpp::base::GaussLegendreQuadRule1D::getLevelPointsAndWeightsNormalized(), h, sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::integrationInitialized, and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::weights.
Referenced by sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature().
|
protected |
B-spline basis.
Referenced by sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::eval(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDx(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDxDx(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::FundamentalSplineModifiedBasis(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getDegree(), and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getIntegral().
|
protected |
B-spline coefficients.
Referenced by sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::eval(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDx(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDxDx(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::FundamentalSplineModifiedBasis(), and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getIntegral().
|
protected |
coordinates and weights for calculating integrals
Referenced by sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getIntegral().
|
protected |
fundamental spline basis for fundamental spline evaluation
Referenced by sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::eval(), sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDx(), and sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDxDx().
|
protected |
|
protected |