Howdy, I have made some improvements to the rstat example, tests and docs. Documentation for gsl_rstat_sd_mean has been added and now all rstat functions are tested, including gsl_rstat_n and gsl_rstat_reset. I have attached the patch and the diff is also viewable here: https://github.com/leto/gsl/compare/rstat Thanks, Duke