octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55934] typo in the recurrence relation in com


From: anonymous
Subject: [Octave-bug-tracker] [bug #55934] typo in the recurrence relation in comment of legendre.m
Date: Sat, 16 Mar 2019 08:44:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

URL:
  <https://savannah.gnu.org/bugs/?55934>

                 Summary: typo in the recurrence relation in comment of
legendre.m
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 16 Mar 2019 12:44:09 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

A small typo happens to be found in the comment of legendre.m
when I study the associated Legendre polynomials.

According to the first equation at
https://en.wikipedia.org/wiki/Associated_Legendre_polynomials#Recurrence_formula


--- a/scripts/specfun/legendre.m
+++ b/scripts/specfun/legendre.m
@@ -196,7 +196,7 @@
 
   ## 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
 






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55934>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]