GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-d6dec75dd4
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 27 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 46 of file sort_cell.c.

References Rast_is_d_null_value.

Referenced by w_median(), and w_quant().