[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49129] Legendre polynomials unnecessarily res
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #49129] Legendre polynomials unnecessarily restricted to [-1, +1] |
Date: |
Mon, 19 Sep 2016 19:54:34 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Update of bug #49129 (project octave):
Item Group: Incorrect Result => Feature Request
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #1:
This is possible, although it would introduce an incompatibility with Matlab
which restricts the range to [-1, +1] (see
http://www.mathworks.com/help/matlab/ref/legendre.html).
There may be ways around the incompatibility. Octave could issue a warning,
rather than a full error, if x is outside [-1,+1]. Or there could be a
specific warning ID for the legendre function and extended input. By default,
this warning ID would be configured to produce an error
warning ("error", ID)
But the user could specifically enable an extended input range by using
warning ("on", ID)
OR
warning ("off", ID)
Just some ideas.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49129>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/