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: Mike Miller
Subject: [Octave-bug-tracker] [bug #55968] [octave forge] (symbolic) Incorrect simplify to sinc function
Date: Wed, 20 Mar 2019 21:17:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Update of bug #55968 (project octave):

                 Summary: Incorrect simplify to sinc function => [octave
forge] (symbolic) Incorrect simplify to sinc function

    _______________________________________________________

Follow-up Comment #2:

Here's an idea of what we could do. In Matlab, they are a little more
restrictive over what can be passed in the second argument to rewrite. If I
pass an expression to rewrite with the target 'sinc', it's actually
interpreted by Matlab as a synonym for 'sincos'. So is the option 'sinco'.

SymPy seems to handle 'sinco' as an alias for 'sincos' already. We could
simply intercept and if the argument is exactly 'sinc', translate it into
'sincos' before handing it off to SymPy. What do you think?

    _______________________________________________________

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]