13 for (i = 0; i < n; i++) {
31 for (i = 0; i < n; i++) {
39 sumqt += d * d * d * d;
48 const void *closure
UNUSED)
57 for (i = 0; i < n; i++) {
61 sum += values[i][0] * values[i][1];
62 count += values[i][1];
75 for (i = 0; i < n; i++) {
81 d = values[i][0] - ave;
82 sumsq += d * d * values[i][1];
83 sumqt += d * d * d * values[i][1];
void w_kurt(DCELL *result, DCELL(*values)[2], int n, const void *closure UNUSED)
void c_kurt(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.
float var(IClass_statistics *statistics, int band1, int band2)
Helper function for computing variance.