GRASS GIS 8 Programmer's Manual 8.3.2(2024)-exported
Loading...
Searching...
No Matches
c_mode.c File Reference
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/stats.h>
Include dependency graph for c_mode.c:

Go to the source code of this file.

Functions

void c_mode (DCELL *result, DCELL *values, int n, const void *closure UNUSED)
 
void w_mode (DCELL *result, DCELL(*values)[2], int n, const void *closure UNUSED)
 

Function Documentation

◆ c_mode()

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

Definition at line 5 of file c_mode.c.

References count, max, and sort_cell().

◆ w_mode()

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

Definition at line 38 of file c_mode.c.

References count, max, and sort_cell_w().