GRASS 8 Programmer's Manual 8.5.0RC1(2026)-3334b87d9c
Loading...
Searching...
No Matches
xmedian.c File Reference
#include <stdlib.h>
#include <stdbool.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/calc.h>
Include dependency graph for xmedian.c:

Go to the source code of this file.

Macros

#define SIZE_THRESHOLD   32

Functions

int f_median (int argc, const int *argt, void **args)

Macro Definition Documentation

◆ SIZE_THRESHOLD

#define SIZE_THRESHOLD   32

Definition at line 13 of file xmedian.c.

Referenced by f_median(), f_mode(), f_nmedian(), and f_nmode().

Function Documentation

◆ f_median()

int f_median ( int argc,
const int * argt,
void ** args )

Definition at line 47 of file xmedian.c.

References columns, G_free(), and SIZE_THRESHOLD.