2012/2/19 Alois Schlögl <alois.schlo...@ist.ac.at>:
> The users of the NaN-toolbox can choose the NaN-propagating function
> sum() or the NaN-skipping function sumskipnan().

Oh, this is nice. I'm sorry, I thought you also shadowed the core sum
function.

But why do you shadow the other functions? Matlab renames them instead:

    http://www.mathworks.com/help/toolbox/stats/nanmean.html
    http://www.mathworks.com/help/toolbox/stats/nanstd.html
    http://www.mathworks.com/help/toolbox/stats/nansum.html

I still think that having mean() do NaN-skipping is and unexpected
(and curiously enough, your package is the first Google hit for "nan
skipping behvaiour") but I think it's ok to do so if you rename the
functions to a name that is obviously not the usual NaN-abiding sum(),
mean(), and std().

- Jordi G. H.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to