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

Hierarchical Not-a-knot B-spline basis. More...

#include <NakBsplineBoundaryBasis.hpp>

Inheritance diagram for sgpp::base::NakBsplineBoundaryBasis< 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
 
size_t getDegree () const override
 
double getIntegral (LT l, IT i) override
 
double getMean (LT l, IT i, std::shared_ptr< sgpp::base::Distribution > pdf, std::shared_ptr< sgpp::base::DataVector > quadCoordinates, std::shared_ptr< sgpp::base::DataVector > quadWeights)
 
 NakBsplineBoundaryBasis ()
 Default constructor.
 
 NakBsplineBoundaryBasis (size_t degree)
 Constructor.
 
 ~NakBsplineBoundaryBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Protected Attributes

NakBsplineBasis< LT, IT > nakBsplineBasis
 not a knot B-spline basis
 

Detailed Description

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

Hierarchical Not-a-knot B-spline basis.

This basis has the canonical choice of a constant basis function on level 0

Constructor & Destructor Documentation

◆ NakBsplineBoundaryBasis() [1/2]

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

Default constructor.

◆ NakBsplineBoundaryBasis() [2/2]

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

Constructor.

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

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

◆ ~NakBsplineBoundaryBasis()

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

Destructor.

Member Function Documentation

◆ eval()

◆ evalDx()

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

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

References sgpp::base::NakBsplineBoundaryBasis< LT, IT >::getDegree(), and sgpp::base::NakBsplineBoundaryBasis< LT, IT >::nakBsplineBasis.

◆ getDegree()

◆ getIntegral()

template<class LT , class IT >
double sgpp::base::NakBsplineBoundaryBasis< LT, IT >::getIntegral ( LT  l,
IT  i 
)
inlineoverridevirtual

◆ getMean()

template<class LT , class IT >
double sgpp::base::NakBsplineBoundaryBasis< LT, IT >::getMean ( LT  l,
IT  i,
std::shared_ptr< sgpp::base::Distribution pdf,
std::shared_ptr< sgpp::base::DataVector quadCoordinates,
std::shared_ptr< sgpp::base::DataVector quadWeights 
)
inline

Member Data Documentation

◆ nakBsplineBasis


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