18 for (i = 0; i < n; i++) {
19 if (max == 0 || values[i] != prev) {
51 for (i = 0; i < n; i++) {
52 if (max == 0.0 || values[i][0] != prev) {
57 count += values[i][1];
int sort_cell(DCELL *, int)
void w_mode(DCELL *result, DCELL(*values)[2], int n, const void *closure)
int sort_cell_w(DCELL(*)[2], int)
void c_mode(DCELL *result, DCELL *values, int n, const void *closure)
void Rast_set_d_null_value(DCELL *, int)
To set a number of DCELL raster values to NULL.