GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
class.c File Reference
#include <grass/glocale.h>
#include <grass/arraystats.h>
Include dependency graph for class.c:

Go to the source code of this file.

Functions

double class_apply_algorithm (char *algo, double *data, int nrec, int *nbreaks, double *classbreaks)
 
int class_interval (double *data, int count, int nbreaks, double *classbreaks)
 
double class_stdev (double *data, int count, int nbreaks, double *classbreaks)
 
int class_quant (double *data, int count, int nbreaks, double *classbreaks)
 
int class_equiprob (double *data, int count, int *nbreaks, double *classbreaks)
 
double class_discont (double *data, int count, int nbreaks, double *classbreaks)
 
int class_frequencies (double *data, int count, int nbreaks, double *classbreaks, int *frequencies)
 

Function Documentation

double class_apply_algorithm ( char *  algo,
double *  data,
int  nrec,
int nbreaks,
double *  classbreaks 
)
double class_discont ( double *  data,
int  count,
int  nbreaks,
double *  classbreaks 
)

Definition at line 244 of file class.c.

References count, dmax, eqdrt(), utils::im, max, min, n, and num.

int class_equiprob ( double *  data,
int  count,
int nbreaks,
double *  classbreaks 
)

Definition at line 125 of file class.c.

References basic_stats(), G_fatal_error(), G_free(), and G_warning().

Referenced by class_apply_algorithm().

int class_frequencies ( double *  data,
int  count,
int  nbreaks,
double *  classbreaks,
int frequencies 
)

Definition at line 424 of file class.c.

References count, max, and min.

int class_interval ( double *  data,
int  count,
int  nbreaks,
double *  classbreaks 
)

Definition at line 31 of file class.c.

References max, and min.

Referenced by class_apply_algorithm().

int class_quant ( double *  data,
int  count,
int  nbreaks,
double *  classbreaks 
)

Definition at line 112 of file class.c.

Referenced by class_apply_algorithm().

double class_stdev ( double *  data,
int  count,
int  nbreaks,
double *  classbreaks 
)

Definition at line 48 of file class.c.

References basic_stats().

Referenced by class_apply_algorithm().