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

Polynomial basis functions with boundaries. More...

#include <PolyBoundaryBasis.hpp>

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

Public Member Functions

double eval (LT level, IT index, double p) override
 Evaluate the basis function with given level and index. More...
 
double eval (LT level, IT index, double p, double offset, double width)
 
double evalDx (LT level, IT index, double x)
 
double evalHierToTop (LT level, IT index, DataVector &coeffs, double pos)
 
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...
 
 PolyBoundaryBasis (size_t degree)
 Constructor. More...
 
 ~PolyBoundaryBasis () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor. More...
 

Protected Attributes

SPolyBase polyBasis
 poly basis More...
 

Detailed Description

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

Polynomial basis functions with boundaries.

Version
$HEAD$

Constructor & Destructor Documentation

template<class LT, class IT>
sgpp::base::PolyBoundaryBasis< LT, IT >::PolyBoundaryBasis ( size_t  degree)
inlineexplicit

Constructor.

Parameters
degreethe polynom's max. degree
template<class LT, class IT>
sgpp::base::PolyBoundaryBasis< LT, IT >::~PolyBoundaryBasis ( )
inlineoverride

Destructor.

Member Function Documentation

template<class LT, class IT>
double sgpp::base::PolyBoundaryBasis< LT, IT >::eval ( LT  level,
IT  index,
double  p,
double  offset,
double  width 
)
inline
template<class LT, class IT>
double sgpp::base::PolyBoundaryBasis< LT, IT >::evalDx ( LT  level,
IT  index,
double  x 
)
inline
template<class LT, class IT>
double sgpp::base::PolyBoundaryBasis< LT, IT >::evalHierToTop ( LT  level,
IT  index,
DataVector coeffs,
double  pos 
)
inline
template<class LT, class IT>
size_t sgpp::base::PolyBoundaryBasis< LT, IT >::getDegree ( ) const
inlineoverridevirtual

Returns the polynomial degree of the basis.

Returns
polynomial degree of the basis

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

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

Referenced by sgpp::base::OperationQuadraturePolyBoundary::doQuadrature().

Member Data Documentation

template<class LT, class IT>
SPolyBase sgpp::base::PolyBoundaryBasis< LT, IT >::polyBasis
protected

poly basis


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