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

Fundamental not-a-knot spline basis. More...

#include <FundamentalNakSplineBasis.hpp>

Inheritance diagram for sgpp::base::FundamentalNakSplineBasis< 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) override
 
double evalDxDx (LT l, IT i, double x)
 
 FundamentalNakSplineBasis ()
 Default constructor.
 
 FundamentalNakSplineBasis (size_t degree)
 Constructor.
 
int getCoefficients (LT l, IT i, std::vector< double > &coefficients)
 
size_t getDegree () const override
 
double getIntegral (LT level, IT index) override
 returns the integal of the current basis function
 
 ~FundamentalNakSplineBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Protected Attributes

std::vector< double > coefficients
 B-spline coefficients.
 
FundamentalSplineBasis< LT, IT > fundamentalSplineBasis
 fundamental spline basis
 
NakBsplineBasis< LT, IT > nakBsplineBasis
 not-a-knot B-spline basis
 
NakBsplineBasisDeriv1< LT, IT > nakBsplineBasisDeriv1
 1st derivative of not-a-knot B-spline basis
 
NakBsplineBasisDeriv2< LT, IT > nakBsplineBasisDeriv2
 2nd derivative of not-a-knot B-spline basis
 

Detailed Description

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

Fundamental not-a-knot spline basis.

Constructor & Destructor Documentation

◆ FundamentalNakSplineBasis() [1/2]

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

Default constructor.

◆ FundamentalNakSplineBasis() [2/2]

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

Constructor.

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

◆ ~FundamentalNakSplineBasis()

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

Destructor.

Member Function Documentation

◆ eval()

template<class LT , class IT >
double sgpp::base::FundamentalNakSplineBasis< LT, IT >::eval ( LT  l,
IT  i,
double  x 
)
inlineoverridevirtual

◆ evalDx()

◆ evalDxDx()

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

◆ getCoefficients()

◆ getDegree()

template<class LT , class IT >
size_t sgpp::base::FundamentalNakSplineBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual
Returns
fundamental not-a-knot spline degree

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

References sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasis.

◆ getIntegral()

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

◆ coefficients

◆ fundamentalSplineBasis

◆ nakBsplineBasis

◆ nakBsplineBasisDeriv1

template<class LT , class IT >
NakBsplineBasisDeriv1<LT, IT> sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasisDeriv1
protected

1st derivative of not-a-knot B-spline basis

Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDx().

◆ nakBsplineBasisDeriv2

template<class LT , class IT >
NakBsplineBasisDeriv2<LT, IT> sgpp::base::FundamentalNakSplineBasis< LT, IT >::nakBsplineBasisDeriv2
protected

2nd derivative of not-a-knot B-spline basis

Referenced by sgpp::base::FundamentalNakSplineBasis< LT, IT >::evalDxDx().


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