Show
Ignore:
Timestamp:
08/16/09 18:14:04 (15 years ago)
Author:
smidl
Message:

Documentation regenerated

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/doc/html/classbdm_1_1mlognorm.html

    r472 r538  
    55<link href="doxygen.css" rel="stylesheet" type="text/css"> 
    66</head><body> 
    7 <!-- Generated by Doxygen 1.5.9 --> 
     7<!-- Generated by Doxygen 1.5.8 --> 
    88<script type="text/javascript"> 
    99<!-- 
     
    6868</div> 
    6969<div class="contents"> 
    70 <h1>bdm::mlognorm Class Reference</h1><!-- doxytag: class="bdm::mlognorm" --><!-- doxytag: inherits="bdm::mpdf" -->Log-Normal random walk.   
     70<h1>bdm::mlognorm Class Reference</h1><!-- doxytag: class="bdm::mlognorm" --><!-- doxytag: inherits="mpdf_internal&lt; elognorm &gt;" -->Log-Normal random walk.   
    7171<a href="#_details">More...</a> 
    7272<p> 
    73 <code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code> 
     73<code>#include &lt;<a class="el" href="exp__family_8h-source.html">exp_family.h</a>&gt;</code> 
    7474<p> 
    7575 
     
    8686 
    8787<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set value of <code>k</code>. <br></td></tr> 
    88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9106d8fd8bdf2b6be675ffd8f3ca584e"></a><!-- doxytag: member="bdm::mlognorm::condition" ref="9106d8fd8bdf2b6be675ffd8f3ca584e" args="(const vec &amp;val)" --> 
    89 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e">condition</a> (const vec &amp;val)</td></tr> 
    90  
    91 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr> 
     88<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e">condition</a> (const vec &amp;val)</td></tr> 
     89 
    9290<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#49e45ea13a869da607ef9be7a229128a">from_setting</a> (const Setting &amp;set)</td></tr> 
    9391 
     92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mlognorm::e" ref="6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 
     93<a class="el" href="classbdm_1_1elognorm.html">elognorm</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 
     94 
     95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function to iepdf <br></td></tr> 
     96<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::mlognorm::samplecond" ref="d8e547695d1cc19219b91164d825c930" args="(const vec &amp;cond)" --> 
     97vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#d8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &amp;cond)</td></tr> 
     98 
     99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br></td></tr> 
     100<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::mlognorm::evallogcond" ref="89076e62b8d7df7616bad68c94591948" args="(const vec &amp;val, const vec &amp;cond)" --> 
     101double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &amp;val, const vec &amp;cond)</td></tr> 
     102 
     103<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br></td></tr> 
     104<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::mlognorm::evallogcond_m" ref="e28c214e3063733a6e4d17738941c61c" args="(const mat &amp;Dt, const vec &amp;cond)" --> 
     105virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &amp;Dt, const vec &amp;cond)</td></tr> 
     106 
     107<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for matrices. <br></td></tr> 
     108<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::mlognorm::evallogcond_m" ref="e82db07ce8af02f29cfd81e014edb3db" args="(const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)" --> 
     109virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#e82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)</td></tr> 
     110 
     111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for Array&lt;vec&gt;. <br></td></tr> 
     112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::mlognorm::samplecond_m" ref="9554c554054da2d22cb8e908ae9c8823" args="(const vec &amp;cond, int N)" --> 
     113virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &amp;cond, int N)</td></tr> 
     114 
     115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of samplecond. <br></td></tr> 
    94116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mlognorm::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> 
    95117virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     
    104126 
    105127<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr> 
    106 <tr><td colspan="2"><div class="groupHeader">Matematical operations</div></td></tr> 
    107 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#b024f2e636e5507c755de4a6df1f1e99">samplecond</a> (const vec &amp;cond)</td></tr> 
    108  
    109 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">.  <a href="#b024f2e636e5507c755de4a6df1f1e99"></a><br></td></tr> 
    110 <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#6e497d501331057309d2fddf63259d1a">samplecond_m</a> (const vec &amp;cond, int N)</td></tr> 
    111  
    112 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns.  <a href="#6e497d501331057309d2fddf63259d1a"></a><br></td></tr> 
    113 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cfcbb897bf42015a7979b17d891fd9b5"></a><!-- doxytag: member="bdm::mlognorm::evallogcond" ref="cfcbb897bf42015a7979b17d891fd9b5" args="(const vec &amp;dt, const vec &amp;cond)" --> 
    114 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#cfcbb897bf42015a7979b17d891fd9b5">evallogcond</a> (const vec &amp;dt, const vec &amp;cond)</td></tr> 
    115  
    116 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr> 
    117 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f97c61ecfb1f44ef6f08dee7bc15eab3"></a><!-- doxytag: member="bdm::mlognorm::evallogcond_m" ref="f97c61ecfb1f44ef6f08dee7bc15eab3" args="(const mat &amp;Dt, const vec &amp;cond)" --> 
    118 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#f97c61ecfb1f44ef6f08dee7bc15eab3">evallogcond_m</a> (const mat &amp;Dt, const vec &amp;cond)</td></tr> 
    119  
    120 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> 
    121 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d7d3c23e3273e97c12c396dcc06b606"></a><!-- doxytag: member="bdm::mlognorm::evallogcond_m" ref="2d7d3c23e3273e97c12c396dcc06b606" args="(const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)" --> 
    122 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#2d7d3c23e3273e97c12c396dcc06b606">evallogcond_m</a> (const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)</td></tr> 
    123  
    124 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Array&lt;vec&gt; version of evallogcond. <br></td></tr> 
    125128<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    126 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5571482d150fbcb72cc36f6694ce1a10"></a><!-- doxytag: member="bdm::mlognorm::_rv" ref="5571482d150fbcb72cc36f6694ce1a10" args="()" --> 
    127 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rv</b> ()</td></tr> 
     129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="222d5280e309c5a053ba73841e98c151"></a><!-- doxytag: member="bdm::mlognorm::_rv" ref="222d5280e309c5a053ba73841e98c151" args="() const " --> 
     130<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> 
    128131 
    129132<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="26001264236846897bd11e4baad47245"></a><!-- doxytag: member="bdm::mlognorm::_rvc" ref="26001264236846897bd11e4baad47245" args="()" --> 
    130133<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rvc</b> ()</td></tr> 
    131134 
    132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c2bae3e1e90874e72941863974ec0ed"></a><!-- doxytag: member="bdm::mlognorm::dimension" ref="1c2bae3e1e90874e72941863974ec0ed" args="()" --> 
    133 int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimension</b> ()</td></tr> 
     135<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mlognorm::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " --> 
     136int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> 
    134137 
    135138<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mlognorm::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" --> 
    136139int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 
    137  
    138 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c2d7d3d1d75cca84993e77867d1ffbe"></a><!-- doxytag: member="bdm::mlognorm::e" ref="4c2d7d3d1d75cca84993e77867d1ffbe" args="()" --> 
    139 <a class="el" href="classbdm_1_1epdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>e</b> ()</td></tr> 
    140  
    141 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ba1b384c9c1cb18422a8ba32a5d019"></a><!-- doxytag: member="bdm::mlognorm::set_ep" ref="a4ba1b384c9c1cb18422a8ba32a5d019" args="(shared_ptr&lt; epdf &gt; ep)" --> 
    142 void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_ep</b> (<a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt; ep)</td></tr> 
    143140 
    144141<tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> 
     
    152149bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> 
    153150 
     151<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 
     152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mlognorm::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &amp;iepdf)" --> 
     153void&nbsp;</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> &amp;<a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> 
     154 
     155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> 
     156<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mlognorm::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> 
     157void&nbsp;</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> 
     158 
     159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">set internal pointer <code>ep</code> to point to given <code>iepdf</code> <br></td></tr> 
    154160<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
    155 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="849e76a1ce18b6e635d275c5d91a807f"></a><!-- doxytag: member="bdm::mlognorm::eno" ref="849e76a1ce18b6e635d275c5d91a807f" args="" --> 
    156 <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1elognorm.html">elognorm</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>eno</b></td></tr> 
    157  
    158161<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a51128a2e503b8b2ce698244b9e0db1a"></a><!-- doxytag: member="bdm::mlognorm::sig2" ref="a51128a2e503b8b2ce698244b9e0db1a" args="" --> 
    159162double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a">sig2</a></td></tr> 
     
    164167 
    165168<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access <br></td></tr> 
     169<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mlognorm::iepdf" ref="47bab632af15120c88aad647ae129468" args="" --> 
     170<a class="el" href="classbdm_1_1elognorm.html">elognorm</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a></td></tr> 
     171 
     172<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal epdf used for sampling. <br></td></tr> 
    166173<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mlognorm::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> 
    167174int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> 
     
    179186==== 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> 
    180187The standard deviation of the walk is then: <img class="formulaInl" alt="$\mu/\sqrt(k)$" src="form_79.png">. <hr><h2>Member Function Documentation</h2> 
     188<a class="anchor" name="9106d8fd8bdf2b6be675ffd8f3ca584e"></a><!-- doxytag: member="bdm::mlognorm::condition" ref="9106d8fd8bdf2b6be675ffd8f3ca584e" args="(const vec &amp;val)" --> 
     189<div class="memitem"> 
     190<div class="memproto"> 
     191      <table class="memname"> 
     192        <tr> 
     193          <td class="memname">void bdm::mlognorm::condition           </td> 
     194          <td>(</td> 
     195          <td class="paramtype">const vec &amp;&nbsp;</td> 
     196          <td class="paramname"> <em>cond</em>          </td> 
     197          <td>&nbsp;)&nbsp;</td> 
     198          <td><code> [inline, virtual]</code></td> 
     199        </tr> 
     200      </table> 
     201</div> 
     202<div class="memdoc"> 
     203 
     204<p> 
     205Update <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  
     206<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf__internal.html#1ac61da081667fc54bcd050cc4f6a93e">bdm::mpdf_internal&lt; elognorm &gt;</a>.</p> 
     207 
     208<p>References <a class="el" href="exp__family_8h-source.html#l00914">mu</a>, and <a class="el" href="exp__family_8h-source.html#l00911">sig2</a>.</p> 
     209 
     210<p>Referenced by <a class="el" href="exp__family_8cpp-source.html#l00336">from_setting()</a>.</p> 
     211 
     212</div> 
     213</div><p> 
    181214<a class="anchor" name="49e45ea13a869da607ef9be7a229128a"></a><!-- doxytag: member="bdm::mlognorm::from_setting" ref="49e45ea13a869da607ef9be7a229128a" args="(const Setting &amp;set)" --> 
    182215<div class="memitem"> 
     
    197230<p> 
    198231<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_1mlognorm.html" title="Log-Normal random walk.">mlognorm</a><p> 
    199 The <a class="el" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk.">mlognorm</a> is constructed from a structure with fields: <div class="fragment"><pre class="fragment">                        system = { 
    200                                 type = <span class="stringliteral">"mlognorm"</span>; 
    201                                 k = 0.1;                                  <span class="comment">// constant k</span> 
    202                                 mu0 = [1., 1.]; 
    203                                  
    204                                 <span class="comment">// == OPTIONAL ==</span> 
    205                                 <span class="comment">// description of y variables</span> 
    206                                 y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; 
    207                                 <span class="comment">// description of u variable</span> 
    208                                 u = {type=<span class="stringliteral">"rv"</span>; names=[];} 
    209                         }; 
     232The <a class="el" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk.">mlognorm</a> is constructed from a structure with fields: <div class="fragment"><pre class="fragment">                system = { 
     233                        type = <span class="stringliteral">"mlognorm"</span>; 
     234                        k = 0.1;                                  <span class="comment">// constant k</span> 
     235                        mu0 = [1., 1.]; 
     236                         
     237                        <span class="comment">// == OPTIONAL ==</span> 
     238                        <span class="comment">// description of y variables</span> 
     239                        y = {type=<span class="stringliteral">"rv"</span>; names=[<span class="stringliteral">"y"</span>, <span class="stringliteral">"u"</span>];}; 
     240                        <span class="comment">// description of u variable</span> 
     241                        u = {type=<span class="stringliteral">"rv"</span>; names=[];} 
     242                }; 
    210243</pre></div>  
    211244<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 
    212245 
    213 <p>References <a class="el" href="exp__family_8h_source.html#l00946">condition()</a>, <a class="el" href="user__info_8h_source.html#l00387">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h_source.html#l00938">set_parameters()</a>.</p> 
    214  
    215 </div> 
    216 </div><p> 
    217 <a class="anchor" name="b024f2e636e5507c755de4a6df1f1e99"></a><!-- doxytag: member="bdm::mlognorm::samplecond" ref="b024f2e636e5507c755de4a6df1f1e99" args="(const vec &amp;cond)" --> 
    218 <div class="memitem"> 
    219 <div class="memproto"> 
    220       <table class="memname"> 
    221         <tr> 
    222           <td class="memname">vec bdm::mpdf::samplecond           </td> 
    223           <td>(</td> 
    224           <td class="paramtype">const vec &amp;&nbsp;</td> 
    225           <td class="paramname"> <em>cond</em>          </td> 
    226           <td>&nbsp;)&nbsp;</td> 
    227           <td><code> [virtual, inherited]</code></td> 
    228         </tr> 
    229       </table> 
    230 </div> 
    231 <div class="memdoc"> 
    232  
    233 <p> 
    234 Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">.  
    235 <p> 
    236 <dl compact><dt><b>Parameters:</b></dt><dd> 
    237   <table border="0" cellspacing="2" cellpadding="0"> 
    238     <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
    239   </table> 
    240 </dl> 
    241  
    242 <p>Reimplemented in <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>.</p> 
    243  
    244 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 
    245  
    246 <p>Referenced by <a class="el" href="particles_8h_source.html#l00207">bdm::MPF&lt; BM_T &gt;::bayes()</a>, <a class="el" href="particles_8cpp_source.html#l00007">bdm::PF::bayes()</a>, and <a class="el" href="datasources_8cpp_source.html#l00043">bdm::ArxDS::step()</a>.</p> 
    247  
    248 </div> 
    249 </div><p> 
    250 <a class="anchor" name="6e497d501331057309d2fddf63259d1a"></a><!-- doxytag: member="bdm::mlognorm::samplecond_m" ref="6e497d501331057309d2fddf63259d1a" args="(const vec &amp;cond, int N)" --> 
    251 <div class="memitem"> 
    252 <div class="memproto"> 
    253       <table class="memname"> 
    254         <tr> 
    255           <td class="memname">mat bdm::mpdf::samplecond_m           </td> 
    256           <td>(</td> 
    257           <td class="paramtype">const vec &amp;&nbsp;</td> 
    258           <td class="paramname"> <em>cond</em>, </td> 
    259         </tr> 
    260         <tr> 
    261           <td class="paramkey"></td> 
    262           <td></td> 
    263           <td class="paramtype">int&nbsp;</td> 
    264           <td class="paramname"> <em>N</em></td><td>&nbsp;</td> 
    265         </tr> 
    266         <tr> 
    267           <td></td> 
    268           <td>)</td> 
    269           <td></td><td></td><td><code> [virtual, inherited]</code></td> 
    270         </tr> 
    271       </table> 
    272 </div> 
    273 <div class="memdoc"> 
    274  
    275 <p> 
    276 Returns.  
    277 <p> 
    278 <dl compact><dt><b>Parameters:</b></dt><dd> 
    279   <table border="0" cellspacing="2" cellpadding="0"> 
    280     <tr><td valign="top"></td><td valign="top"><em>N</em>&nbsp;</td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_11.png">. </td></tr> 
    281     <tr><td valign="top"></td><td valign="top"><em>cond</em>&nbsp;</td><td>is numeric value of <code>rv</code> </td></tr> 
    282   </table> 
    283 </dl> 
    284  
    285 <p>References <a class="el" href="bdmbase_8h_source.html#l00376">bdm::mpdf::condition()</a>.</p> 
     246<p>References <a class="el" href="exp__family_8h-source.html#l00930">condition()</a>, <a class="el" href="user__info_8h-source.html#l00410">bdm::UI::get()</a>, and <a class="el" href="exp__family_8h-source.html#l00923">set_parameters()</a>.</p> 
    286247 
    287248</div> 
    288249</div><p> 
    289250<hr>The documentation for this class was generated from the following files:<ul> 
    290 <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a><li>exp_family.cpp</ul> 
    291 </div> 
    292 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Aug 5 00:07:03 2009 for mixpp by&nbsp; 
     251<li><a class="el" href="exp__family_8h-source.html">exp_family.h</a><li>exp_family.cpp</ul> 
     252</div> 
     253<hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 16 17:58:19 2009 for mixpp by&nbsp; 
    293254<a href="http://www.doxygen.org/index.html"> 
    294 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 
     255<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 
    295256</body> 
    296257</html>