X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fmath%2Fmoments.h;h=553fba62ba4d66bb4b82499cf1c56aa08db8f9a9;hb=b525a9596e60d5ae4c6c464b4a426b77ade3dd72;hp=79a95f8d6321e94c3f3c1eaf7346b08eb82a69a5;hpb=89c05dfe33f9542e60e66dd383f7a514849b5947;p=pspp diff --git a/src/math/moments.h b/src/math/moments.h index 79a95f8d63..553fba62ba 100644 --- a/src/math/moments.h +++ b/src/math/moments.h @@ -45,11 +45,11 @@ void moments_calculate (const struct moments *, void moments_destroy (struct moments *); /* Convenience functions for two-pass moments. */ -void moments_of_doubles (const double *array, size_t cnt, +void moments_of_doubles (const double *array, size_t n, double *weight, double *mean, double *variance, double *skewness, double *kurtosis); -void moments_of_values (const union value *array, size_t cnt, +void moments_of_values (const union value *array, size_t n, double *weight, double *mean, double *variance, double *skewness, double *kurtosis);