SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::LinearBoundaryBasis< LT, IT > Class Template Reference

Linear basis on Boundary grids. More...

#include <LinearBoundaryBasis.hpp>

Inheritance diagram for sgpp::base::LinearBoundaryBasis< LT, IT >:
sgpp::base::Basis< LT, IT > sgpp::base::LinearStretchedBoundaryBasis< LT, IT >

Public Member Functions

double eval (LT l, IT i, double x) override
 
virtual double eval (LT l, IT i, double x, double q, double t)
 Evaluate basis function with offset and scaling factor.
 
double evalDx (LT level, IT index, double x) override
 Evaluate the basis functions derivative with given level and index.
 
size_t getDegree () const override
 Returns the polynomial degree of the basis.
 
double getIntegral (LT level, IT index) override
 returns the integal of the current basis function
 
 ~LinearBoundaryBasis () override
 Destructor.
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor.
 

Detailed Description

template<class LT, class IT>
class sgpp::base::LinearBoundaryBasis< LT, IT >

Linear basis on Boundary grids.

Constructor & Destructor Documentation

◆ ~LinearBoundaryBasis()

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

Destructor.

Member Function Documentation

◆ eval() [1/2]

◆ eval() [2/2]

template<class LT , class IT >
virtual double sgpp::base::LinearBoundaryBasis< LT, IT >::eval ( LT  l,
IT  i,
double  x,
double  q,
double  t 
)
inlinevirtual

Evaluate basis function with offset and scaling factor.

Parameters
llevel of basis function
iindex of basis function
xevaluation point
qscaling factor of basis function
toffset of basis function

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

References sgpp::base::LinearBoundaryBasis< LT, IT >::eval().

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

◆ evalDx()

template<class LT , class IT >
double sgpp::base::LinearBoundaryBasis< LT, IT >::evalDx ( LT  level,
IT  index,
double  x 
)
inlineoverridevirtual

Evaluate the basis functions derivative with given level and index.

Parameters
levellevel of the basis function
indexindex of the basis function
xevaluation point
Returns
value of the basis functions derivative.

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

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

◆ getDegree()

template<class LT , class IT >
size_t sgpp::base::LinearBoundaryBasis< 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::LinearStretchedBoundaryBasis< LT, IT >.

◆ getIntegral()

template<class LT , class IT >
double sgpp::base::LinearBoundaryBasis< 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 >.

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

References level.


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