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

Linear basis on Clenshaw-Curtis grids. More...

#include <LinearClenshawCurtisBasis.hpp>

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

Public Member Functions

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

Protected Attributes

ClenshawCurtisTableclenshawCurtisTable
 reference to the Clenshaw-Curtis cache table
 

Detailed Description

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

Linear basis on Clenshaw-Curtis grids.

Constructor & Destructor Documentation

◆ LinearClenshawCurtisBasis()

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

◆ ~LinearClenshawCurtisBasis()

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

Destructor.

Member Function Documentation

◆ eval() [1/2]

◆ eval() [2/2]

template<class LT , class IT >
double sgpp::base::LinearClenshawCurtisBasis< LT, IT >::eval ( LT  level,
IT  index,
double  p,
double  offset,
double  width 
)
inline

◆ evalDx()

template<class LT , class IT >
double sgpp::base::LinearClenshawCurtisBasis< 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::LinearClenshawCurtisBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

Returns the polynomial degree of the basis.

Returns
polynomial degree of the basis

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

◆ getIntegral()

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

Member Data Documentation

◆ clenshawCurtisTable

template<class LT , class IT >
ClenshawCurtisTable& sgpp::base::LinearClenshawCurtisBasis< LT, IT >::clenshawCurtisTable
protected

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