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

Modified B-spline basis on Noboundary grids. More...

#include <BsplineModifiedBasis.hpp>

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

Public Member Functions

 BsplineModifiedBasis ()
 Default constructor. More...
 
 BsplineModifiedBasis (size_t degree)
 Constructor. More...
 
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)
 
size_t getDegree () const override
 
double getIntegral (LT l, IT i) override
 
double modifiedBSpline (double x, size_t p) const
 
double modifiedBSplineDx (double x, size_t p) const
 
double modifiedBSplineDxDx (double x, size_t p) const
 
 ~BsplineModifiedBasis () 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 for B-spline evaluation. More...
 

Detailed Description

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

Modified B-spline basis on Noboundary grids.

Constructor & Destructor Documentation

◆ BsplineModifiedBasis() [1/2]

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

Default constructor.

◆ BsplineModifiedBasis() [2/2]

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

Constructor.

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

◆ ~BsplineModifiedBasis()

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

Destructor.

Member Function Documentation

◆ eval()

◆ evalDx()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< LT, IT >::evalDx ( LT  l,
IT  i,
double  x 
)
inline

◆ evalDxDx()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< 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 B-spline basis function

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

◆ getDegree()

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

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

◆ getIntegral()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< 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::OperationQuadratureModBspline::doQuadrature().

◆ modifiedBSpline()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< LT, IT >::modifiedBSpline ( double  x,
size_t  p 
) const
inline
Parameters
xevaluation point
pB-spline degree
Returns
value of modified uniform B-spline (e.g. index == 1)

Referenced by sgpp::base::BsplineModifiedBasis< unsigned int, unsigned int >::eval().

◆ modifiedBSplineDx()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< LT, IT >::modifiedBSplineDx ( double  x,
size_t  p 
) const
inline
Parameters
xevaluation point
pB-spline degree
Returns
value of derivative of modified uniform B-spline (e.g. index == 1)

Referenced by sgpp::base::BsplineModifiedBasis< unsigned int, unsigned int >::evalDx().

◆ modifiedBSplineDxDx()

template<class LT, class IT>
double sgpp::base::BsplineModifiedBasis< LT, IT >::modifiedBSplineDxDx ( double  x,
size_t  p 
) const
inline
Parameters
xevaluation point
pB-spline degree
Returns
value of 2nd derivative of modified uniform B-spline (e.g. index == 1)

Referenced by sgpp::base::BsplineModifiedBasis< unsigned int, unsigned int >::evalDxDx().

Member Data Documentation

◆ bsplineBasis


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