SG++-Doxygen-Documentation
|
linearstretched base functions. More...
#include <LinearStretchedBasis.hpp>
Public Member Functions | |
size_t | getDegree () const override |
Returns the polynomial degree of the basis. More... | |
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 |
double | getIntegral (LT level, IT index) override |
returns the integal of the current basis function More... | |
~LinearBasis () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::base::Basis< LT, IT > | |
virtual | ~Basis () |
Destructor. More... | |
linearstretched base functions.
And here we have another implicit dependence on tensor products
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
Returns the polynomial degree of the basis.
Reimplemented from sgpp::base::LinearBasis< LT, IT >.
|
inline |
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); }