home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FreeWare Collection 2
/
FreeSoftwareCollection2pd199x-jp.img
/
lib
/
statisti.h
< prev
next >
Wrap
Text File
|
1990-06-14
|
1KB
|
82 lines
/***
statisti.h
***/
#define SHORT_TYPE (1)
#define INT_TYPE (2)
#define LONG_TYPE (3)
#define FLOAT_TYPE (4)
#define DOUBLE_TYPE (5)
typedef struct
{
void *data ;
int n ;
int d_type ;
} BASE_STATISTICS_IN ;
typedef struct
{
double min ;
double max ;
double avg ;
double var ;
double std ;
double cv ;
double skw ;
double kur ;
} BASE_STATISTICS_OUT ;
typedef struct
{
void *data ;
int n ;
int d_type ;
double avg ;
} MEAN_DEVIATION_IN ;
typedef struct
{
double mdev ;
} MEAN_DEVIATION_OUT ;
typedef struct
{
void *data ;
int n ;
int d_type ;
} MIN_MAX_IN ;
typedef struct
{
double min ;
double max ;
} MIN_MAX_OUT ;
typedef struct
{
double min ;
double max ;
int n ;
} STURGES_IN ;
typedef struct
{
int class ;
double wide ;
} STURGES_OUT ;
int ask_sz( ) ;
double mean( ) ;
void minmax( ) ;
void base_statistics( ) ;
void mean_deviation( ) ;
void min_max( ) ;
void sturges( ) ;