math.assoc_legendre
code:Lua
y = textmodule.math.assoc_legendre(l, m, x)
モジュール
math
引数
table:_
変数 型 概要
1 l number 処理する数値
2 m number 処理する数値
3 x number 処理する数値
返り値
table:_
変数 型 概要
1 y number 処理された数値
概要
ルジャンドル陪関数を計算する。
$ y = P^m_l(x)=(1-x^2)^{\frac{m}{2}}\frac{d^m}{dx^m}P_{l}(x) \qquad (|x|\leq1)
右辺にあるPは、ルジャンドル多項式(math.legendre)。
l >= 128の場合、関数の結果は未定義である。