XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Laguerre()

Function Laguerre ( N As  Long,
X As  Double,
Optional Info As  Long 
)

Laguerre polynomial Ln(x)

Purpose
Computes the Laguerre polynomial of x.
Ln(x) = e^x/n! dn/dxn(x^n e^(-x))
Returns
Double
Laguerre polynomial Ln(x).
Parameters
[in]NArgument n. (0 <= N < 128)
[in]XArgument x.
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument N had an illegal value. (N < 0, N >= 128)
= 1: Floating point range error.
Reference
boost/math/special_functions