GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-bea8435a9e
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 UNUSED)
 
void w_median (DCELL *result, DCELL(*values)[2], int n, const void *closure UNUSED)
 

Function Documentation

◆ c_median()

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

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  UNUSED 
)

Definition at line 15 of file c_median.c.

References Rast_set_d_null_value(), and sort_cell_w().