3 #include <grass/cdhc.h>
12 sqrtn = sqrt((
double)n);
15 y[1] = (d[0] > d[1]) ? d[0] : d[1];
16 y[0] = y[1] * (sqrtn + 0.85 / sqrtn - 0.01);
19 fprintf(stdout,
" TEST10 KSD(N) =%10.4f\n", y[0]);
20 fprintf(stdout,
" TEST11 KSD =%10.4f\n", y[1]);
double * kolmogorov_smirnov(double *x, int n)