SG++
sgpp::base::BsplineBoundaryBasis< LT, IT > Class Template Reference

B-spline basis on Boundary grids. More...

#include <BsplineBoundaryBasis.hpp>

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

Public Member Functions

 BsplineBoundaryBasis ()
 Default constructor. More...
 
 BsplineBoundaryBasis (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
 
 ~BsplineBoundaryBasis () 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::BsplineBoundaryBasis< LT, IT >

B-spline basis on Boundary grids.

Constructor & Destructor Documentation

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

Default constructor.

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

Constructor.

Parameters
degreeB-spline degree, must be odd (if it's even, degree - 1 is used)
template<class LT, class IT>
sgpp::base::BsplineBoundaryBasis< LT, IT >::~BsplineBoundaryBasis ( )
inlineoverride

Destructor.

Member Function Documentation

template<class LT, class IT>
double sgpp::base::BsplineBoundaryBasis< LT, IT >::eval ( LT  l,
IT  i,
double  x 
)
inlineoverridevirtual
template<class LT, class IT>
double sgpp::base::BsplineBoundaryBasis< LT, IT >::evalDx ( LT  l,
IT  i,
double  x 
)
inline
Parameters
llevel of basis function
iindex of basis function
xevaluation point
Returns
value of derivative of boundary B-spline basis function

Referenced by sgpp::base::OperationEvalGradientBsplineBoundaryNaive::evalGradient(), sgpp::base::OperationEvalHessianBsplineBoundaryNaive::evalHessian(), and sgpp::base::OperationEvalPartialDerivativeBsplineBoundaryNaive::evalPartialDerivative().

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

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

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

Member Data Documentation


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