<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>HippoDraw Class Library</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> <link rel="shortcut icon" href="hippoApp.ico"> </head><body> <!-- Generated by Doxygen 1.6.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_546918f92081d0a3941b8fe5c9b2d53f.html">controllers</a> </div> </div> <div class="contents"> <h1>Gammaq.cxx File Reference</h1> <p>The Faithful implementation of the GammaQ. <a href="#_details">More...</a></p> <code>#include "<a class="el" href="Gammaq_8h_source.html">Gammaq.h</a>"</code><br/> <code>#include <iostream></code><br/> <code>#include <cassert></code><br/> <code>#include <cmath></code><br/> <div class="dynheader"> Include dependency graph for Gammaq.cxx:</div> <div class="dynsection"> <div class="center"><img src="Gammaq_8cxx__incl.gif" border="0" usemap="#Gammaq_8cxx_map" alt=""/></div> <map name="Gammaq_8cxx_map" id="Gammaq_8cxx"> <area shape="rect" id="node3" href="Gammaq_8h.html" title="Declaration of GammaQ functions." alt="" coords="31,83,116,112"/></map> </div> <p><a href="Gammaq_8cxx_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw.html">hippodraw</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Namespace for HippoDraw. </p> <br/></td></tr> </p> <tr><td class="memItemLeft" align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Numeric.html">hippodraw::Numeric</a></td></tr> <p><tr><td class="mdescLeft"> </td><td class="mdescRight"><p>Collection of linear algebra functions. </p> <br/></td></tr> </p> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Numeric.html#ae01374ddda83bc2216ba9df9c76d9995">gammln</a> (double xx)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates natural log of a gamma function. <a href="#ae01374ddda83bc2216ba9df9c76d9995"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Numeric.html#a3875415d74d3aaf6f58d9e58fc061efd">gammq</a> (double a, double x)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance. <a href="#a3875415d74d3aaf6f58d9e58fc061efd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Numeric.html#a5b446e3e8ec13c8e2383ac156f0cf77f">gcf</a> (double *gammcf, double a, double x, double *gln)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance, by using continued fractions. <a href="#a5b446e3e8ec13c8e2383ac156f0cf77f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacehippodraw_1_1Numeric.html#a5277079b0c65d166db9553deb8a92de2">gser</a> (double *gamser, double a, double x, double *gln)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calculates Q, the probability that the chi2 should exceed a particilar chi2 (input) by chance, by using series approximation. <a href="#a5277079b0c65d166db9553deb8a92de2"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>The Faithful implementation of the GammaQ. </p> <p>Code is taken from Numerical Recipes in C. </p> <p>Definition in file <a class="el" href="Gammaq_8cxx_source.html">Gammaq.cxx</a>.</p> </div> <hr size="1"><address style="align: right;"><small> Generated for HippoDraw Class Library by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0> </a> </small></address> </body> </html>