]> git.donarmstrong.com Git - samtools.git/blobdiff - bcftools/kfunc.c
* test depth, end distance and HWE
[samtools.git] / bcftools / kfunc.c
index f01108898d4774da92bd3739b65feb63de4ef297..61d9940b0d30c987f1d46da9511cb028bc0c00d8 100644 (file)
@@ -56,6 +56,13 @@ double kf_erfc(double x)
  * Formulas are taken from Wiki, with additional input from Numerical
  * Recipes in C (for modified Lentz's algorithm) and AS245
  * (http://lib.stat.cmu.edu/apstat/245).
+ *
+ * A good online calculator is available at:
+ *
+ *   http://www.danielsoper.com/statcalc/calc23.aspx
+ *
+ * It calculates upper incomplete gamma function, which equals
+ * kf_gammap(s,z)*tgamma(s).
  */
 
 #define KF_GAMMA_EPS 1e-14