[Top][All Lists]

[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: Thu, 21 Mar 2019 06:50:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

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

I'm not sure I understand...  I think rewrite is functioning correctly, given
the situation:

  * Octave (and Matlab) have a sinc(double) function.  It is normalized.

  * SymPy has a sinc function.  It is unnormalized.

Symbolic could/should add @sym/sinc.m, it will necessarily be:

function y = sinc(x)
  y = elementwise_op ('sinc', pi*x);

And its docs will have a big warning about normalized/unnormalized: that's the
only thing I can think to do to resolve the original issue.  A similar issue
comes up when a function in SymPy has its arguments in a different order than
we do or is spelled differently.

Or are you noting a different compatibility bug?  Namely that SMT supports
"sincos" and "sinhcosh" but we don't.  That's valid.  But what does it have to
do with "sinc"?


Reply to this item at:


  Message sent via Savannah

reply via email to

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