contrib/rpl/rrel/rrel_misc.h
Go to the documentation of this file.
00001 #ifndef rrel_misc_h_
00002 #define rrel_misc_h_
00003 //:
00004 // \file
00005 // \author Chuck Stewart
00006 // \date   Summer 2001
00007 
00008 //: Chebychev approximation to erfc.
00009 //  (Taken from "Numerical Recipes in C".)
00010 extern double rrel_misc_erfcc( double x );
00011 
00012 //: Inverse of the Gaussian CDF.
00013 //  Provided by Robert W. Cox from the Biophysics Research Institute
00014 //  at the Medical College of Wisconsin. This function is based off of
00015 //  a rational polynomial approximation to the inverse Gaussian CDF
00016 //  which can be found in
00017 //
00018 //  M. Abramowitz and I.A. Stegun. Handbook of Mathematical Functions
00019 //  with Formulas, Graphs, and Mathematical Tables.  John Wiley &
00020 //  Sons.  New York. Equation 26.2.23. pg. 933. 1972.
00021 extern double rrel_misc_gaussian_cdf_inv( double p );
00022 
00023 #endif