Here's my problem: NaNs. Most real-world data that one would interrogate
is filled with them. The typical stats package has a global switch
named something like rm_NaNs; if rm_NaNs==0, then most functions (min, max,
variance, et cetera) will return NaN if any element of the input is NaN, and
if rm_NaNs==1, then these functions auto-prune, by prepending every use
of x with something like
if (!rm_NaNs || !gsl_isnan(x))
use x
So has the GSL team considered including such a flag in the GSL? As above,
fixing the code in most cases would be a trivial one-line insertion,
but are there other reasons for not adding a global gsl_rm_NaNs variable?