#include "common.h"
#include <math.h>
#include "stats.h"
#include "walloc.h"
#include "override.h"
Data Structures | |
struct | statx |
A one-dimension container (x). More... | |
Typedefs | |
typedef enum op | stats_op_t |
Enumerations | |
enum | op { STATS_OP_REMOVE = -1, STATS_OP_ADD = +1 } |
Functions | |
RCSID ("$Id:stats.c, v 1.5 2005/06/25 01:37:43 daichik Exp $") | |
gpointer | statx_make (void) |
Create one-dimension container. | |
void | statx_free (gpointer ox) |
Destroy one-dimension container. | |
void | statx_clear (gpointer ox) |
Clear container. | |
void | statx_opx (struct statx *sx, gdouble val, stats_op_t op) |
Add/substract one data point. | |
void | statx_add (gpointer ox, gdouble val) |
Add data point to container. | |
void | statx_remove (gpointer ox, gdouble val) |
Remove data point from container. | |
gint | statx_n (gpointer ox) |
gdouble | statx_avg (gpointer ox) |
gdouble | statx_sdev (gpointer ox) |
gdouble | statx_var (gpointer ox) |
gdouble * | statx_data (gpointer ox) |
|
|
|
|
|
|
|
Add data point to container.
|
|
|
|
Clear container.
|
|
|
|
Destroy one-dimension container.
|
|
Create one-dimension container.
|
|
|
|
Add/substract one data point.
|
|
Remove data point from container.
|
|
|
|
|