|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #49523] eigs (R2013b and later) uses NaNs, not zeros, for unconverged Ritz values |
Date: | Sun, 16 Apr 2017 23:50:10 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #13, bug #49523 (project octave): @Marco: I'm going to change my advice in comment #12. It seems to me that eigs is generally only used when you want a few eigenvalues from a large sparse matrix. For a low number, say N < 50, it really isn't much of a performance hit to iterate over the entire return list to see if there are any true complex eigenvalues or if there are only complex eigenvalues where the imaginary part is zero. Thus, I think you should go ahead and return NaN if all the values are real or Nan+NaNi if there are complex values. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49523> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |