Show
Ignore:
Timestamp:
10/12/09 13:49:39 (15 years ago)
Author:
mido
Message:

\doc directory cleaned a bit

Files:
1 modified

Legend:

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

    r641 r651  
    1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
    2 <html xmlns="http://www.w3.org/1999/xhtml"> 
    3 <head> 
    4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 
     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"> 
    53<title>mixpp: bdm::mDirich Class Reference</title> 
    6 <link href="tabs.css" rel="stylesheet" type="text/css"/> 
    7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> 
    8 </head> 
    9 <body> 
    10 <!-- Generated by Doxygen 1.6.1 --> 
     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.9 --> 
    118<script type="text/javascript"> 
    129<!-- 
     
    7168</div> 
    7269<div class="contents"> 
    73 <h1>bdm::mDirich Class Reference</h1><!-- doxytag: class="bdm::mDirich" --><!-- doxytag: inherits="mpdf_internal&lt; eDirich &gt;" --><hr/><a name="_details"></a><h2>Detailed Description</h2> 
    74 <p>Random Walk on Dirichlet Using simple assignment </p> 
    75 <p class="formulaDsp"> 
    76 <img class="formulaDsp" alt="\[ \beta = rvc / k + \beta_c \]" src="form_188.png"/> 
    77 </p> 
    78 <p> hence, mean value = rvc, variance = (k+1)*mean*mean;</p> 
    79 <p>The greater k is, the greater is the variance of the random walk;</p> 
    80 <p><img class="formulaInl" alt="$ \beta_c $" src="form_189.png"/> is used as regularizing element to avoid corner cases, i.e. when one element of rvc is zero. By default is it set to 0.1; </p> 
    81  
    82 <p><code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code></p> 
    83  
    84 <p><a href="classbdm_1_1mDirich-members.html">List of all members.</a></p> 
    85 <table border="0" cellpadding="0" cellspacing="0"> 
    86 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 
    87 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78a06fc013ca7fc8dbc13ee899e3b0d0"></a><!-- doxytag: member="bdm::mDirich::condition" ref="a78a06fc013ca7fc8dbc13ee899e3b0d0" args="(const vec &amp;val)" --> 
    88 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a78a06fc013ca7fc8dbc13ee899e3b0d0">condition</a> (const vec &amp;val)</td></tr> 
    89 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. <br/></td></tr> 
    90 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#ac1e6f42277b97f700ea1b6045cb6b2d7">from_setting</a> (const Setting &amp;set)</td></tr> 
    91 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abd6dfd941c1cf5092b02d23f58d7bde4"></a><!-- doxytag: member="bdm::mDirich::validate" ref="abd6dfd941c1cf5092b02d23f58d7bde4" args="()" --> 
    92 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#abd6dfd941c1cf5092b02d23f58d7bde4">validate</a> ()</td></tr> 
    93 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
    94 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mDirich::e" ref="a6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 
    95 <a class="el" href="classbdm_1_1eDirich.html">eDirich</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 
    96 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function to iepdf <br/></td></tr> 
    97 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::mDirich::samplecond" ref="ad8e547695d1cc19219b91164d825c930" args="(const vec &amp;cond)" --> 
    98 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ad8e547695d1cc19219b91164d825c930">samplecond</a> (const vec &amp;cond)</td></tr> 
    99 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br/></td></tr> 
    100 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::mDirich::evallogcond" ref="a89076e62b8d7df7616bad68c94591948" args="(const vec &amp;val, const vec &amp;cond)" --> 
    101 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a89076e62b8d7df7616bad68c94591948">evallogcond</a> (const vec &amp;val, const vec &amp;cond)</td></tr> 
    102 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br/></td></tr> 
    103 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="ae28c214e3063733a6e4d17738941c61c" args="(const mat &amp;Dt, const vec &amp;cond)" --> 
    104 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae28c214e3063733a6e4d17738941c61c">evallogcond_m</a> (const mat &amp;Dt, const vec &amp;cond)</td></tr> 
    105 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for matrices. <br/></td></tr> 
    106 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="ae82db07ce8af02f29cfd81e014edb3db" args="(const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)" --> 
    107 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#ae82db07ce8af02f29cfd81e014edb3db">evallogcond_m</a> (const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)</td></tr> 
    108 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for Array&lt;vec&gt;. <br/></td></tr> 
    109 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::mDirich::samplecond_m" ref="a9554c554054da2d22cb8e908ae9c8823" args="(const vec &amp;cond, int N)" --> 
    110 virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a9554c554054da2d22cb8e908ae9c8823">samplecond_m</a> (const vec &amp;cond, int N)</td></tr> 
    111 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of samplecond. <br/></td></tr> 
    112 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mDirich::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
    113 virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
    114 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 
    115 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mDirich::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
    116 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
    117 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 
     70<h1>bdm::mDirich Class Reference</h1><!-- doxytag: class="bdm::mDirich" --><!-- doxytag: inherits="mpdf_internal&lt; eDirich &gt;" --><code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code> 
     71<p> 
     72 
     73<p> 
     74<a href="classbdm_1_1mDirich-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
     75<tr><td></td></tr> 
     76<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
     77<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="78a06fc013ca7fc8dbc13ee899e3b0d0"></a><!-- doxytag: member="bdm::mDirich::condition" ref="78a06fc013ca7fc8dbc13ee899e3b0d0" args="(const vec &amp;val)" --> 
     78void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#78a06fc013ca7fc8dbc13ee899e3b0d0">condition</a> (const vec &amp;val)</td></tr> 
     79 
     80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">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. <br></td></tr> 
     81<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#c1e6f42277b97f700ea1b6045cb6b2d7">from_setting</a> (const Setting &amp;set)</td></tr> 
     82 
     83<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bd6dfd941c1cf5092b02d23f58d7bde4"></a><!-- doxytag: member="bdm::mDirich::validate" ref="bd6dfd941c1cf5092b02d23f58d7bde4" args="()" --> 
     84void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#bd6dfd941c1cf5092b02d23f58d7bde4">validate</a> ()</td></tr> 
     85 
     86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr> 
     87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6b4d1cb8d7e230e313b4f0c905874d5a"></a><!-- doxytag: member="bdm::mDirich::e" ref="6b4d1cb8d7e230e313b4f0c905874d5a" args="()" --> 
     88<a class="el" href="classbdm_1_1eDirich.html">eDirich</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#6b4d1cb8d7e230e313b4f0c905874d5a">e</a> ()</td></tr> 
     89 
     90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function to iepdf <br></td></tr> 
     91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8e547695d1cc19219b91164d825c930"></a><!-- doxytag: member="bdm::mDirich::samplecond" ref="d8e547695d1cc19219b91164d825c930" args="(const vec &amp;cond)" --> 
     92vec&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> 
     93 
     94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements samplecond using <code>condition()</code>. <br></td></tr> 
     95<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="89076e62b8d7df7616bad68c94591948"></a><!-- doxytag: member="bdm::mDirich::evallogcond" ref="89076e62b8d7df7616bad68c94591948" args="(const vec &amp;val, const vec &amp;cond)" --> 
     96double&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> 
     97 
     98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reimplements evallogcond using <code>condition()</code>. <br></td></tr> 
     99<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e28c214e3063733a6e4d17738941c61c"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="e28c214e3063733a6e4d17738941c61c" args="(const mat &amp;Dt, const vec &amp;cond)" --> 
     100virtual 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> 
     101 
     102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for matrices. <br></td></tr> 
     103<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e82db07ce8af02f29cfd81e014edb3db"></a><!-- doxytag: member="bdm::mDirich::evallogcond_m" ref="e82db07ce8af02f29cfd81e014edb3db" args="(const Array&lt; vec &gt; &amp;Dt, const vec &amp;cond)" --> 
     104virtual 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> 
     105 
     106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of evallogcond for Array&lt;vec&gt;. <br></td></tr> 
     107<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9554c554054da2d22cb8e908ae9c8823"></a><!-- doxytag: member="bdm::mDirich::samplecond_m" ref="9554c554054da2d22cb8e908ae9c8823" args="(const vec &amp;cond, int N)" --> 
     108virtual 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> 
     109 
     110<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efficient version of samplecond. <br></td></tr> 
     111<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::mDirich::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> 
     112virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     113 
     114<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 
     115<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::mDirich::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
     116virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
     117 
     118<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> 
    118119<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    119 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 
    120 <br/><br/></div></td></tr> 
    121 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::mDirich::_rv" ref="aaa0095f80870f15209bca68a8a7bad8a" args="() const " --> 
     120<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aa0095f80870f15209bca68a8a7bad8a"></a><!-- doxytag: member="bdm::mDirich::_rv" ref="aa0095f80870f15209bca68a8a7bad8a" args="() const " --> 
    122121const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rv</b> () const </td></tr> 
    123 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::mDirich::_rvc" ref="a739d5202899bb56792a547c74e517a11" args="() const " --> 
     122 
     123<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="739d5202899bb56792a547c74e517a11"></a><!-- doxytag: member="bdm::mDirich::_rvc" ref="739d5202899bb56792a547c74e517a11" args="() const " --> 
    124124const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>_rvc</b> () const </td></tr> 
    125 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mDirich::dimension" ref="aeea4a999ed9679181335927e9cb66d28" args="() const " --> 
     125 
     126<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eea4a999ed9679181335927e9cb66d28"></a><!-- doxytag: member="bdm::mDirich::dimension" ref="eea4a999ed9679181335927e9cb66d28" args="() const " --> 
    126127int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimension</b> () const </td></tr> 
    127 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mDirich::dimensionc" ref="a35e135910aed187b7290742f50e61bc8" args="()" --> 
     128 
     129<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35e135910aed187b7290742f50e61bc8"></a><!-- doxytag: member="bdm::mDirich::dimensionc" ref="35e135910aed187b7290742f50e61bc8" args="()" --> 
    128130int&nbsp;</td><td class="memItemRight" valign="bottom"><b>dimensionc</b> ()</td></tr> 
     131 
    129132<tr><td colspan="2"><div class="groupHeader">Connection to other objects</div></td></tr> 
    130 <tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp91e4120baa9617769b7119bfb087c022"></a> </p> 
    131 <br/><br/></div></td></tr> 
    132 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::mDirich::set_rvc" ref="a7631a5570e4ade1420065e8df78f4401" args="(const RV &amp;rvc0)" --> 
     133<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7631a5570e4ade1420065e8df78f4401"></a><!-- doxytag: member="bdm::mDirich::set_rvc" ref="7631a5570e4ade1420065e8df78f4401" args="(const RV &amp;rvc0)" --> 
    133134void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rvc</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rvc0)</td></tr> 
    134 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::mDirich::set_rv" ref="a18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &amp;rv0)" --> 
     135 
     136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="18ac26bc2f96ae01ef4eb06178abbd75"></a><!-- doxytag: member="bdm::mDirich::set_rv" ref="18ac26bc2f96ae01ef4eb06178abbd75" args="(const RV &amp;rv0)" --> 
    135137void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_rv</b> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr> 
    136 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::mDirich::isnamed" ref="af8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> 
     138 
     139<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f8e3798150b42fd1f3e16ddbbe0e7045"></a><!-- doxytag: member="bdm::mDirich::isnamed" ref="f8e3798150b42fd1f3e16ddbbe0e7045" args="()" --> 
    137140bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isnamed</b> ()</td></tr> 
    138 <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> 
    139 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="a147afacb393324bb3f9a7a89e33f835e" args="(epdf &amp;iepdf)" --> 
    140 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a147afacb393324bb3f9a7a89e33f835e">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> &amp;<a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a>)</td></tr> 
    141 <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> 
    142 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="a7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> 
    143 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7555b377f8b5895c9b759c9628ee3e20">set_ep</a> (<a class="el" href="classbdm_1_1epdf.html">epdf</a> *iepdfp)</td></tr> 
    144 <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> 
    145 <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 
    146 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf9baed9baab754872ec59b9d45bf164"></a><!-- doxytag: member="bdm::mDirich::k" ref="acf9baed9baab754872ec59b9d45bf164" args="" --> 
    147 double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#acf9baed9baab754872ec59b9d45bf164">k</a></td></tr> 
    148 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constant <img class="formulaInl" alt="$ k $" src="form_89.png"/> of the random walk <br/></td></tr> 
    149 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44230d127f95c6da1032e4e5886204ab"></a><!-- doxytag: member="bdm::mDirich::_beta" ref="a44230d127f95c6da1032e4e5886204ab" args="" --> 
    150 vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a44230d127f95c6da1032e4e5886204ab">_beta</a></td></tr> 
    151 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of beta_i <br/></td></tr> 
    152 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c367b11fc853db86e9f00143e68013a"></a><!-- doxytag: member="bdm::mDirich::betac" ref="a0c367b11fc853db86e9f00143e68013a" args="" --> 
    153 vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#a0c367b11fc853db86e9f00143e68013a">betac</a></td></tr> 
    154 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stabilizing coefficient <img class="formulaInl" alt="$ \beta_c $" src="form_189.png"/> <br/></td></tr> 
    155 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mDirich::iepdf" ref="a47bab632af15120c88aad647ae129468" args="" --> 
    156 <a class="el" href="classbdm_1_1eDirich.html">eDirich</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#a47bab632af15120c88aad647ae129468">iepdf</a></td></tr> 
    157 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal epdf used for sampling. <br/></td></tr> 
    158 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mDirich::dimc" ref="a7c1900976ff13dbc09c9729b3bbff9e6" args="" --> 
    159 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> 
    160 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the condition <br/></td></tr> 
    161 <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mDirich::rvc" ref="a5a5f08950daa08b85b01ddf4e1c36288" args="" --> 
    162 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#a5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> 
    163 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">random variable in condition <br/></td></tr> 
     141 
     142<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> 
     143<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="147afacb393324bb3f9a7a89e33f835e"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="147afacb393324bb3f9a7a89e33f835e" args="(epdf &amp;iepdf)" --> 
     144void&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> 
     145 
     146<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> 
     147<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7555b377f8b5895c9b759c9628ee3e20"></a><!-- doxytag: member="bdm::mDirich::set_ep" ref="7555b377f8b5895c9b759c9628ee3e20" args="(epdf *iepdfp)" --> 
     148void&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> 
     149 
     150<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> 
     151<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
     152<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf9baed9baab754872ec59b9d45bf164"></a><!-- doxytag: member="bdm::mDirich::k" ref="cf9baed9baab754872ec59b9d45bf164" args="" --> 
     153double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#cf9baed9baab754872ec59b9d45bf164">k</a></td></tr> 
     154 
     155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">constant <img class="formulaInl" alt="$ k $" src="form_89.png"> of the random walk <br></td></tr> 
     156<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="44230d127f95c6da1032e4e5886204ab"></a><!-- doxytag: member="bdm::mDirich::_beta" ref="44230d127f95c6da1032e4e5886204ab" args="" --> 
     157vec &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#44230d127f95c6da1032e4e5886204ab">_beta</a></td></tr> 
     158 
     159<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">cache of beta_i <br></td></tr> 
     160<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c367b11fc853db86e9f00143e68013a"></a><!-- doxytag: member="bdm::mDirich::betac" ref="0c367b11fc853db86e9f00143e68013a" args="" --> 
     161vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mDirich.html#0c367b11fc853db86e9f00143e68013a">betac</a></td></tr> 
     162 
     163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">stabilizing coefficient <img class="formulaInl" alt="$ \beta_c $" src="form_189.png"> <br></td></tr> 
     164<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="47bab632af15120c88aad647ae129468"></a><!-- doxytag: member="bdm::mDirich::iepdf" ref="47bab632af15120c88aad647ae129468" args="" --> 
     165<a class="el" href="classbdm_1_1eDirich.html">eDirich</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf__internal.html#47bab632af15120c88aad647ae129468">iepdf</a></td></tr> 
     166 
     167<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Internal epdf used for sampling. <br></td></tr> 
     168<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7c1900976ff13dbc09c9729b3bbff9e6"></a><!-- doxytag: member="bdm::mDirich::dimc" ref="7c1900976ff13dbc09c9729b3bbff9e6" args="" --> 
     169int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td></tr> 
     170 
     171<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the condition <br></td></tr> 
     172<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a5f08950daa08b85b01ddf4e1c36288"></a><!-- doxytag: member="bdm::mDirich::rvc" ref="5a5f08950daa08b85b01ddf4e1c36288" args="" --> 
     173<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td></tr> 
     174 
     175<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">random variable in condition <br></td></tr> 
    164176</table> 
    165 <hr/><h2>Member Function Documentation</h2> 
    166 <a class="anchor" id="ac1e6f42277b97f700ea1b6045cb6b2d7"></a><!-- doxytag: member="bdm::mDirich::from_setting" ref="ac1e6f42277b97f700ea1b6045cb6b2d7" args="(const Setting &amp;set)" --> 
     177<hr><a name="_details"></a><h2>Detailed Description</h2> 
     178Random Walk on Dirichlet Using simple assignment <p class="formulaDsp"> 
     179<img class="formulaDsp" alt="\[ \beta = rvc / k + \beta_c \]" src="form_188.png"> 
     180<p> 
     181 hence, mean value = rvc, variance = (k+1)*mean*mean;<p> 
     182The greater k is, the greater is the variance of the random walk;<p> 
     183<img class="formulaInl" alt="$ \beta_c $" src="form_189.png"> is used as regularizing element to avoid corner cases, i.e. when one element of rvc is zero. By default is it set to 0.1; <hr><h2>Member Function Documentation</h2> 
     184<a class="anchor" name="c1e6f42277b97f700ea1b6045cb6b2d7"></a><!-- doxytag: member="bdm::mDirich::from_setting" ref="c1e6f42277b97f700ea1b6045cb6b2d7" args="(const Setting &amp;set)" --> 
    167185<div class="memitem"> 
    168186<div class="memproto"> 
    169187      <table class="memname"> 
    170188        <tr> 
    171           <td class="memname">void bdm::mDirich::from_setting </td> 
     189          <td class="memname">void bdm::mDirich::from_setting           </td> 
    172190          <td>(</td> 
    173191          <td class="paramtype">const Setting &amp;&nbsp;</td> 
    174           <td class="paramname"> <em>set</em></td> 
     192          <td class="paramname"> <em>set</em>          </td> 
    175193          <td>&nbsp;)&nbsp;</td> 
    176194          <td><code> [inline, virtual]</code></td> 
     
    179197</div> 
    180198<div class="memdoc"> 
    181 <p>Create Dirichlet random walk </p> 
    182 <p class="formulaDsp"> 
    183 <img class="formulaDsp" alt="\[ f(rv|rvc) = Di(rvc*k) \]" src="form_190.png"/> 
    184 </p> 
    185 <p> from structure </p> 
    186 <div class="fragment"><pre class="fragment">                <span class="keyword">class </span>= &apos;mDirich&apos;; 
    187                 <a class="code" href="classbdm_1_1mDirich.html#acf9baed9baab754872ec59b9d45bf164" title="constant  of the random walk">k</a> = 1;                      <span class="comment">// multiplicative constant k</span> 
     199 
     200<p> 
     201Create Dirichlet random walk <p class="formulaDsp"> 
     202<img class="formulaDsp" alt="\[ f(rv|rvc) = Di(rvc*k) \]" src="form_190.png"> 
     203<p> 
     204 from structure <div class="fragment"><pre class="fragment">                <span class="keyword">class </span>= 'mDirich'; 
     205                <a class="code" href="classbdm_1_1mDirich.html#cf9baed9baab754872ec59b9d45bf164" title="constant  of the random walk">k</a> = 1;                      <span class="comment">// multiplicative constant k</span> 
    188206                --- optional --- 
    189                 rv = RV({<span class="stringliteral">&apos;name&apos;</span>},size)      <span class="comment">// description of RV</span> 
     207                rv = RV({<span class="stringliteral">'name'</span>},size)      <span class="comment">// description of RV</span> 
    190208                beta0 = [];                 <span class="comment">// initial value of beta</span> 
    191                 <a class="code" href="classbdm_1_1mDirich.html#a0c367b11fc853db86e9f00143e68013a" title="stabilizing coefficient ">betac</a> = [];                 <span class="comment">// initial value of beta</span> 
     209                <a class="code" href="classbdm_1_1mDirich.html#0c367b11fc853db86e9f00143e68013a" title="stabilizing coefficient ">betac</a> = [];                 <span class="comment">// initial value of beta</span> 
    192210</pre></div>  
    193 <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#a30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 
    194  
    195 <p>References <a class="el" href="exp__family_8h_source.html#l00362">_beta</a>, <a class="el" href="exp__family_8h_source.html#l00364">betac</a>, <a class="el" href="bdmbase_8h_source.html#l00235">bdm::RV::copy_t()</a>, <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, <a class="el" href="exp__family_8h_source.html#l00360">k</a>, <a class="el" href="bdmbase_8h_source.html#l00461">bdm::mpdf::rvc</a>, and <a class="el" href="exp__family_8h_source.html#l00397">validate()</a>.</p> 
    196  
    197 </div> 
    198 </div> 
    199 <hr/>The documentation for this class was generated from the following file:<ul> 
    200 <li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li> 
    201 </ul> 
    202 </div> 
    203 <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 27 00:49:06 2009 for mixpp by&nbsp; 
     211<p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#30a0bceb948e287d497c578e371b1667">bdm::mpdf</a>.</p> 
     212 
     213<p>References <a class="el" href="exp__family_8h_source.html#l00363">_beta</a>, <a class="el" href="exp__family_8h_source.html#l00365">betac</a>, <a class="el" href="bdmbase_8h_source.html#l00235">bdm::RV::copy_t()</a>, <a class="el" href="user__info_8h_source.html#l00451">bdm::UI::get()</a>, <a class="el" href="exp__family_8h_source.html#l00361">k</a>, <a class="el" href="bdmbase_8h_source.html#l00461">bdm::mpdf::rvc</a>, and <a class="el" href="exp__family_8h_source.html#l00398">validate()</a>.</p> 
     214 
     215</div> 
     216</div><p> 
     217<hr>The documentation for this class was generated from the following file:<ul> 
     218<li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></ul> 
     219</div> 
     220<hr size="1"><address style="text-align: right;"><small>Generated on Wed Oct 7 17:34:48 2009 for mixpp by&nbsp; 
    204221<a href="http://www.doxygen.org/index.html"> 
    205 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> 
     222<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> 
    206223</body> 
    207224</html>