concepts::LaguerreBasis< mode > Class Template Reference

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

#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)
 Constructor. More...
 
uint n () const
 Returns the number of shape functions. More...
 
uint nP () const
 Returns the number of abscissas (in which the shape functions are evaluated) More...
 
const Realvalues () const
 Returns the values of the shape functions. More...
 
 ~LaguerreBasis ()
 

Protected Member Functions

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

Protected Attributes

Realvalues_
 Values of the shape functions. More...
 

Private Attributes

uint n_
 Number of shape functions. More...
 
uint nP_
 Number of points in which the shape functions are evaluated. More...
 

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

◆ ~LaguerreBasis()

template<int mode>
concepts::LaguerreBasis< mode >::~LaguerreBasis ( )

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

◆ n_

uint concepts::ShapeFunction1D< Real >::n_
privateinherited

Number of shape functions.

Definition at line 48 of file shapefunction.hh.

◆ nP_

uint concepts::ShapeFunction1D< Real >::nP_
privateinherited

Number of points in which the shape functions are evaluated.

Definition at line 51 of file shapefunction.hh.

◆ 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich