grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

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

int AS_option_to_algorithm (const struct Option *option)
 
double AS_class_apply_algorithm (int algo, double *data, int nrec, int *nbreaks, double *classbreaks)
 
int AS_class_interval (double *data, int count, int nbreaks, double *classbreaks)
 
double AS_class_stdev (double *data, int count, int nbreaks, double *classbreaks)
 
int AS_class_quant (double *data, int count, int nbreaks, double *classbreaks)
 
int AS_class_equiprob (double *data, int count, int *nbreaks, double *classbreaks)
 
double AS_class_discont (double *data, int count, int nbreaks, double *classbreaks)
 
int AS_class_frequencies (double *data, int count, int nbreaks, double *classbreaks, int *frequencies)
 

Function Documentation

◆ AS_class_apply_algorithm()

double AS_class_apply_algorithm ( int  algo,
double *  data,
int  nrec,
int *  nbreaks,
double *  classbreaks 
)

◆ AS_class_discont()

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

Definition at line 267 of file class.c.

References AS_eqdrt(), count, d, data, max, min, tmp, and x.

◆ AS_class_equiprob()

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

◆ AS_class_frequencies()

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

Definition at line 447 of file class.c.

References count, data, max, and min.

◆ AS_class_interval()

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

Definition at line 54 of file class.c.

References count, data, max, and min.

Referenced by AS_class_apply_algorithm().

◆ AS_class_quant()

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

Definition at line 135 of file class.c.

References count, and data.

Referenced by AS_class_apply_algorithm().

◆ AS_class_stdev()

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

◆ AS_option_to_algorithm()

int AS_option_to_algorithm ( const struct Option option)