SG++-Doxygen-Documentation
sgpp::base::FundamentalSplineModifiedBasis< LT, IT > Class Template Reference

Modified fundamental spline basis on Noboundary grids. More...

#include <FundamentalSplineModifiedBasis.hpp>

Inheritance diagram for sgpp::base::FundamentalSplineModifiedBasis< LT, IT >:
sgpp::base::Basis< LT, IT >

Public Member Functions

double eval (LT l, IT i, double x) override
 
double evalDx (LT l, IT i, double x)
 
double evalDxDx (LT l, IT i, double x)
 
 FundamentalSplineModifiedBasis ()
 Default constructor. More...
 
 FundamentalSplineModifiedBasis (size_t degree)
 Constructor. More...
 
size_t getDegree () const override
 
double getIntegral (LT l, IT i) override
 
 ~FundamentalSplineModifiedBasis () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor. More...
 

Protected Attributes

BsplineBasis< LT, IT > bsplineBasis
 B-spline basis. More...
 
std::vector< double > coefficients
 B-spline coefficients. More...
 
DataVector coordinates
 coordinates and weights for calculating integrals More...
 
FundamentalSplineBasis< LT, IT > fundamentalSplineBasis
 fundamental spline basis for fundamental spline evaluation More...
 
bool integrationInitialized = false
 
DataVector weights
 

Detailed Description

template<class LT, class IT>
class sgpp::base::FundamentalSplineModifiedBasis< LT, IT >

Modified fundamental spline basis on Noboundary grids.

Constructor & Destructor Documentation

◆ FundamentalSplineModifiedBasis() [1/2]

template<class LT, class IT>
sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::FundamentalSplineModifiedBasis ( )
inline

Default constructor.

◆ FundamentalSplineModifiedBasis() [2/2]

template<class LT, class IT>
sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::FundamentalSplineModifiedBasis ( size_t  degree)
inlineexplicit

Constructor.

Parameters
degreefundamental spline degree, must be odd (if it's even, degree - 1 is used)

◆ ~FundamentalSplineModifiedBasis()

template<class LT, class IT>
sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::~FundamentalSplineModifiedBasis ( )
inlineoverride

Destructor.

Member Function Documentation

◆ eval()

◆ evalDx()

template<class LT, class IT>
double sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDx ( LT  l,
IT  i,
double  x 
)
inline
Parameters
llevel of basis function
iindex of basis function
xevaluation point
Returns
value of derivative of modified fundamental spline basis function

Referenced by sgpp::base::OperationEvalGradientModFundamentalSplineNaive::evalGradient(), sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian(), and sgpp::base::OperationEvalPartialDerivativeModFundamentalSplineNaive::evalPartialDerivative().

◆ evalDxDx()

template<class LT, class IT>
double sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::evalDxDx ( LT  l,
IT  i,
double  x 
)
inline
Parameters
llevel of basis function
iindex of basis function
xevaluation point
Returns
value of 2nd derivative of modified fundamental spline basis function

Referenced by sgpp::base::OperationEvalHessianModFundamentalSplineNaive::evalHessian().

◆ getDegree()

template<class LT, class IT>
size_t sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual
Returns
B-spline degree

Implements sgpp::base::Basis< LT, IT >.

◆ getIntegral()

template<class LT, class IT>
double sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::getIntegral ( LT  l,
IT  i 
)
inlineoverridevirtual
Parameters
llevel of basis function
iindex of basis function
Returns
value of the integral

Implements sgpp::base::Basis< LT, IT >.

Referenced by sgpp::base::OperationQuadratureModFundamentalSpline::doQuadrature().

Member Data Documentation

◆ bsplineBasis

◆ coefficients

◆ coordinates

template<class LT, class IT>
DataVector sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::coordinates
protected

coordinates and weights for calculating integrals

Referenced by sgpp::base::FundamentalSplineModifiedBasis< unsigned int, unsigned int >::getIntegral().

◆ fundamentalSplineBasis

◆ integrationInitialized

template<class LT, class IT>
bool sgpp::base::FundamentalSplineModifiedBasis< LT, IT >::integrationInitialized = false
protected

◆ weights


The documentation for this class was generated from the following file: