v...@ukr.net writes: > On Tue, 31 Jul 2012 09:16:31 +0200 > Zimmermann Paul <paul.zimmerm...@loria.fr> wrote: > >> Hi Vladimir, >> >> 'NaN' means "Not a Number". It might produced by some uninitialized >> value, or the arithmetic of some invalid arithmetic operation, like >> sqrt(-1.0), 0/0, Inf - Inf, ... >> >> You should first investigate why you get such values in your array, >> since simply ignoring them might be wrong. >> > Yes, I understand that, and I always watch for the output of my own > algorithms for them to not produce such things. But currently I'm > working with some experimental data array which has some gaps (probably > because of data loss in the past or equipment reparation). So now I > have no choice: I have to work with this kind of array because it's > simply the only data record I have.
You should get acquainted with IEEE 754. (Some NaNs exist exactly for the purpose of dealing with uninitialized data.) -- HE CE3OH... -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org