tor, 05 03 2009 kl. 16:04 +0100, skrev Alois Schlögl:
> Or can You think of any reasonable problem, when mean should propagate
> the NaN's ? I can not. Consequently, there is no need to have both
> nanmean and mean.

I guess this depends on how you interpret NaN. I think it makes sense to
skip NA (not available) when computing mean values. But if NaN is the
result of some faulty calculation somewhere in your program, then it can
be nice to see the NaN's propagate. Otherwise you might never notice you
had a bug.

Søren


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to