GenLaguerre:
Filter:
Classes (extension) |

GenLaguerre : ObjectExtension

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

GenLaguerre.new(n, a)

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.

GenLaguerre.calc(n, a, x)

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(n)

Set the degree of the generalized Laguerre polynomial.

.getN

Get the degree of the generalized Laguerre polynomial.

.setAlpha(a)

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(n, a)

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(x)

Calculate the generalized Laguerre polynomial for x.

Authors

Michael Dzjaparidze, 2010.1

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