[Top][All Lists]

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

Missing values

From: Teemu Ikonen
Subject: Missing values
Date: Fri, 8 Oct 2004 10:52:28 -0500
User-agent: Mutt/1.4.1i

Hi all,

Support for missing double values (NA) was added to Octave two years ago.
There was talk of making functions like sum, mean, etc. to support them, but
e.g. sum([1,NA]) still returns NA. 

Also, min([1,NA]) returns 1, but so does min([1,NaN]), which would imply
that NA = NaN in the current implementation. Is this because no one has
fixed the code, or is it so by design?

Octave-forge includes functions nanmax, nanmean etc. which ignore NaN as
they should, but return NA on any vector containing NA. Should they be made
to also ignore NA?


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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