[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf)
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf) |
Date: |
Fri, 3 Nov 2017 11:52:39 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #5, bug #52285 (project octave):
Another test case that needs to be run through Matlab
inv (diag ([0 0]))
In Octave, this produces a special Diagonal matrix with Inf only on the
diagonal.
inv (diag ([0 0]))
ans =
Diagonal Matrix
Inf 0
0 Inf
On the other hand, my guess is that Matlab will return all Inf as in
inv (full (diag ([0 0])))
warning: matrix singular to machine precision
ans =
Inf Inf
Inf Inf
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52285>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Rik, 2017/11/01
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf),
Rik <=
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Colin Macdonald, 2017/11/03
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Rik, 2017/11/04
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Michael Godfrey, 2017/11/04
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Rik, 2017/11/04
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Michael Godfrey, 2017/11/04
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Colin Macdonald, 2017/11/06
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Marco Caliari, 2017/11/06
- [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf), Dmitri A. Sergatskov, 2017/11/06