GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
c_median.c File Reference
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/stats.h>
Include dependency graph for c_median.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ c_median()

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

Definition at line 5 of file c_median.c.

References Rast_set_d_null_value(), and sort_cell().

◆ w_median()

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

Definition at line 15 of file c_median.c.

References Rast_set_d_null_value(), and sort_cell_w().