PDAL:
--------------------------------------------------------------------------
Generates Associated Legendre Functions of the first kind and derivatives
The first index is n and the second is m
Input is limited to -1?x?1
Since version 1.
--------------------------------------------------------------------------
Form:
[p, pD] = PDAL( nMax, mMax, x, xD )
--------------------------------------------------------------------------
------
Inputs
------
nMax Max value of first index
mMax Max value of second index
x Argument
xD Derivative of the argument
-------
Outputs
-------
p associated Legendre functions
pD derivative of the associated Legendre functions
--------------------------------------------------------------------------
References: Spiegel, M.,R., Mathematical Handbook, McGraw-Hill
pp 146-150
--------------------------------------------------------------------------