root/doc/html/gamma_8cpp.html @ 353

Revision 353, 6.9 kB (checked in by smidl, 16 years ago)

doc

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3<title>mixpp: gamma.cpp File Reference</title>
4<link href="tabs.css" rel="stylesheet" type="text/css">
5<link href="doxygen.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.8 -->
8<script type="text/javascript">
9<!--
10function changeDisplayState (e){
11  var num=this.id.replace(/[^[0-9]/g,'');
12  var button=this.firstChild;
13  var sectionDiv=document.getElementById('dynsection'+num);
14  if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
15    sectionDiv.style.display='block';
16    button.src='open.gif';
17  }else{
18    sectionDiv.style.display='none';
19    button.src='closed.gif';
20  }
21}
22function initDynSections(){
23  var divs=document.getElementsByTagName('div');
24  var sectionCounter=1;
25  for(var i=0;i<divs.length-1;i++){
26    if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
27      var header=divs[i];
28      var section=divs[i+1];
29      var button=header.firstChild;
30      if (button!='IMG'){
31        divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
32        button=document.createElement('img');
33        divs[i].insertBefore(button,divs[i].firstChild);
34      }
35      header.style.cursor='pointer';
36      header.onclick=changeDisplayState;
37      header.id='dynheader'+sectionCounter;
38      button.src='closed.gif';
39      section.id='dynsection'+sectionCounter;
40      section.style.display='none';
41      section.style.marginLeft='14px';
42      sectionCounter++;
43    }
44  }
45}
46window.onload = initDynSections;
47-->
48</script>
49<div class="navigation" id="top">
50  <div class="tabs">
51    <ul>
52      <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
53      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
54      <li><a href="modules.html"><span>Modules</span></a></li>
55      <li><a href="annotated.html"><span>Classes</span></a></li>
56      <li class="current"><a href="files.html"><span>Files</span></a></li>
57    </ul>
58  </div>
59  <div class="tabs">
60    <ul>
61      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
62      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
63    </ul>
64  </div>
65</div>
66<div class="contents">
67<h1>gamma.cpp File Reference</h1>Implementation of gamma functions. 
68<a href="#_details">More...</a>
69<p>
70<code>#include &lt;<a class="el" href="bessel__internal_8h-source.html">itpp/base/bessel/bessel_internal.h</a>&gt;</code><br>
71<code>#include &lt;<a class="el" href="itassert_8h-source.html">itpp/base/itassert.h</a>&gt;</code><br>
72<code>#include &lt;<a class="el" href="itcompat_8h-source.html">itpp/base/itcompat.h</a>&gt;</code><br>
73<code>#include &lt;<a class="el" href="misc_8h-source.html">itpp/base/math/misc.h</a>&gt;</code><br>
74<table border="0" cellpadding="0" cellspacing="0">
75<tr><td></td></tr>
76<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="956e2723d559858d08644ac99146e910"></a><!-- doxytag: member="gamma.cpp::INFINITY" ref="956e2723d559858d08644ac99146e910" args="" -->
78#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>INFINITY</b>&nbsp;&nbsp;&nbsp;1.79769313486231570815E308</td></tr>
79
80<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8abfcc76130f3f991d124dd22d7e69bc"></a><!-- doxytag: member="gamma.cpp::NAN" ref="8abfcc76130f3f991d124dd22d7e69bc" args="" -->
81#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>NAN</b>&nbsp;&nbsp;&nbsp;0.0</td></tr>
82
83<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="31e924beffc2f84817c31471c11fc7e9"></a><!-- doxytag: member="gamma.cpp::gam" ref="31e924beffc2f84817c31471c11fc7e9" args="(double x)" -->
85double&nbsp;</td><td class="memItemRight" valign="bottom"><b>gam</b> (double x)</td></tr>
86
87<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="gamma_8cpp.html#2ec510ed9d039ee4e719c0c4f38357b7">lgam</a> (double x)</td></tr>
88
89<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
90<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c305e273ae9627e6898cf626b2bc8216"></a><!-- doxytag: member="gamma.cpp::sgngam" ref="c305e273ae9627e6898cf626b2bc8216" args="" -->
91int&nbsp;</td><td class="memItemRight" valign="bottom"><b>sgngam</b> = 0</td></tr>
92
93</table>
94<hr><a name="_details"></a><h2>Detailed Description</h2>
95Implementation of gamma functions.
96<p>
97<dl class="author" compact><dt><b>Author:</b></dt><dd>Adam Piatyszek</dd></dl>
98-------------------------------------------------------------------------<p>
99Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)<p>
100This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.<p>
101IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p>
102IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p>
103You should have received a copy of the GNU General Public License along with IT++. If not, see &lt;<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>&gt;.<p>
104-------------------------------------------------------------------------<p>
105This is slightly modified routine from the Cephes library: <a href="http://www.netlib.org/cephes/">http://www.netlib.org/cephes/</a> <hr><h2>Function Documentation</h2>
106<a class="anchor" name="2ec510ed9d039ee4e719c0c4f38357b7"></a><!-- doxytag: member="gamma.cpp::lgam" ref="2ec510ed9d039ee4e719c0c4f38357b7" args="(double x)" -->
107<div class="memitem">
108<div class="memproto">
109      <table class="memname">
110        <tr>
111          <td class="memname">double lgam           </td>
112          <td>(</td>
113          <td class="paramtype">double&nbsp;</td>
114          <td class="paramname"> <em>x</em>          </td>
115          <td>&nbsp;)&nbsp;</td>
116          <td></td>
117        </tr>
118      </table>
119</div>
120<div class="memdoc">
121
122<p>
123Logarithm of gamma function
124<p>References <a class="el" href="converters_8h-source.html#l00349">itpp::floor()</a>, <a class="el" href="itassert_8h-source.html#l00173">it_warning</a>, <a class="el" href="log__exp_8h-source.html#l00236">itpp::log()</a>, and <a class="el" href="trig__hyp_8h-source.html#l00057">itpp::sin()</a>.</p>
125
126</div>
127</div><p>
128</div>
129<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:13 2009 for mixpp by&nbsp;
130<a href="http://www.doxygen.org/index.html">
131<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
132</body>
133</html>
Note: See TracBrowser for help on using the browser.