Mercurial > octave
changeset 26929:c8055304ad21
legendre.m: fix typo in recurrence formula in internal comment (bug #55934)
* legendre.m: Fix typo in recurrence formula. Update Wikipedia URL.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Sat, 16 Mar 2019 09:56:00 -0700 |
parents | df9fe0026f73 |
children | ead8f91c5556 |
files | scripts/specfun/legendre.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/specfun/legendre.m Fri Mar 15 22:54:19 2019 +0100 +++ b/scripts/specfun/legendre.m Sat Mar 16 09:56:00 2019 -0700 @@ -196,9 +196,9 @@ ## Based on the recurrence relation below ## m m m - ## (n-m+1) * P (x) = (2*n+1)*x*P (x) - (n+1)*P (x) + ## (n-m+1) * P (x) = (2*n+1)*x*P (x) - (n+m)*P (x) ## n+1 n n-1 - ## http://en.wikipedia.org/wiki/Associated_Legendre_function + ## https://en.wikipedia.org/wiki/Associated_Legendre_polynomials overflow = false; retval = zeros ([n+1, size(x)]);