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

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

[Octave-bug-tracker] [bug #49523] eigs (R2013b and later) uses NaNs, not


From: Rik
Subject: [Octave-bug-tracker] [bug #49523] eigs (R2013b and later) uses NaNs, not zeros, for unconverged Ritz values
Date: Wed, 12 Apr 2017 12:31:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

The unconverged Ritz values represent an exceptional case.  It is important to
warn about them, but the exact form of the warning is not that critical.  My
suggestion was to set only the real portion to NaN.  After that, I would rely
on Octave's automatic narrowing to change a complex matrix, with all imaginary
parts equal to zero, to a real matrix.  If the matrix can't be narrowed
because there are non-zero complex values then you do get


NaN + 0.00000i


but that is okay for me since the NaN stands out as the first thing in the
entry, and isnan returns true if either the real or imaginary part is NaN.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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