First derivative of (normal) associated Legendre polynomials

版本 2.0.0.0 (5.9 KB) 作者: Rody Oldenhuis
First derivative of (normalized) associated Legendre polynomials
1.1K 次下载
更新时间 2019/9/25

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 版本兼容性
创建方式 R2010a
与 R2008a 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 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
Corrected bug related to edge cases for normalized polynomials

1.1.0.0

Title update

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库