GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ sort_cell()

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(), and c_quant().

◆ sort_cell_w()

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(), and w_quant().