|
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.52">NameSimple statistics -- a basic structure for computing min, max, average and variance. Detailsstruct GtsRangestruct GtsRange {
gdouble min, max, sum, sum2, mean, stddev;
guint n;
}; |
A simple statistics structure.
gts_range_init ()Initializes a GtsRange.
gts_range_add_value ()void gts_range_add_value (GtsRange *r,
gdouble val); |
Adds val to r.
gts_range_update ()Updates the fields of r.
gts_range_reset ()Sets all the fields of r to 0.
gts_range_print ()void gts_range_print (GtsRange *r,
FILE *fptr); |
Writes a text representation of r in fptr.
|