Next: , Previous: Running Statistics Initializing the Accumulator, Up: Running Statistics   [Index]

22.2 Adding Data to the Accumulator

Function: int gsl_rstat_add (const double x, gsl_rstat_workspace * w)

This function adds the data point x to the statistical accumulator, updating calculations of the mean, variance, standard deviation, skewness, kurtosis, and median.

Function: size_t gsl_rstat_n (gsl_rstat_workspace * w)

This function returns the number of data so far added to the accumulator.