STDDEV_R module routines - WIN32

Company Information Software Products TDF Market Reports Download Area take me Home

STDDEV_R.C - STanDard DEViation Routines

ANSI C standard deviation routines.

Function new_stddev_struct
Include file STDDEV_R.H
Prototype STDDEV * new_stddev_struct( int stddev_length )
Remarks Allocate, initialize and return a virgin standard deviation structure.

Function reset_stddev_struct
Include file STDDEV_R.H
Prototype void reset_stddev_struct( STDDEV *stddev_ptr )
Remarks Reset a standard deviation data structure for a new data series.

Function update_stddev_struct
Include file STDDEV_R.H
Prototype void update_stddev_struct( STDDEV *stddev_ptr , float new_data )
Remarks Calculate a N-population standard deviation (as well as a few of other common stat values (min, max, SMA, EMA, summ & variance) ). Once we have collected enough data to calc the STDDEV, stddev_ptr->enough_data will be set to TRUE and stddev_ptr->std_dev can be used.

Function free_stddev_struct
Include file STDDEV_R.H
Prototype void free_stddev_struct( STDDEV *stddev_ptr )
Remarks Return the STDDEV and its sub-structure memory to the system.

Table of Contents Function Index

generated on 22 September 1998 - 12:55:38
© 1998 Tierra del Fuego Ltd.