help-octave
[Top][All Lists]
Advanced

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

Re: sumskipnan(nan) = 0 ?


From: Søren Hauberg
Subject: Re: sumskipnan(nan) = 0 ?
Date: Fri, 07 Sep 2007 13:14:24 +0200
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

address@hidden skrev:
What is the logic behind

sumskipnan(nan) = 0  ?
I'm guessing that the sum of the input with all the NaN's removed is zero. That is the sum of no numbers is considered 0. What would you expect the result to be? NaN? NA? []? To me, all of these definitions makes sense.

Søren


reply via email to

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