Kolmogorov-Smirnov distribution

Computes the cumulative distribution function of the two-sided Kolmogorov-Smirnov test statistic and its complementary distribution, as described in the following article.


Version-1.1:

C code:
Java code: