SG++-Doxygen-Documentation
sgpp::base::LinearPeriodicBasis< LT, IT > Class Template Reference

linear basis functions with boundaries And here we have another implicit dependence on tensor products More...

#include <LinearPeriodicBasis.hpp>

Inheritance diagram for sgpp::base::LinearPeriodicBasis< LT, IT >:

## Public Member Functions

double eval (LT l, IT i, double x) override
Evaluate a basis function. More...

double eval (LT level, IT index, double p, double q, double t)
Evaluate a basis function with an offset and scaling factor Has a dependence on the absolute position of grid point and support. More...

size_t getDegree () const override
Returns the polynomial degree of the basis. More...

double getIntegral (LT level, IT index) override
returns the integal of the current basis function More...

~LinearPeriodicBasis () override
Destructor. More...

Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
Destructor. More...

## Detailed Description

### template<class LT, class IT> class sgpp::base::LinearPeriodicBasis< LT, IT >

linear basis functions with boundaries And here we have another implicit dependence on tensor products

## Constructor & Destructor Documentation

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

Destructor.

## Member Function Documentation

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

Evaluate a basis function.

Has a dependence on the absolute position of grid point and support.

Parameters
 l the level of the current basis function i the index of the current basis function x the absolute position of the evaluation point

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

template<class LT, class IT>
 double sgpp::base::LinearPeriodicBasis< LT, IT >::eval ( LT level, IT index, double p, double q, double t )
inline

Evaluate a basis function with an offset and scaling factor Has a dependence on the absolute position of grid point and support.

Parameters
 level the level of the current basis function index the index of the current basis function p the absolute position of the evaluation point q the scaling factor of the basis function t the offset of the basis function
template<class LT, class IT>
 size_t sgpp::base::LinearPeriodicBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

Returns the polynomial degree of the basis.

Returns
polynomial degree of the basis

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

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

returns the integal of the current basis function

Parameters
 level level of the basis function index index of the basis function
Returns

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

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