GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71793
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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)
 
void w_mode (DCELL *result, DCELL(*values)[2], int n, const void *closure)
 

Function Documentation

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

Definition at line 5 of file c_mode.c.

References count, max, Rast_set_d_null_value(), and sort_cell().

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

Definition at line 38 of file c_mode.c.

References count, max, Rast_set_d_null_value(), and sort_cell_w().