First derivative of (normal) associated Legendre polynomials
Computing accurate derivatives of the associated Legendre polynomials can be tricky. Even in advanced texts, they are usually written as recurrence relations and/or with (normalization) factors involving factorials.
A naive software implementation will therefore quickly run into the limits of IEEE754 double-precision, resulting in NaN/inf or significant loss of precision, already at very low degree N.
LEGENDRE_DERIVATIVE is a fully vectorized, numerically stable and robustly validated implementation of the derivative computation. It allows fast and accurate computations of the derivatives for any degree N.
It works the same as MATLAB's own LEGENDRE, except it does not compute the polynomial values, but the values of the derivatives.
引用
Rody Oldenhuis (2024). First derivative of (normal) associated Legendre polynomials (https://github.com/rodyo/FEX-legendre_derivative), GitHub. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Mathematics > Elementary Math > Polynomials >
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!GitHub の既定のブランチを使用するバージョンはダウンロードできません
バージョン | 公開済み | リリース ノート | |
---|---|---|---|
2.0.0.0 | Added units tests
|
|
|
1.1.0.0 | Title update |
|
|
1.0.0.0 |
|