GRASS GIS 7 Programmer's Manual  7.7.svn(2018)-r73574
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sort_cell.c File Reference
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/raster.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 28 of file sort_cell.c.

References Rast_is_d_null_value().

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

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

Definition at line 47 of file sort_cell.c.

References Rast_is_d_null_value().

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