Dimitrova, D. S., V. K. Kaishev, and S. Tan. “Computing the Kolmogorov-Smirnov Distribution When the Underlying CDF Is Purely Discrete, Mixed, or Continuous”. Journal of Statistical Software, vol. 95, no. 10, Oct. 2020, pp. 1-42, doi:10.18637/jss.v095.i10.