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

Go to the source code of this file.

Functions

int sort_cell (DCELL *array, int n)
 
int sort_cell_w (DCELL(*array)[2], int n)
 

Function Documentation

int sort_cell ( DCELL *  array,
int  n 
)

Definition at line 21 of file sort_cell.c.

References G_is_d_null_value(), and n.

Referenced by c_divr(), c_median(), c_mode(), and c_quant().

int sort_cell_w ( DCELL(*)  array[2],
int  n 
)

Definition at line 34 of file sort_cell.c.

References G_is_d_null_value(), and n.

Referenced by w_median(), w_mode(), and w_quant().