GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71915
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
c_percentile.c File Reference
#include <math.h>
#include <grass/gis.h>
#include <grass/raster.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 41 of file c_percentile.c.

References c_quant().

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

Definition at line 7 of file c_percentile.c.

References int, Rast_set_d_null_value(), 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 29 of file c_percentile.c.

References c_quant().

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

Definition at line 35 of file c_percentile.c.

References c_quant().

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

Definition at line 87 of file c_percentile.c.

References w_quant().

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

Definition at line 47 of file c_percentile.c.

References Rast_set_d_null_value(), 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 75 of file c_percentile.c.

References w_quant().

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

Definition at line 81 of file c_percentile.c.

References w_quant().