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: Marco Caliari
Subject: [Octave-bug-tracker] [bug #52285] inv(0) gives 0 (instead of inf)
Date: Mon, 6 Nov 2017 03:42:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0

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

I confirm all NaNs for the example in comment #9


>> inv (repmat (Inf, [1]))
Warning: Matrix is singular to working precision. 

ans =

     0

>> 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

>> version

ans =

    '9.3.0.713579 (R2017b)'


    _______________________________________________________

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]