17 center = values[n / 2];
21 for (i = 0; i < n; i++) {
26 if (values[i] != center)
35 *result = (diff * 100.0 + (
count / 2)) /
count + 1;
void c_intr(DCELL *result, DCELL *values, int n, const void *closure UNUSED)
void Rast_set_d_null_value(DCELL *, int)
To set a number of DCELL raster values to NULL.
#define Rast_is_d_null_value(dcellVal)
#define UNUSED
A macro for an attribute, if attached to a variable, indicating that the variable is not used.