Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::LaguerreBasis< mode > Class Template Reference

#include <laguerre.hh>

Inheritance diagram for concepts::LaguerreBasis< mode >:
concepts::ShapeFunction1D< Real > concepts::OutputOperator

Public Member Functions

 LaguerreBasis (const int P, const Real *xP, const int NxP)
 
uint n () const
 Returns the number of shape functions.
 
uint nP () const
 
const Realvalues () const
 Returns the values of the shape functions.
 

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 67 of file laguerre.hh.

Constructor & Destructor Documentation

◆ LaguerreBasis()

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

Member Function Documentation

◆ info()

template<int mode>
virtual std::ostream & concepts::LaguerreBasis< mode >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Implements concepts::ShapeFunction1D< Real >.

◆ n()

uint concepts::ShapeFunction1D< Real >::n ( ) const
inlineinherited

Returns the number of shape functions.

Definition at line 35 of file shapefunction.hh.

◆ nP()

uint concepts::ShapeFunction1D< Real >::nP ( ) const
inlineinherited

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

Definition at line 38 of file shapefunction.hh.

◆ values()

const Real * concepts::ShapeFunction1D< Real >::values ( ) const
inlineinherited

Returns the values of the shape functions.

Definition at line 40 of file shapefunction.hh.

Member Data Documentation

◆ values_

Real * concepts::ShapeFunction1D< Real >::values_
protectedinherited

Values of the shape functions.

Definition at line 45 of file shapefunction.hh.


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