13 for (i = 0; i < n; i++) {
36 for (i = 0; i < n; i++) {
40 sum += values[i][0] * values[i][1];
41 count += values[i][1];
void w_sum(DCELL *result, DCELL(*values)[2], int n, const void *closure UNUSED)
void c_sum(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.