[259] | 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"> |
---|
[287] | 3 | <title>mixpp: bdm::migamma_ref Class Reference</title> |
---|
[259] | 4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
[290] | 5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
[259] | 6 | </head><body> |
---|
[538] | 7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
[271] | 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> |
---|
[259] | 49 | <div class="navigation" id="top"> |
---|
| 50 | <div class="tabs"> |
---|
| 51 | <ul> |
---|
[271] | 52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
[259] | 53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
[290] | 54 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
[259] | 55 | <li><a href="files.html"><span>Files</span></a></li> |
---|
| 56 | </ul> |
---|
| 57 | </div> |
---|
| 58 | <div class="tabs"> |
---|
| 59 | <ul> |
---|
| 60 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
[290] | 61 | <li><a href="classes.html"><span>Class Index</span></a></li> |
---|
[259] | 62 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 63 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 64 | </ul> |
---|
| 65 | </div> |
---|
[287] | 66 | <div class="navpath"><b>bdm</b>::<a class="el" href="classbdm_1_1migamma__ref.html">migamma_ref</a> |
---|
[259] | 67 | </div> |
---|
| 68 | </div> |
---|
| 69 | <div class="contents"> |
---|
[290] | 70 | <h1>bdm::migamma_ref Class Reference</h1><!-- doxytag: class="bdm::migamma_ref" --><!-- doxytag: inherits="bdm::migamma" -->Inverse-Gamma random walk around a fixed point. |
---|
| 71 | <a href="#_details">More...</a> |
---|
[259] | 72 | <p> |
---|
[538] | 73 | <code>#include <<a class="el" href="exp__family_8h-source.html">exp_family.h</a>></code> |
---|
[290] | 74 | <p> |
---|
[259] | 75 | |
---|
| 76 | <p> |
---|
[290] | 77 | <a href="classbdm_1_1migamma__ref-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
[259] | 78 | <tr><td></td></tr> |
---|
| 79 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
[287] | 80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f45b15a10f084991ba6b48295f10421f"></a><!-- doxytag: member="bdm::migamma_ref::migamma_ref" ref="f45b15a10f084991ba6b48295f10421f" args="()" --> |
---|
| 81 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#f45b15a10f084991ba6b48295f10421f">migamma_ref</a> ()</td></tr> |
---|
[259] | 82 | |
---|
| 83 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <br></td></tr> |
---|
[287] | 84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0b4eb278ef5d0831ec4954ba7bd2800"></a><!-- doxytag: member="bdm::migamma_ref::set_parameters" ref="b0b4eb278ef5d0831ec4954ba7bd2800" args="(double k0, vec ref0, double l0)" --> |
---|
| 85 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800">set_parameters</a> (double k0, vec ref0, double l0)</td></tr> |
---|
[259] | 86 | |
---|
| 87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> |
---|
[538] | 88 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a">condition</a> (const vec &val)</td></tr> |
---|
[259] | 89 | |
---|
[396] | 90 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d">from_setting</a> (const Setting &set)</td></tr> |
---|
[368] | 91 | |
---|
[287] | 92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8b10ab922e2a7bae2fb6bb3efc7b6151"></a><!-- doxytag: member="bdm::migamma_ref::set_parameters" ref="8b10ab922e2a7bae2fb6bb3efc7b6151" args="(int len, double k0)" --> |
---|
| 93 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151">set_parameters</a> (int len, double k0)</td></tr> |
---|
[259] | 94 | |
---|
| 95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> |
---|
[538] | 96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::migamma_ref::e" ref="6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> |
---|
| 97 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> |
---|
| 98 | |
---|
| 99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function to iepdf <br></td></tr> |
---|
| 100 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::migamma_ref::samplecond" ref="d8e547695d1cc19219b91164d825c930" args="(const vec &cond)" --> |
---|
| 101 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#d8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &cond)</td></tr> |
---|
| 102 | |
---|
| 103 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br></td></tr> |
---|
| 104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond" ref="89076e62b8d7df7616bad68c94591948" args="(const vec &val, const vec &cond)" --> |
---|
| 105 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &val, const vec &cond)</td></tr> |
---|
| 106 | |
---|
| 107 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br></td></tr> |
---|
| 108 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond_m" ref="e28c214e3063733a6e4d17738941c61c" args="(const mat &Dt, const vec &cond)" --> |
---|
| 109 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
---|
| 110 | |
---|
| 111 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for matrices. <br></td></tr> |
---|
| 112 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::migamma_ref::evallogcond_m" ref="e82db07ce8af02f29cfd81e014edb3db" args="(const Array< vec > &Dt, const vec &cond)" --> |
---|
| 113 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array< vec > &Dt, const vec &cond)</td></tr> |
---|
| 114 | |
---|
| 115 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of evallogcond for Array<vec>. <br></td></tr> |
---|
| 116 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::migamma_ref::samplecond_m" ref="9554c554054da2d22cb8e908ae9c8823" args="(const vec &cond, int N)" --> |
---|
| 117 | virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &cond, int N)</td></tr> |
---|
| 118 | |
---|
| 119 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Efficient version of samplecond. <br></td></tr> |
---|
[396] | 120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::migamma_ref::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> |
---|
| 121 | virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> |
---|
[353] | 122 | |
---|
| 123 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> |
---|
[396] | 124 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::migamma_ref::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &set) const " --> |
---|
| 125 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &set) const </td></tr> |
---|
[353] | 126 | |
---|
| 127 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> |
---|
[396] | 128 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::migamma_ref::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> |
---|
| 129 | virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> |
---|
[368] | 130 | |
---|
| 131 | <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> |
---|
[270] | 132 | <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> |
---|
[538] | 133 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::migamma_ref::_rv" ref="222d5280e309c5a053ba73841e98c151" args="() const " --> |
---|
| 134 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> |
---|
[259] | 135 | |
---|
[287] | 136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::migamma_ref::_rvc" ref="26001264236846897bd11e4baad47245" args="()" --> |
---|
[270] | 137 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr> |
---|
[259] | 138 | |
---|
[538] | 139 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::migamma_ref::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " --> |
---|
| 140 | int </td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> |
---|
[270] | 141 | |
---|
[287] | 142 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::migamma_ref::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" --> |
---|
[270] | 143 | int </td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> |
---|
| 144 | |
---|
| 145 | <tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> |
---|
[287] | 146 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::migamma_ref::set_rvc" ref="7631a5570e4ade1420065e8df78f4401" args="(const RV &rvc0)" --> |
---|
[270] | 147 | void </td><td class="memItemRight" valign="bottom"><b>set_rvc</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rvc0)</td></tr> |
---|
| 148 | |
---|
[287] | 149 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::migamma_ref::set_rv" ref="18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &rv0)" --> |
---|
[270] | 150 | void </td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &rv0)</td></tr> |
---|
| 151 | |
---|
[287] | 152 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::migamma_ref::isnamed" ref="f8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> |
---|
[270] | 153 | bool </td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> |
---|
| 154 | |
---|
[538] | 155 | <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> |
---|
| 156 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::migamma_ref::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &iepdf)" --> |
---|
| 157 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &<a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> |
---|
| 158 | |
---|
| 159 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
---|
| 160 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::migamma_ref::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> |
---|
| 161 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> |
---|
| 162 | |
---|
| 163 | <tr><td class="mdescLeft"> </td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> |
---|
[259] | 164 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
[287] | 165 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cdc1345ba8375fbdb18a69322d2f841d"></a><!-- doxytag: member="bdm::migamma_ref::l" ref="cdc1345ba8375fbdb18a69322d2f841d" args="" --> |
---|
| 166 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d">l</a></td></tr> |
---|
[259] | 167 | |
---|
| 168 | <tr><td class="mdescLeft"> </td><td class="mdescRight">parameter l <br></td></tr> |
---|
[287] | 169 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3692dc67caf4367e15564d37f45476f6"></a><!-- doxytag: member="bdm::migamma_ref::refl" ref="3692dc67caf4367e15564d37f45476f6" args="" --> |
---|
| 170 | vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6">refl</a></td></tr> |
---|
[259] | 171 | |
---|
| 172 | <tr><td class="mdescLeft"> </td><td class="mdescRight">reference vector <br></td></tr> |
---|
[287] | 173 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dc56bc9da542e0103ec16b9be8e5e38c"></a><!-- doxytag: member="bdm::migamma_ref::k" ref="dc56bc9da542e0103ec16b9be8e5e38c" args="" --> |
---|
| 174 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c">k</a></td></tr> |
---|
[259] | 175 | |
---|
[397] | 176 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Constant <img class="formulaInl" alt="$k$" src="form_76.png">. <br></td></tr> |
---|
[287] | 177 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9847093da59a9ba0ebb68d2c592f5dc"></a><!-- doxytag: member="bdm::migamma_ref::_alpha" ref="c9847093da59a9ba0ebb68d2c592f5dc" args="" --> |
---|
| 178 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc">_alpha</a></td></tr> |
---|
[259] | 179 | |
---|
[472] | 180 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.alpha <br></td></tr> |
---|
[287] | 181 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0d854c047001b5465cf1ba21f52904b5"></a><!-- doxytag: member="bdm::migamma_ref::_beta" ref="0d854c047001b5465cf1ba21f52904b5" args="" --> |
---|
| 182 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5">_beta</a></td></tr> |
---|
| 183 | |
---|
[472] | 184 | <tr><td class="mdescLeft"> </td><td class="mdescRight">cache of iepdf.beta <br></td></tr> |
---|
[538] | 185 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::migamma_ref::iepdf" ref="47bab632af15120c88aad647ae129468" args="" --> |
---|
| 186 | <a class="el" href="classbdm_1_1eigamma.html">eigamma</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a></td></tr> |
---|
| 187 | |
---|
| 188 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal epdf used for sampling. <br></td></tr> |
---|
[287] | 189 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::migamma_ref::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> |
---|
[270] | 190 | int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> |
---|
[259] | 191 | |
---|
[270] | 192 | <tr><td class="mdescLeft"> </td><td class="mdescRight">dimension of the condition <br></td></tr> |
---|
[287] | 193 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::migamma_ref::rvc" ref="5a5f08950daa08b85b01ddf4e1c36288" args="" --> |
---|
[259] | 194 | <a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> |
---|
| 195 | |
---|
| 196 | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> |
---|
| 197 | </table> |
---|
[290] | 198 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
| 199 | Inverse-Gamma random walk around a fixed point. |
---|
| 200 | <p> |
---|
[397] | 201 | Mean value, <img class="formulaInl" alt="$\mu$" src="form_75.png">, of this density is given by a geometric combination of <code>rvc</code> and given fixed point, <img class="formulaInl" alt="$p$" src="form_66.png">. <img class="formulaInl" alt="$l$" src="form_85.png"> is the coefficient of the geometric combimation <p class="formulaDsp"> |
---|
| 202 | <img class="formulaDsp" alt="\[ \mu = \mu_{t-1} ^{l} p^{1-l}\]" src="form_86.png"> |
---|
[290] | 203 | <p> |
---|
| 204 | <p> |
---|
[397] | 205 | ==== Check == vv = Standard deviation of the random walk is proportional to one <img class="formulaInl" alt="$k$" src="form_76.png">-th the mean. This is achieved by setting <img class="formulaInl" alt="$\alpha=k$" src="form_77.png"> and <img class="formulaInl" alt="$\beta=k/\mu$" src="form_78.png">.<p> |
---|
| 206 | The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_79.png">. <hr><h2>Member Function Documentation</h2> |
---|
[538] | 207 | <a class="anchor" name="ae86b2e4ff963d62e05d4e130514634a"></a><!-- doxytag: member="bdm::migamma_ref::condition" ref="ae86b2e4ff963d62e05d4e130514634a" args="(const vec &val)" --> |
---|
[368] | 208 | <div class="memitem"> |
---|
| 209 | <div class="memproto"> |
---|
| 210 | <table class="memname"> |
---|
| 211 | <tr> |
---|
[538] | 212 | <td class="memname">void bdm::migamma_ref::condition </td> |
---|
[368] | 213 | <td>(</td> |
---|
[259] | 214 | <td class="paramtype">const vec & </td> |
---|
[269] | 215 | <td class="paramname"> <em>cond</em> </td> |
---|
| 216 | <td> ) </td> |
---|
[538] | 217 | <td><code> [inline, virtual]</code></td> |
---|
[259] | 218 | </tr> |
---|
| 219 | </table> |
---|
| 220 | </div> |
---|
| 221 | <div class="memdoc"> |
---|
| 222 | |
---|
| 223 | <p> |
---|
[538] | 224 | Update <code>iepdf</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling , where is random variable, rv, and...">mpdf</a> conditioned on <code>rvc</code> = cond This function provides convenient reimplementation in offsprings |
---|
| 225 | <p>Reimplemented from <a class="el" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c">bdm::migamma</a>.</p> |
---|
[259] | 226 | |
---|
[590] | 227 | <p>References <a class="el" href="exp__family_8h-source.html#l00849">l</a>, and <a class="el" href="exp__family_8h-source.html#l00851">refl</a>.</p> |
---|
[259] | 228 | |
---|
| 229 | </div> |
---|
| 230 | </div><p> |
---|
[538] | 231 | <a class="anchor" name="9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d"></a><!-- doxytag: member="bdm::migamma_ref::from_setting" ref="9e7e0f7d2aa9ecca8ec1af8cbcb5ef1d" args="(const Setting &set)" --> |
---|
[259] | 232 | <div class="memitem"> |
---|
| 233 | <div class="memproto"> |
---|
| 234 | <table class="memname"> |
---|
| 235 | <tr> |
---|
[538] | 236 | <td class="memname">void bdm::migamma_ref::from_setting </td> |
---|
[259] | 237 | <td>(</td> |
---|
[538] | 238 | <td class="paramtype">const Setting & </td> |
---|
| 239 | <td class="paramname"> <em>set</em> </td> |
---|
| 240 | <td> ) </td> |
---|
| 241 | <td><code> [virtual]</code></td> |
---|
[259] | 242 | </tr> |
---|
| 243 | </table> |
---|
| 244 | </div> |
---|
| 245 | <div class="memdoc"> |
---|
| 246 | |
---|
| 247 | <p> |
---|
[538] | 248 | <a class="el" href="classbdm_1_1UI.html" title="UI is an abstract class which collects all the auxiliary functions useful to prepare...">UI</a> for <a class="el" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point.">migamma_ref</a><p> |
---|
| 249 | The <a class="el" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point.">migamma_ref</a> is constructed from a structure with fields: <div class="fragment"><pre class="fragment"> system = { |
---|
| 250 | type = <span class="stringliteral">"migamma_ref"</span>; |
---|
| 251 | ref = [1<a class="code" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a" title="access function to iepdf">e</a>-5; 1<a class="code" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a" title="access function to iepdf">e</a>-5; 1<a class="code" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a" title="access function to iepdf">e</a>-2 1<a class="code" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a" title="access function to iepdf">e</a>-3]; <span class="comment">// reference vector</span> |
---|
| 252 | <a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a> = 0.999; <span class="comment">// constant l</span> |
---|
| 253 | <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a> = 0.1; <span class="comment">// constant k</span> |
---|
| 254 | |
---|
| 255 | <span class="comment">// == OPTIONAL ==</span> |
---|
| 256 | <span class="comment">// description of y variables</span> |
---|
| 257 | y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; |
---|
| 258 | <span class="comment">// description of u variable</span> |
---|
| 259 | u = {type=<span class="stringliteral">"rv"</span>; names=[];} |
---|
| 260 | }; |
---|
| 261 | </pre></div><p> |
---|
| 262 | Result if |
---|
| 263 | <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> |
---|
[259] | 264 | |
---|
[590] | 265 | <p>References <a class="el" href="user__info_8h-source.html#l00443">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h-source.html#l00856">set_parameters()</a>.</p> |
---|
[259] | 266 | |
---|
| 267 | </div> |
---|
| 268 | </div><p> |
---|
[368] | 269 | <hr>The documentation for this class was generated from the following files:<ul> |
---|
[538] | 270 | <li><a class="el" href="exp__family_8h-source.html">exp_family.h</a><li>exp_family.cpp</ul> |
---|
[397] | 271 | </div> |
---|
[590] | 272 | <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 29 20:49:46 2009 for mixpp by |
---|
[259] | 273 | <a href="http://www.doxygen.org/index.html"> |
---|
[538] | 274 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
[259] | 275 | </body> |
---|
| 276 | </html> |
---|