4#include "local_proto.h"
20 for (i = 0; i < n; ++i) {
30 for (i = 0; i < n; ++i)
33 for (i = 0; i < n; ++i) {
41 y[1] += (2.0 * i + 1.0) *
log(
fx) + (2.0 * (n - i) - 1.0) *
log(1 -
fx);
44 y[0] = y[1] * (0.75 / n + 1.0 + 2.25 / (n * n));
double * Cdhc_anderson_darling(double *x, int n)
int Cdhc_dcmp(const void *i, const void *j)
double Cdhc_normp(double)
float mean(IClass_statistics *statistics, int band)
Helper function for computing mean.