sgpp::base::LinearStretchedBasis< LT, IT > Class Template Reference

linearstretched base functions. More...

#include <LinearStretchedBasis.hpp>

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

Public Member Functions

double stretchedEval (double p, double pos0, double pos1)
 Evaluate a basis function. More...
 ~LinearStretchedBasis () override
 Destructor. More...
- Public Member Functions inherited from sgpp::base::LinearBasis< LT, IT >
double eval (LT l, IT i, double x) override
 ~LinearBasis () 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::LinearStretchedBasis< LT, IT >

linearstretched base functions.

And here we have another implicit dependence on tensor products

Constructor & Destructor Documentation

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


Member Function Documentation

template<class LT, class IT>
double sgpp::base::LinearStretchedBasis< LT, IT >::stretchedEval ( double  p,
double  pos0,
double  pos1 

Evaluate a basis function.

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

double eval(LT level, IT index, double p) { return 1.0 - fabs((1<<level) * p - index); }

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