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 >:
sgpp::base::Basis< 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

◆ ~LinearPeriodicBasis()

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

Destructor.

Member Function Documentation

◆ eval() [1/2]

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
lthe level of the current basis function
ithe index of the current basis function
xthe absolute position of the evaluation point

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

Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), and sgpp::base::GetAffectedBasisFunctions< LinearPeriodicBasis< unsigned int, unsigned int > >::rec().

◆ eval() [2/2]

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
levelthe level of the current basis function
indexthe index of the current basis function
pthe absolute position of the evaluation point
qthe scaling factor of the basis function
tthe offset of the basis function

Referenced by python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity().

◆ getDegree()

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 >.

◆ getIntegral()

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
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: