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

Go to the source code of this file.

Functions

void c_quant (DCELL *result, DCELL *values, int n, const void *closure)
 
void c_quart1 (DCELL *result, DCELL *values, int n, const void *closure)
 
void c_quart3 (DCELL *result, DCELL *values, int n, const void *closure)
 
void c_perc90 (DCELL *result, DCELL *values, int n, const void *closure)
 
void w_quant (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 
void w_quart1 (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 
void w_quart3 (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 
void w_perc90 (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 

Function Documentation

void c_perc90 ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 40 of file c_percentile.c.

References c_quant(), and forms::q.

void c_quant ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 6 of file c_percentile.c.

References G_set_d_null_value(), int, and sort_cell().

Referenced by c_perc90(), c_quart1(), and c_quart3().

void c_quart1 ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 28 of file c_percentile.c.

References c_quant(), and forms::q.

void c_quart3 ( DCELL *  result,
DCELL *  values,
int  n,
const void *  closure 
)

Definition at line 34 of file c_percentile.c.

References c_quant(), and forms::q.

void w_perc90 ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 86 of file c_percentile.c.

References forms::q, and w_quant().

void w_quant ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 46 of file c_percentile.c.

References G_set_d_null_value(), n, and sort_cell_w().

Referenced by w_perc90(), w_quart1(), and w_quart3().

void w_quart1 ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 74 of file c_percentile.c.

References forms::q, and w_quant().

void w_quart3 ( DCELL *  result,
DCELL(*)  values[2],
int  n,
const void *  closure 
)

Definition at line 80 of file c_percentile.c.

References forms::q, and w_quant().