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: itpp::Gamma_RNG Class 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 | <!-- |
---|
10 | function 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 | } |
---|
22 | function 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 | } |
---|
46 | window.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 Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
62 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
63 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
64 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
65 | </ul> |
---|
66 | </div> |
---|
67 | <div class="navpath"><b>itpp</b>::<a class="el" href="classitpp_1_1Gamma__RNG.html">Gamma_RNG</a> |
---|
68 | </div> |
---|
69 | </div> |
---|
70 | <div class="contents"> |
---|
71 | <h1>itpp::Gamma_RNG Class Reference</h1><!-- doxytag: class="itpp::Gamma_RNG" -->Gamma distribution. |
---|
72 | <a href="#_details">More...</a> |
---|
73 | <p> |
---|
74 | <code>#include <<a class="el" href="itpp__ext_8h-source.html">itpp_ext.h</a>></code> |
---|
75 | <p> |
---|
76 | |
---|
77 | <p> |
---|
78 | <a href="classitpp_1_1Gamma__RNG-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
79 | <tr><td></td></tr> |
---|
80 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
81 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e132860f825f427d63652edd02c25b54"></a><!-- doxytag: member="itpp::Gamma_RNG::Gamma_RNG" ref="e132860f825f427d63652edd02c25b54" args="(double a=1.0, double b=1.0)" --> |
---|
82 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#e132860f825f427d63652edd02c25b54">Gamma_RNG</a> (double a=1.0, double b=1.0)</td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">constructor. Set lambda. <br></td></tr> |
---|
85 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dfaae19411e39aa87e1f72e409b6babe"></a><!-- doxytag: member="itpp::Gamma_RNG::setup" ref="dfaae19411e39aa87e1f72e409b6babe" args="(double a0, double b0)" --> |
---|
86 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#dfaae19411e39aa87e1f72e409b6babe">setup</a> (double a0, double b0)</td></tr> |
---|
87 | |
---|
88 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set lambda. <br></td></tr> |
---|
89 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8e666953249038f262cece2d3ed952d6"></a><!-- doxytag: member="itpp::Gamma_RNG::get_setup" ref="8e666953249038f262cece2d3ed952d6" args="() const " --> |
---|
90 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#8e666953249038f262cece2d3ed952d6">get_setup</a> () const </td></tr> |
---|
91 | |
---|
92 | <tr><td class="mdescLeft"> </td><td class="mdescRight">get lambda <br></td></tr> |
---|
93 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="98e2e65456bca33fca602b2bd607235e"></a><!-- doxytag: member="itpp::Gamma_RNG::operator()" ref="98e2e65456bca33fca602b2bd607235e" args="()" --> |
---|
94 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#98e2e65456bca33fca602b2bd607235e">operator()</a> ()</td></tr> |
---|
95 | |
---|
96 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get one sample. <br></td></tr> |
---|
97 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d407bbcda8a39e3f07cac3fdf58ca430"></a><!-- doxytag: member="itpp::Gamma_RNG::operator()" ref="d407bbcda8a39e3f07cac3fdf58ca430" args="(int n)" --> |
---|
98 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#d407bbcda8a39e3f07cac3fdf58ca430">operator()</a> (int n)</td></tr> |
---|
99 | |
---|
100 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a sample vector. <br></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7b82b9d6c35579ab04f1a86a17571b47"></a><!-- doxytag: member="itpp::Gamma_RNG::operator()" ref="7b82b9d6c35579ab04f1a86a17571b47" args="(int h, int w)" --> |
---|
102 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Gamma__RNG.html#7b82b9d6c35579ab04f1a86a17571b47">operator()</a> (int h, int w)</td></tr> |
---|
103 | |
---|
104 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Get a sample matrix. <br></td></tr> |
---|
105 | </table> |
---|
106 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
107 | Gamma distribution. <hr>The documentation for this class was generated from the following files:<ul> |
---|
108 | <li><a class="el" href="itpp__ext_8h-source.html">itpp_ext.h</a><li>itpp_ext.cpp</ul> |
---|
109 | </div> |
---|
110 | <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 24 21:53:06 2009 for mixpp by |
---|
111 | <a href="http://www.doxygen.org/index.html"> |
---|
112 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
113 | </body> |
---|
114 | </html> |
---|