Next: , Up: Running Statistics   [Index]


22.1 Initializing the Accumulator

Function: gsl_rstat_workspace * gsl_rstat_alloc (void)

This function allocates a workspace for computing running statistics. The size of the workspace is O(1).

Function: void gsl_rstat_free (gsl_rstat_workspace * w)

This function frees the memory associated with the workspace w.

Function: int gsl_rstat_reset (gsl_rstat_workspace * w)

This function resets the workspace w to its initial state, so it can begin working on a new set of data.