GenLaguerre:
Filter:
MathLib/Classes (extension) | Math | Libraries > MathLib > Polynomials & Special

GenLaguerre
ExtensionExtension

Generalized Laguerre polynomials

Description

Calculates the Generalized Laguerre polynomials of degree n and order alpha. When alpha is set to zero it reduces to the normal Laguerre polynomials.

Part of MathLib, a diverse library of mathematical functions.

NOTE: The functionality found here may be superseded by SimpleNumber: -laguerreAssoc

Class Methods

.new

Creates a new instance of GenLaguerre.

Arguments:

n

The degree of the generalized Laguerre polynomial. An instance of Integer.

a

The order of the generalized Laguerre polynomial. An instance of SimpleNumber.

.calc

Calculates the generalized Laguerre polynomial of degree n and order alpha for x.

Arguments:

n

The degree of the generalized Laguerre polynomial. An instance of Integer.

a

The order of the generalized Laguerre polynomial. An instance of SimpleNumber.

x

An instance of SimpleNumber.

Instance Methods

.setN

Set the degree of the generalized Laguerre polynomial.

.getN

Get the degree of the generalized Laguerre polynomial.

.setAlpha

Set the order of the generalized Laguerre polynomial.

NOTE: When alpha is set to zero, it reduces to a normal or simple Laguerre polynomial.

.getAlpha

Get the order of the generalized Laguerre polynomial.

.setNAlpha

Set the degree n and order alpha of the generalized Laguerre polynomial.

.getNAlpha

Get the degree n and order alpha of the generalized Laguerre polynomial.

.calc

Calculate the generalized Laguerre polynomial for x.

Examples

Authors

Michael Dzjaparidze, 2010.1

[1] - Original C code from http://mymathlib.webtrellis.net, 20-06-2010.