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

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

[Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect si


From: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function
Date: Tue, 26 Mar 2019 14:35:58 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #11, bug #55968 (project octave):

The only ways I can think to deal with this in a satisfactory way are:

1.  find/replace on the srepr string and call it something else that is
exactly 4 chars long: "sncu" or "siNc', 'SINC'

2.  long monkey patch to sympy so that it uses the normalized sinc.  This
could be tricky, bit of grepping says 97 occurrences in the source

3.  very short monkey-patch to sympy's printing system to replace the name
with `sinc_unnorm` or similar.  This might be the least unpleasant.  But OTOH
I dislike diverging from SymPy.

4.  Leave it alone, confuse end-users who don't read the manual (and probably
those who do read the manual ;-)

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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