18 for (i = 0; i < n; i++) {
19 if (
max == 0 || values[i] != prev) {
39 const void *closure
UNUSED)
52 for (i = 0; i < n; i++) {
53 if (
max == 0.0 || values[i][0] != prev) {
58 count += values[i][1];
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)
void Rast_set_d_null_value(DCELL *, int)
To set a number of DCELL raster values to NULL.
int sort_cell(DCELL *, int)
int sort_cell_w(DCELL(*)[2], int)
#define UNUSED
A macro for an attribute, if attached to a variable, indicating that the variable is not used.