Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Protected Attributes
concepts::LaguerreBasis< mode > Class Template Reference

Polynomial functions which gives a basis of the semi-infinite intervals after multiplication with factor

\[exp(-x/2)\]

. More...

#include <laguerre.hh>

Inheritance diagram for concepts::LaguerreBasis< mode >:
Inheritance graph
[legend]
Collaboration diagram for concepts::LaguerreBasis< mode >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LaguerreBasis (const int P, const Real *xP, const int NxP)
 Constructor.
uint n () const
 Returns the number of shape functions.
uint nP () const
 Returns the number of abscissas (in which the shape functions are evaluated)
const Realvalues () const
 Returns the values of the shape functions.
 ~LaguerreBasis ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Protected Attributes

Realvalues_
 Values of the shape functions.

Detailed Description

template<int mode>
class concepts::LaguerreBasis< mode >

Polynomial functions which gives a basis of the semi-infinite intervals after multiplication with factor

\[exp(-x/2)\]

.

The polynomials are defined by

\[\phi_n(x) = L_n(x) - L_{n-1}(x)\]

where $L_n(x)$ are the Laguerre polynomials.

It is $\phi_0(0) = 1$ and $\phi_n(0) = 0$ for all higher functions.

The class holds all functions up to a maximal index $n$.

Parameters:
modeTemplate parameter: normal, derivatives. Can take the values
  • 0 -- normal,
  • 1 -- derivatives.
Author:
Kersten Schmidt, 2009

Definition at line 65 of file laguerre.hh.


Constructor & Destructor Documentation

template<int mode>
concepts::LaguerreBasis< mode >::LaguerreBasis ( const int  P,
const Real xP,
const int  NxP 
)

Constructor.

Parameters:
PHighest order of the function, begin with 1
xPPoints in [0,inf)
NxPNumber of points
template<int mode>
concepts::LaguerreBasis< mode >::~LaguerreBasis ( )

Member Function Documentation

template<int mode>
virtual std::ostream& concepts::LaguerreBasis< mode >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Implements concepts::ShapeFunction1D< Real >.

uint concepts::ShapeFunction1D< Real >::n ( ) const [inline, inherited]

Returns the number of shape functions.

Definition at line 33 of file shapefunction.hh.

uint concepts::ShapeFunction1D< Real >::nP ( ) const [inline, inherited]

Returns the number of abscissas (in which the shape functions are evaluated)

Definition at line 36 of file shapefunction.hh.

const Real * concepts::ShapeFunction1D< Real >::values ( ) const [inline, inherited]

Returns the values of the shape functions.

Definition at line 38 of file shapefunction.hh.


Member Data Documentation

Real * concepts::ShapeFunction1D< Real >::values_ [protected, inherited]

Values of the shape functions.

Definition at line 43 of file shapefunction.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)