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

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

[Octave-bug-tracker] [bug #58215] sparse multiplication with Inf


From: Guillaume
Subject: [Octave-bug-tracker] [bug #58215] sparse multiplication with Inf
Date: Fri, 24 Apr 2020 17:12:56 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #7, bug #58215 (project octave):

Matlab special case with scalar operands is indeed a bit odd - I wonder if
that's an historical decision they have to live with for compatibility
reasons. It is also a situation where it is 'easy' to implement the IEEE rules
as one only need to check whether said operand is finite or not before
branching to the special case.

I was mentioning diagonal matrices because it creates a situation where it
might be difficult to write code that will behave similarly in both Matlab and
Octave; given that something as ubiquitous as eye(X) follows the 'full' rules
in Matlab and the 'sparse' rules in Octave.

Finally, I was curious to find out how the decisions were made for the Julia
language and there are some interesting threads, e.g.:
https://github.com/JuliaLang/julia/issues/22733

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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