SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::WeaklyFundamentalNakSplineBasis< LT, IT > Class Template Reference

weakly fundamental not-a-knot spline basis. More...

#include <WeaklyFundamentalNakSplineBasis.hpp>

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

Public Member Functions

double eval (LT l, IT i, double x) override
 
double evalDx (LT level, IT index, double x) override
 Evaluate the basis functions derivative with given level and index.
 
size_t getDegree () const override
 
double getIntegral (LT level, IT index) override
 returns the integal of the current basis function
 
 WeaklyFundamentalNakSplineBasis ()
 Default constructor.
 
 WeaklyFundamentalNakSplineBasis (size_t degree)
 Constructor.
 
 ~WeaklyFundamentalNakSplineBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Protected Attributes

WeaklyFundamentalSplineBasis< LT, IT > weaklyFundamentalSplineBasis
 B-spline basis for B-spline evaluation.
 

Detailed Description

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

weakly fundamental not-a-knot spline basis.

Constructor & Destructor Documentation

◆ WeaklyFundamentalNakSplineBasis() [1/2]

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

Default constructor.

◆ WeaklyFundamentalNakSplineBasis() [2/2]

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

Constructor.

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

References sgpp::base::WeaklyFundamentalNakSplineBasis< LT, IT >::getDegree().

◆ ~WeaklyFundamentalNakSplineBasis()

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

Destructor.

Member Function Documentation

◆ eval()

◆ evalDx()

template<class LT , class IT >
double sgpp::base::WeaklyFundamentalNakSplineBasis< LT, IT >::evalDx ( LT  level,
IT  index,
double  x 
)
inlineoverridevirtual

Evaluate the basis functions derivative with given level and index.

Parameters
levellevel of the basis function
indexindex of the basis function
xevaluation point
Returns
value of the basis functions derivative.

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

◆ getDegree()

◆ getIntegral()

template<class LT , class IT >
double sgpp::base::WeaklyFundamentalNakSplineBasis< LT, IT >::getIntegral ( LT  level,
IT  index 
)
inlineoverridevirtual

returns the integal of the current basis function

Parameters
levellevel of the basis function
indexindex of the basis function
Returns

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

Member Data Documentation

◆ weaklyFundamentalSplineBasis

template<class LT , class IT >
WeaklyFundamentalSplineBasis<LT, IT> sgpp::base::WeaklyFundamentalNakSplineBasis< LT, IT >::weaklyFundamentalSplineBasis
protected

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