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

Linear basis on Noboundary grids. More...

#include <LinearBasis.hpp>

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

Public Member Functions

double eval (LT l, IT i, double x) override
 
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...
 
 ~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::LinearBasis< LT, IT >

Linear basis on Noboundary grids.

Constructor & Destructor Documentation

◆ ~LinearBasis()

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

Destructor.

Member Function Documentation

◆ eval()

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

◆ getDegree()

template<class LT, class IT>
size_t sgpp::base::LinearBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

Returns the polynomial degree of the basis.

Returns
polynomial degree of the basis

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

Reimplemented in sgpp::base::LinearStretchedBasis< LT, IT >.

◆ getIntegral()

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

returns the integal of the current basis function

Parameters
levellevel of the basis function
indexindex of the basis function
Returns

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


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