Simard, R., & L’Ecuyer, P. (2011). Computing the Two-Sided Kolmogorov-Smirnov Distribution.
Journal of Statistical Software
,
39
(11), 1–18. https://doi.org/10.18637/jss.v039.i11