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

weakly fundamental spline basis. More...

#include <WeaklyFundamentalSplineBasis.hpp>

Inheritance diagram for sgpp::base::WeaklyFundamentalSplineBasis< 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
 
 WeaklyFundamentalSplineBasis ()
 Default constructor.
 
 WeaklyFundamentalSplineBasis (size_t degree)
 Constructor.
 
 ~WeaklyFundamentalSplineBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Protected Attributes

size_t degree
 degree of the spline
 

Detailed Description

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

weakly fundamental spline basis.

Constructor & Destructor Documentation

◆ WeaklyFundamentalSplineBasis() [1/2]

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

Default constructor.

◆ WeaklyFundamentalSplineBasis() [2/2]

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

Constructor.

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

References sgpp::base::WeaklyFundamentalSplineBasis< LT, IT >::degree.

◆ ~WeaklyFundamentalSplineBasis()

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

Destructor.

Member Function Documentation

◆ eval()

◆ evalDx()

template<class LT , class IT >
double sgpp::base::WeaklyFundamentalSplineBasis< 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()

template<class LT , class IT >
size_t sgpp::base::WeaklyFundamentalSplineBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

◆ getIntegral()

template<class LT , class IT >
double sgpp::base::WeaklyFundamentalSplineBasis< 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

◆ degree


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