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

[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: Colin Macdonald
Subject: [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf)
Date: Mon, 6 Nov 2017 00:43:05 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

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

I also get the all-nans-with-zero-in-lower-right result on 2008b.  But
strangely on 2014a, I get *all* nans:


>> inv(repmat(inf,[2,2])) 
Warning: Matrix is singular, close to singular or badly scaled. Results may
be
inaccurate. RCOND = NaN. 
ans =
   NaN   NaN
   NaN   NaN
>> inv(repmat(-inf,[3,3]))
Warning: Matrix is singular, close to singular or badly scaled. Results may
be
inaccurate. RCOND = NaN. 
ans =
   NaN   NaN   NaN
   NaN   NaN   NaN
   NaN   NaN   NaN
>> ver
MATLAB Version: 8.3.0.532 (R2014a)


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52285>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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