Functions
contrib/rpl/rrel/rrel_misc.cxx File Reference
#include "rrel_misc.h"
#include <vcl_cmath.h>
#include <vnl/vnl_math.h>

Go to the source code of this file.

Functions

double rrel_misc_erfcc (double x)
 Chebychev approximation to erfc.
double rrel_misc_gaussian_cdf_inv (double p)
 Inverse of the Gaussian CDF.

Function Documentation

double rrel_misc_erfcc ( double  x)

Chebychev approximation to erfc.

(Taken from "Numerical Recipes in C".)

Definition at line 9 of file rrel_misc.cxx.

double rrel_misc_gaussian_cdf_inv ( double  p)

Inverse of the Gaussian CDF.

Provided by Robert W. Cox from the Biophysics Research Institute at the Medical College of Wisconsin. This function is based off of a rational polynomial approximation to the inverse Gaussian CDF which can be found in

M. Abramowitz and I.A. Stegun. Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. John Wiley & Sons. New York. Equation 26.2.23. pg. 933. 1972.

Definition at line 50 of file rrel_misc.cxx.