Changeset 384 for library/doc
- Timestamp:
- 06/19/09 10:17:25 (16 years ago)
- Location:
- library/doc
- Files:
-
- 283 modified
- 11 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified library/doc/html/annotated.html ¶
r375 r384 75 75 <tr><td class="indexkey"><a class="el" href="classbdm_1_1BMEF.html">bdm::BMEF</a></td><td class="indexvalue">Estimator for Exponential family </td></tr> 76 76 <tr><td class="indexkey"><a class="el" href="classchmat.html">chmat</a></td><td class="indexvalue">Symmetric matrix stored in square root decomposition using upper cholesky </td></tr> 77 <tr><td class="indexkey"><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td class="indexvalue"> Abstract composition of pdfs, will be used for specific classesthis abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> </td></tr>77 <tr><td class="indexkey"><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td class="indexvalue">Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> </td></tr> 78 78 <tr><td class="indexkey"><a class="el" href="classbdm_1_1constfn.html">bdm::constfn</a></td><td class="indexvalue">Class representing function <img class="formulaInl" alt="$f(x) = a$" src="form_87.png">, here <code>rv</code> is empty </td></tr> 79 79 <tr><td class="indexkey"><a class="el" href="classbdm_1_1CsvFileDS.html">bdm::CsvFileDS</a></td><td class="indexvalue">CSV file data storage The constructor creates <code>Data</code> matrix from the records in a CSV file <code>fname</code>. The orientation can be of two types: 1. <code>BY_COL</code> which is default - the data are stored in columns; one column per time <img class="formulaInl" alt="$t$" src="form_53.png">, one row per data item. 2. <code>BY_ROW</code> if the data are stored the classical CSV style. Then each column stores the values for data item, for ex. <img class="formulaInl" alt="$[y_{t} y_{t-1} ...]$" src="form_54.png">, one row for each discrete time instant </td></tr> … … 121 121 <tr><td class="indexkey"><a class="el" href="classbdm_1_1memlog.html">bdm::memlog</a></td><td class="indexvalue">Logging into matrices in data format in memory </td></tr> 122 122 <tr><td class="indexkey"><a class="el" href="classbdm_1_1mepdf.html">bdm::mepdf</a></td><td class="indexvalue">Unconditional <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>, allows using <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> in the role of <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> </td></tr> 123 <tr><td class="indexkey"><a class="el" href="classbdm_1_1merger .html">bdm::merger</a></td><td class="indexvalue">Function for general combination of pdfs</td></tr>123 <tr><td class="indexkey"><a class="el" href="classbdm_1_1merger__base.html">bdm::merger_base</a></td><td class="indexvalue">Base class for general combination of pdfs on discrete support </td></tr> 124 124 <tr><td class="indexkey"><a class="el" href="classbdm_1_1mgamma.html">bdm::mgamma</a></td><td class="indexvalue">Gamma random walk </td></tr> 125 125 <tr><td class="indexkey"><a class="el" href="classbdm_1_1mgamma__fix.html">bdm::mgamma_fix</a></td><td class="indexvalue">Gamma random walk around a fixed point </td></tr> … … 154 154 </table> 155 155 </div> 156 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 156 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 157 157 <a href="http://www.doxygen.org/index.html"> 158 158 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/arx_8h-source.html ¶
r375 r384 143 143 <a name="l00152"></a>00152 144 144 </pre></div></div> 145 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 145 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 146 146 <a href="http://www.doxygen.org/index.html"> 147 147 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/arx_8h.html ¶
r375 r384 90 90 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 91 91 Using IT++ for numerical operations ----------------------------------- </div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/arx__test_8cpp.html ¶
r375 r384 82 82 This class tests functions ARX::bayes (Bayes rule) ARX::structure_est and ARX::predictor_student<p> 83 83 Untested functions: none. </div> 84 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 84 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 85 85 <a href="http://www.doxygen.org/index.html"> 86 86 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/arx_ui.html ¶
r375 r384 159 159 </div> 160 160 </div> 161 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 161 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 162 162 <a href="http://www.doxygen.org/index.html"> 163 163 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/bdmroot_8h-source.html ¶
r375 r384 106 106 <a name="l00059"></a>00059 <span class="preprocessor">#endif // BDMROOT_H</span> 107 107 </pre></div></div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/bdmroot_8h.html ¶
r375 r384 86 86 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 87 87 Using IT++ for numerical operations ----------------------------------- </div> 88 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 88 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 89 89 <a href="http://www.doxygen.org/index.html"> 90 90 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/chmat_8h-source.html ¶
r375 r384 124 124 <a name="l00095"></a>00095 <span class="preprocessor">#endif // CHMAT_H</span> 125 125 </pre></div></div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 126 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 127 127 <a href="http://www.doxygen.org/index.html"> 128 128 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/chmat_8h.html ¶
r375 r384 84 84 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 85 85 Using IT++ for numerical operations ----------------------------------- </div> 86 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 86 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 87 87 <a href="http://www.doxygen.org/index.html"> 88 88 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classUImexDS-members.html ¶
r375 r384 71 71 <tr bgcolor="#f0f0f0"><td><b>UImexDS</b>() (defined in <a class="el" href="classUImexDS.html">UImexDS</a>)</td><td><a class="el" href="classUImexDS.html">UImexDS</a></td><td><code> [inline]</code></td></tr> 72 72 </table></div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 74 74 <a href="http://www.doxygen.org/index.html"> 75 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classUImexDS.html ¶
r375 r384 96 96 <li><a class="el" href="mexds_8h-source.html">mexds.h</a></ul> 97 97 </div> 98 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 98 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 99 99 <a href="http://www.doxygen.org/index.html"> 100 100 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ARX-members.html ¶
r375 r384 121 121 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 122 122 </table></div> 123 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 123 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 124 124 <a href="http://www.doxygen.org/index.html"> 125 125 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ARX.html ¶
r375 r384 349 349 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 350 350 351 <p>References <a class="el" href="libBM_8h-source.html#l00120">bdm::RV::_dsize()</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, and <a class="el" href="user__info_8h-source.html#l0024 7">bdm::UI::get()</a>.</p>351 <p>References <a class="el" href="libBM_8h-source.html#l00120">bdm::RV::_dsize()</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, and <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>.</p> 352 352 353 353 </div> … … 373 373 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 374 374 375 <p>References <a class="el" href="libEF_8h-source.html#l0022 1">bdm::egiw::_nu()</a>, <a class="el" href="libEF_8h-source.html#l00219">bdm::egiw::_V()</a>, <a class="el" href="arx_8h-source.html#l00048">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, <a class="el" href="libEF_8cpp-source.html#l00044">bdm::egiw::lognc()</a>, <a class="el" href="arx_8h-source.html#l00052">nu</a>, <a class="el" href="libDC_8cpp-source.html#l00058">ldmat::opupdt()</a>, <a class="el" href="libEF_8h-source.html#l00214">bdm::egiw::pow()</a>, and <a class="el" href="arx_8h-source.html#l00050">V</a>.</p>375 <p>References <a class="el" href="libEF_8h-source.html#l00222">bdm::egiw::_nu()</a>, <a class="el" href="libEF_8h-source.html#l00220">bdm::egiw::_V()</a>, <a class="el" href="arx_8h-source.html#l00048">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, <a class="el" href="libEF_8cpp-source.html#l00044">bdm::egiw::lognc()</a>, <a class="el" href="arx_8h-source.html#l00052">nu</a>, <a class="el" href="libDC_8cpp-source.html#l00058">ldmat::opupdt()</a>, <a class="el" href="libEF_8h-source.html#l00215">bdm::egiw::pow()</a>, and <a class="el" href="arx_8h-source.html#l00050">V</a>.</p> 376 376 377 377 </div> … … 400 400 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">bdm::BM</a>.</p> 401 401 402 <p>References <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h-source.html#l00048">est</a>, <a class="el" href="libEF_8cpp-source.html#l00138">bdm::egiw::mean_mat()</a>, <a class="el" href="libDC_8h-source.html#l00289">ldmat::rows()</a>, <a class="el" href="libEF_8h-source.html#l011 56">bdm::mlnorm< sq_T >::set_parameters()</a>, and <a class="el" href="arx_8h-source.html#l00050">V</a>.</p>402 <p>References <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::dimension()</a>, <a class="el" href="arx_8h-source.html#l00048">est</a>, <a class="el" href="libEF_8cpp-source.html#l00138">bdm::egiw::mean_mat()</a>, <a class="el" href="libDC_8h-source.html#l00289">ldmat::rows()</a>, <a class="el" href="libEF_8h-source.html#l01171">bdm::mlnorm< sq_T >::set_parameters()</a>, and <a class="el" href="arx_8h-source.html#l00050">V</a>.</p> 403 403 404 404 </div> … … 448 448 <li><a class="el" href="arx_8h-source.html">arx.h</a><li>bdm/estim/arx.cpp</ul> 449 449 </div> 450 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 450 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 451 451 <a href="http://www.doxygen.org/index.html"> 452 452 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ArxDS-members.html ¶
r375 r384 105 105 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 106 106 </table></div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ArxDS.html ¶
r375 r384 257 257 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 258 258 259 <p>References <a class="el" href="libBM_8h-source.html#l00120">bdm::RV::_dsize()</a>, <a class="el" href="user__info_8h-source.html#l0024 7">bdm::UI::get()</a>, <a class="el" href="libDS_8h-source.html#l00168">set_drv()</a>, <a class="el" href="libDS_8h-source.html#l00188">set_options()</a>, and <a class="el" href="libDS_8h-source.html#l00165">set_parameters()</a>.</p>259 <p>References <a class="el" href="libBM_8h-source.html#l00120">bdm::RV::_dsize()</a>, <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>, <a class="el" href="libDS_8h-source.html#l00168">set_drv()</a>, <a class="el" href="libDS_8h-source.html#l00188">set_options()</a>, and <a class="el" href="libDS_8h-source.html#l00165">set_parameters()</a>.</p> 260 260 261 261 </div> … … 264 264 <li><a class="el" href="libDS_8h-source.html">libDS.h</a><li>libDS.cpp</ul> 265 265 </div> 266 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 266 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 267 267 <a href="http://www.doxygen.org/index.html"> 268 268 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1BM-members.html ¶
r375 r384 101 101 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 102 102 </table></div> 103 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 103 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 104 104 <a href="http://www.doxygen.org/index.html"> 105 105 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1BM.html ¶
r375 r384 125 125 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 126 126 127 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>127 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 128 128 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 129 129 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::BM::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 204 204 <p> 205 205 Access to the resulting posterior density is via function <code>posterior()</code>.<p> 206 As a "side-effect" it also evaluates log-likelihood of the data, which can be accessed via function _ll(). It can also evaluate predictors of future values of <img class="formulaInl" alt="$y_t$" src="form_41.png">, see functions <a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba" title="Constructs a predictive density .">epredictor()</a> and <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912" title="Constructs a conditional density 1-step ahead predictor .">predictor()</a>.<p>206 As a "side-effect" it also evaluates log-likelihood of the data, which can be accessed via function _ll(). It can also evaluate predictors of future values of <img class="formulaInl" alt="$y_t$" src="form_41.png">, see functions <a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba" title="Constructs a predictive density .">epredictor()</a> and <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912" title="Constructs a conditional density 1-step ahead predictor .">predictor()</a>.<p> 207 207 Alternatively, it can evaluate posterior density conditioned by a known constant, <img class="formulaInl" alt="$ c_t $" src="form_42.png">: <p class="formulaDsp"> 208 208 <img class="formulaDsp" alt="\[ f(\theta_t | c_t, d_1,\ldots,d_t) \propto f(y_t,\theta_t|c_t,\cdot, d_1,\ldots,d_{t-1}) \]" src="form_43.png"> … … 290 290 <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 291 291 </div> 292 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 292 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 293 293 <a href="http://www.doxygen.org/index.html"> 294 294 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1BMEF-members.html ¶
r375 r384 108 108 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 109 109 </table></div> 110 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 110 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 111 111 <a href="http://www.doxygen.org/index.html"> 112 112 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1BMEF.html ¶
r375 r384 140 140 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 141 141 142 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>142 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 143 143 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 144 144 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::BMEF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 281 281 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 282 282 </div> 283 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 283 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 284 284 <a href="http://www.doxygen.org/index.html"> 285 285 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1CsvFileDS-members.html ¶
r375 r384 101 101 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 102 102 </table></div> 103 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 103 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 104 104 <a href="http://www.doxygen.org/index.html"> 105 105 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1CsvFileDS.html ¶
r375 r384 192 192 <li><a class="el" href="libDS_8h-source.html">libDS.h</a><li>libDS.cpp</ul> 193 193 </div> 194 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 194 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 195 195 <a href="http://www.doxygen.org/index.html"> 196 196 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1DS-members.html ¶
r375 r384 91 91 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 92 92 </table></div> 93 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 93 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 94 94 <a href="http://www.doxygen.org/index.html"> 95 95 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1DS.html ¶
r375 r384 168 168 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 169 169 </div> 170 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 170 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 171 171 <a href="http://www.doxygen.org/index.html"> 172 172 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKF-members.html ¶
r375 r384 127 127 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 128 128 </table></div> 129 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 129 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 130 130 <a href="http://www.doxygen.org/index.html"> 131 131 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKF.html ¶
r375 r384 152 152 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 153 153 154 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>154 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 155 155 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 156 156 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 323 323 <li><a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 324 324 </div> 325 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 325 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 326 326 <a href="http://www.doxygen.org/index.html"> 327 327 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh-members.html ¶
r375 r384 131 131 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 132 132 </table></div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 134 134 <a href="http://www.doxygen.org/index.html"> 135 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh.html ¶
r375 r384 151 151 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 152 152 153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 154 154 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 155 155 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 335 335 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 336 336 </div> 337 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 337 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 338 338 <a href="http://www.doxygen.org/index.html"> 339 339 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__chQ-members.html ¶
r375 r384 131 131 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 132 132 </table></div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 134 134 <a href="http://www.doxygen.org/index.html"> 135 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__chQ.html ¶
r375 r384 155 155 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 156 156 157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 158 158 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 159 159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh_chQ::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 333 333 <li><a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> 334 334 </div> 335 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 335 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 336 336 <a href="http://www.doxygen.org/index.html"> 337 337 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__cond-members.html ¶
r375 r384 131 131 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 132 132 </table></div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 134 134 <a href="http://www.doxygen.org/index.html"> 135 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__cond.html ¶
r375 r384 155 155 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 156 156 157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 158 158 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 159 159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh_cond::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 333 333 <li><a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> 334 334 </div> 335 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 335 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 336 336 <a href="http://www.doxygen.org/index.html"> 337 337 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__dQ-members.html ¶
r375 r384 131 131 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 132 132 </table></div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 134 134 <a href="http://www.doxygen.org/index.html"> 135 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFCh__dQ.html ¶
r375 r384 155 155 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 156 156 157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 158 158 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 159 159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFCh_dQ::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 333 333 <li><a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> 334 334 </div> 335 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 335 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 336 336 <a href="http://www.doxygen.org/index.html"> 337 337 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFful__unQR-members.html ¶
r375 r384 128 128 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 129 129 </table></div> 130 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 131 131 <a href="http://www.doxygen.org/index.html"> 132 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFful__unQR.html ¶
r375 r384 142 142 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 143 143 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 145 145 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 146 146 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFful_unQR::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 324 324 <li><a class="el" href="ekf__templ_8h-source.html">ekf_templ.h</a></ul> 325 325 </div> 326 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 326 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 327 327 <a href="http://www.doxygen.org/index.html"> 328 328 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFfull-members.html ¶
r375 r384 128 128 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 129 129 </table></div> 130 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 131 131 <a href="http://www.doxygen.org/index.html"> 132 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1EKFfull.html ¶
r375 r384 142 142 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 143 143 144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>144 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 145 145 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 146 146 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::EKFfull::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 330 330 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 331 331 </div> 332 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 332 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 333 333 <a href="http://www.doxygen.org/index.html"> 334 334 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1FileDS-members.html ¶
r375 r384 100 100 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 101 101 </table></div> 102 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 102 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 103 103 <a href="http://www.doxygen.org/index.html"> 104 104 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1FileDS.html ¶
r375 r384 185 185 <li><a class="el" href="libDS_8h-source.html">libDS.h</a></ul> 186 186 </div> 187 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 187 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 188 188 <a href="http://www.doxygen.org/index.html"> 189 189 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ITppFileDS-members.html ¶
r375 r384 102 102 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 103 103 </table></div> 104 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 105 105 <a href="http://www.doxygen.org/index.html"> 106 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1ITppFileDS.html ¶
r375 r384 193 193 <li><a class="el" href="libDS_8h-source.html">libDS.h</a><li>libDS.cpp</ul> 194 194 </div> 195 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 195 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 196 196 <a href="http://www.doxygen.org/index.html"> 197 197 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KFcondQR-members.html ¶
r375 r384 125 125 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 126 126 </table></div> 127 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 127 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 128 128 <a href="http://www.doxygen.org/index.html"> 129 129 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KFcondQR.html ¶
r375 r384 147 147 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 148 148 149 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>149 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 150 150 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 151 151 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::KFcondQR::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 331 331 <li><a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 332 332 </div> 333 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 333 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 334 334 <a href="http://www.doxygen.org/index.html"> 335 335 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KFcondR-members.html ¶
r375 r384 126 126 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 127 127 </table></div> 128 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 128 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 129 129 <a href="http://www.doxygen.org/index.html"> 130 130 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KFcondR.html ¶
r375 r384 151 151 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 152 152 153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 154 154 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 155 155 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::KFcondR::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 335 335 <li><a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 336 336 </div> 337 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 337 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 338 338 <a href="http://www.doxygen.org/index.html"> 339 339 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1Kalman-members.html ¶
r375 r384 125 125 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 126 126 </table></div> 127 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 127 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 128 128 <a href="http://www.doxygen.org/index.html"> 129 129 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1Kalman.html ¶
r375 r384 151 151 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 152 152 153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>153 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 154 154 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 155 155 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::Kalman::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 350 350 <li><a class="el" href="libKF_8h-source.html">libKF.h</a></ul> 351 351 </div> 352 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 352 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 353 353 <a href="http://www.doxygen.org/index.html"> 354 354 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KalmanCh-members.html ¶
r375 r384 128 128 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 129 129 </table></div> 130 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 131 131 <a href="http://www.doxygen.org/index.html"> 132 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KalmanCh.html ¶
r375 r384 146 146 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 147 147 148 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>148 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 149 149 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 150 150 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::KalmanCh::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 384 384 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 385 385 </div> 386 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 386 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 387 387 <a href="http://www.doxygen.org/index.html"> 388 388 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KalmanFull-members.html ¶
r375 r384 90 90 <tr bgcolor="#f0f0f0"><td><b>R</b> (defined in <a class="el" href="classbdm_1_1KalmanFull.html">bdm::KalmanFull</a>)</td><td><a class="el" href="classbdm_1_1KalmanFull.html">bdm::KalmanFull</a></td><td><code> [protected]</code></td></tr> 91 91 </table></div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1KalmanFull.html ¶
r375 r384 156 156 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 157 157 </div> 158 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 158 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 159 159 <a href="http://www.doxygen.org/index.html"> 160 160 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MPF-members.html ¶
r375 r384 117 117 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 118 118 </table></div> 119 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 119 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 120 120 <a href="http://www.doxygen.org/index.html"> 121 121 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MPF.html ¶
r375 r384 155 155 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 156 156 157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>157 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 158 158 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 159 159 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MPF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 342 342 <li><a class="el" href="libPF_8h-source.html">libPF.h</a></ul> 343 343 </div> 344 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 344 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 345 345 <a href="http://www.doxygen.org/index.html"> 346 346 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MemDS-members.html ¶
r375 r384 99 99 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 100 100 </table></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MemDS.html ¶
r375 r384 194 194 <li><a class="el" href="libDS_8h-source.html">libDS.h</a><li>libDS.cpp</ul> 195 195 </div> 196 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 196 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 197 197 <a href="http://www.doxygen.org/index.html"> 198 198 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MixEF-members.html ¶
r375 r384 123 123 <tr bgcolor="#f0f0f0"><td><b>~MixEF</b>() (defined in <a class="el" href="classbdm_1_1MixEF.html">bdm::MixEF</a>)</td><td><a class="el" href="classbdm_1_1MixEF.html">bdm::MixEF</a></td><td><code> [inline]</code></td></tr> 124 124 </table></div> 125 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 125 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 126 126 <a href="http://www.doxygen.org/index.html"> 127 127 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MixEF.html ¶
r375 r384 168 168 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 169 169 170 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>170 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 171 171 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 172 172 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MixEF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 316 316 </dl> 317 317 318 <p>References <a class="el" href="libEF_8h-source.html#l00101">bdm::BMEF::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00057">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="mixef_8h-source.html#l00050">est</a>, <a class="el" href="mixef_8h-source.html#l00044">n</a>, <a class="el" href="libEF_8h-source.html#l00327">bdm::multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> 319 320 <p>Referenced by <a class="el" href="merger_8cpp-source.html#l00033">bdm::merger::merge()</a>.</p> 318 <p>References <a class="el" href="libEF_8h-source.html#l00101">bdm::BMEF::_copy_()</a>, <a class="el" href="mixef_8h-source.html#l00057">build_est()</a>, <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="mixef_8h-source.html#l00050">est</a>, <a class="el" href="mixef_8h-source.html#l00044">n</a>, <a class="el" href="libEF_8h-source.html#l00328">bdm::multiBM::set_parameters()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> 321 319 322 320 </div> … … 342 340 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 343 341 344 <p>References <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="libBM_8h-source.html#l00274">bdm::epdf::mean()</a>, <a class="el" href="libEF_8h-source.html#l00325">bdm::multiBM::posterior()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> 345 346 <p>Referenced by <a class="el" href="merger_8h-source.html#l00144">bdm::merger::evallog()</a>, and <a class="el" href="merger_8cpp-source.html#l00033">bdm::merger::merge()</a>.</p> 342 <p>References <a class="el" href="mixef_8h-source.html#l00046">Coms</a>, <a class="el" href="libBM_8h-source.html#l00274">bdm::epdf::mean()</a>, <a class="el" href="libEF_8h-source.html#l00326">bdm::multiBM::posterior()</a>, and <a class="el" href="mixef_8h-source.html#l00048">weights</a>.</p> 347 343 348 344 </div> … … 351 347 <li><a class="el" href="mixef_8h-source.html">mixef.h</a><li>mixef.cpp</ul> 352 348 </div> 353 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 349 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 354 350 <a href="http://www.doxygen.org/index.html"> 355 351 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MultiModel-members.html ¶
r375 r384 107 107 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 108 108 </table></div> 109 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 109 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 110 110 <a href="http://www.doxygen.org/index.html"> 111 111 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1MultiModel.html ¶
r375 r384 128 128 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 129 129 130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>130 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 131 131 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 132 132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::MultiModel::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 267 267 <p>Implements <a class="el" href="classbdm_1_1BM.html#60b1779a577367c369a932cabd3a6188">bdm::BM</a>.</p> 268 268 269 <p>References <a class="el" href="libKF_8h-source.html#l00408">_lls</a>, <a class="el" href="libEF_8h-source.html#l0015 2">bdm::enorm< sq_T >::_R()</a>, <a class="el" href="libKF_8h-source.html#l00412">est</a>, <a class="el" href="libEF_8h-source.html#l00139">bdm::enorm< sq_T >::mean()</a>, <a class="el" href="libKF_8h-source.html#l00404">Models</a>, <a class="el" href="libKF_8h-source.html#l00410">policy</a>, <a class="el" href="libEF_8h-source.html#l01080">bdm::enorm< sq_T >::set_parameters()</a>, and <a class="el" href="libKF_8h-source.html#l00406">w</a>.</p>269 <p>References <a class="el" href="libKF_8h-source.html#l00408">_lls</a>, <a class="el" href="libEF_8h-source.html#l00153">bdm::enorm< sq_T >::_R()</a>, <a class="el" href="libKF_8h-source.html#l00412">est</a>, <a class="el" href="libEF_8h-source.html#l00140">bdm::enorm< sq_T >::mean()</a>, <a class="el" href="libKF_8h-source.html#l00404">Models</a>, <a class="el" href="libKF_8h-source.html#l00410">policy</a>, <a class="el" href="libEF_8h-source.html#l01082">bdm::enorm< sq_T >::set_parameters()</a>, and <a class="el" href="libKF_8h-source.html#l00406">w</a>.</p> 270 270 271 271 </div> … … 298 298 <li><a class="el" href="libKF_8h-source.html">libKF.h</a><li>libKF.cpp</ul> 299 299 </div> 300 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 300 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 301 301 <a href="http://www.doxygen.org/index.html"> 302 302 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1PF-members.html ¶
r375 r384 114 114 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 115 115 </table></div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1PF.html ¶
r375 r384 135 135 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 136 136 137 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>137 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 138 138 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 139 139 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::PF::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 351 351 <li><a class="el" href="libPF_8h-source.html">libPF.h</a><li>libPF.cpp</ul> 352 352 </div> 353 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 353 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 354 354 <a href="http://www.doxygen.org/index.html"> 355 355 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1Particular__UI-members.html ¶
r375 r384 85 85 <tr class="memlist"><td><a class="el" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88">~UI</a>()</td><td><a class="el" href="classbdm_1_1UI.html">bdm::UI</a></td><td><code> [inline, private, virtual]</code></td></tr> 86 86 </table></div> 87 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 87 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 88 88 <a href="http://www.doxygen.org/index.html"> 89 89 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1Particular__UI.html ¶
r375 r384 166 166 <li><a class="el" href="user__info_8h-source.html">user_info.h</a></ul> 167 167 </div> 168 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 168 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 169 169 <a href="http://www.doxygen.org/index.html"> 170 170 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1RV-members.html ¶
r375 r384 105 105 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 106 106 </table></div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1RV.html ¶
r375 r384 243 243 <p>References <a class="el" href="libBM_8cpp-source.html#l00045">countsize()</a>, <a class="el" href="libBM_8h-source.html#l00087">dsize</a>, <a class="el" href="libBM_8cpp-source.html#l00200">findself()</a>, <a class="el" href="libBM_8h-source.html#l00091">ids</a>, <a class="el" href="libBM_8h-source.html#l00089">len</a>, and <a class="el" href="libBM_8h-source.html#l00093">times</a>.</p> 244 244 245 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00256">bdm::compositepdf::getrv()</a>, <a class="el" href=" merger_8h-source.html#l00060">bdm::merger::merger()</a>, <a class="el" href="libDS_8h-source.html#l00168">bdm::ArxDS::set_drv()</a>, and <a class="el" href="libBM_8cpp-source.html#l00267">bdm::compositepdf::setrvc()</a>.</p>245 <p>Referenced by <a class="el" href="libBM_8cpp-source.html#l00256">bdm::compositepdf::getrv()</a>, <a class="el" href="libDS_8h-source.html#l00168">bdm::ArxDS::set_drv()</a>, <a class="el" href="merger_8h-source.html#l00079">bdm::merger_base::set_sources()</a>, and <a class="el" href="libBM_8cpp-source.html#l00267">bdm::compositepdf::setrvc()</a>.</p> 246 246 247 247 </div> … … 304 304 <p>References <a class="el" href="libBM_8h-source.html#l00120">_dsize()</a>, <a class="el" href="libBM_8h-source.html#l00087">dsize</a>, <a class="el" href="libBM_8h-source.html#l00091">ids</a>, <a class="el" href="libBM_8h-source.html#l00037">bdm::str::ids</a>, <a class="el" href="libBM_8h-source.html#l00093">times</a>, <a class="el" href="libBM_8h-source.html#l00039">bdm::str::times</a>, and <a class="el" href="libBM_8cpp-source.html#l00133">tostr()</a>.</p> 305 305 306 <p>Referenced by <a class="el" href="libEF_8h-source.html#l012 14">bdm::enorm< sq_T >::condition()</a>, <a class="el" href="libEF_8h-source.html#l01200">bdm::enorm< sq_T >::marginal()</a>, <a class="el" href="libBM_8h-source.html#l00453">bdm::datalink_m2e::set_connection()</a>, and <a class="el" href="libBM_8h-source.html#l00412">bdm::datalink::set_connection()</a>.</p>306 <p>Referenced by <a class="el" href="libEF_8h-source.html#l01229">bdm::enorm< sq_T >::condition()</a>, <a class="el" href="libEF_8h-source.html#l01215">bdm::enorm< sq_T >::marginal()</a>, <a class="el" href="libBM_8h-source.html#l00453">bdm::datalink_m2e::set_connection()</a>, and <a class="el" href="libBM_8h-source.html#l00412">bdm::datalink::set_connection()</a>.</p> 307 307 308 308 </div> … … 366 366 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 367 367 368 <p>References <a class="el" href="user__info_8h-source.html#l0024 7">bdm::UI::get()</a>.</p>368 <p>References <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>.</p> 369 369 370 370 </div> … … 373 373 <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 374 374 </div> 375 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 375 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 376 376 <a href="http://www.doxygen.org/index.html"> 377 377 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UI-members.html ¶
r375 r384 82 82 <tr class="memlist"><td><a class="el" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88">~UI</a>()</td><td><a class="el" href="classbdm_1_1UI.html">bdm::UI</a></td><td><code> [inline, protected, virtual]</code></td></tr> 83 83 </table></div> 84 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 84 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 85 85 <a href="http://www.doxygen.org/index.html"> 86 86 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UI.html ¶
r375 r384 196 196 <li><a class="el" href="user__info_8h-source.html">user_info.h</a><li>user_info.cpp</ul> 197 197 </div> 198 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 198 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 199 199 <a href="http://www.doxygen.org/index.html"> 200 200 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UI_1_1SettingsResolver-members.html ¶
r375 r384 72 72 <tr bgcolor="#f0f0f0"><td><b>~SettingsResolver</b>() (defined in <a class="el" href="classbdm_1_1UI_1_1SettingsResolver.html">bdm::UI::UI::SettingsResolver</a>)</td><td><a class="el" href="classbdm_1_1UI_1_1SettingsResolver.html">bdm::UI::UI::SettingsResolver</a></td><td></td></tr> 73 73 </table></div> 74 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 74 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 75 75 <a href="http://www.doxygen.org/index.html"> 76 76 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UI_1_1SettingsResolver.html ¶
r375 r384 87 87 <li><a class="el" href="user__info_8h-source.html">user_info.h</a><li>user_info.cpp</ul> 88 88 </div> 89 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 89 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 90 90 <a href="http://www.doxygen.org/index.html"> 91 91 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIbuilder-members.html ¶
r375 r384 72 72 <tr class="memlist"><td><a class="el" href="classbdm_1_1UIbuilder.html#4cac204ba6c734fdb200513e78495df7">~UIbuilder</a>()</td><td><a class="el" href="classbdm_1_1UIbuilder.html">bdm::UIbuilder</a></td><td><code> [inline, virtual]</code></td></tr> 73 73 </table></div> 74 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 74 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 75 75 <a href="http://www.doxygen.org/index.html"> 76 76 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIbuilder.html ¶
r375 r384 98 98 <li><a class="el" href="uibuilder_8h-source.html">uibuilder.h</a></ul> 99 99 </div> 100 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 100 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 101 101 <a href="http://www.doxygen.org/index.html"> 102 102 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIexternal-members.html ¶
r375 r384 73 73 <tr class="memlist"><td><a class="el" href="classbdm_1_1UIbuilder.html#4cac204ba6c734fdb200513e78495df7">~UIbuilder</a>()</td><td><a class="el" href="classbdm_1_1UIbuilder.html">bdm::UIbuilder</a></td><td><code> [inline, virtual]</code></td></tr> 74 74 </table></div> 75 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 75 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 76 76 <a href="http://www.doxygen.org/index.html"> 77 77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIexternal.html ¶
r375 r384 90 90 <li><a class="el" href="uibuilder_8h-source.html">uibuilder.h</a></ul> 91 91 </div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIinternal-members.html ¶
r375 r384 73 73 <tr class="memlist"><td><a class="el" href="classbdm_1_1UIbuilder.html#4cac204ba6c734fdb200513e78495df7">~UIbuilder</a>()</td><td><a class="el" href="classbdm_1_1UIbuilder.html">bdm::UIbuilder</a></td><td><code> [inline, virtual]</code></td></tr> 74 74 </table></div> 75 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 75 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 76 76 <a href="http://www.doxygen.org/index.html"> 77 77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1UIinternal.html ¶
r375 r384 89 89 <li><a class="el" href="uibuilder_8h-source.html">uibuilder.h</a></ul> 90 90 </div> 91 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 91 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 92 92 <a href="http://www.doxygen.org/index.html"> 93 93 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1bdmroot-members.html ¶
r375 r384 74 74 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 75 75 </table></div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1bdmroot.html ¶
r375 r384 104 104 <li><a class="el" href="bdmroot_8h-source.html">bdmroot.h</a></ul> 105 105 </div> 106 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 106 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 107 107 <a href="http://www.doxygen.org/index.html"> 108 108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1bilinfn-members.html ¶
r375 r384 92 92 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 93 93 </table></div> 94 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 94 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 95 95 <a href="http://www.doxygen.org/index.html"> 96 96 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1bilinfn.html ¶
r375 r384 270 270 <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 271 271 </div> 272 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 272 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 273 273 <a href="http://www.doxygen.org/index.html"> 274 274 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1compositepdf-members.html ¶
r375 r384 68 68 <div class="contents"> 69 69 <h1>bdm::compositepdf Member List</h1>This is the complete list of members for <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>, including all inherited members.<p><table> 70 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>(Array< mpdf * > A0) (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr> 70 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>() (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr> 71 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a>(const Setting &root)</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 71 72 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a>(bool checkoverlap=false)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td></td></tr> 72 73 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [protected]</code></td></tr> 73 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [protected]</code></td></tr>74 <tr bgcolor="#f0f0f0"><td><b>set_elements</b>(const Array< mpdf * > A0) (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr> 74 75 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce">setrvc</a>(const RV &rv, RV &rvc)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td></td></tr> 76 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a>(Setting &root) const </td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 77 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#e47a8bd9337478fa4e46d5a2a4336f9a">to_string</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 78 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#d8cc21ea15fc723065eed5f3100757a5">validate</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 79 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 75 80 </table></div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 81 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 77 82 <a href="http://www.doxygen.org/index.html"> 78 83 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1compositepdf.html ¶
r375 r384 69 69 </div> 70 70 <div class="contents"> 71 <h1>bdm::compositepdf Class Reference</h1><!-- doxytag: class="bdm::compositepdf" --> Abstract composition of pdfs, will be used for specific classesthis abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>.71 <h1>bdm::compositepdf Class Reference</h1><!-- doxytag: class="bdm::compositepdf" --><!-- doxytag: inherits="bdm::bdmroot" -->Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. 72 72 <a href="#_details">More...</a> 73 73 <p> … … 79 79 <tr><td></td></tr> 80 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=" b4fb137d679de83f037616697b172c5c"></a><!-- doxytag: member="bdm::compositepdf::compositepdf" ref="b4fb137d679de83f037616697b172c5c" args="(Array< mpdf * > A0)" -->82 </td><td class="memItemRight" valign="bottom"><b>compositepdf</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0)</td></tr>81 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ca1b8d18f845b2fe29f4f77969e0596"></a><!-- doxytag: member="bdm::compositepdf::set_elements" ref="2ca1b8d18f845b2fe29f4f77969e0596" args="(const Array< mpdf * > A0)" --> 82 void </td><td class="memItemRight" valign="bottom"><b>set_elements</b> (const Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0)</td></tr> 83 83 84 84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a> (bool checkoverlap=false)</td></tr> … … 89 89 90 90 <tr><td class="mdescLeft"> </td><td class="mdescRight">common rvc of all mpdfs is written to rvc <br></td></tr> 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e47a8bd9337478fa4e46d5a2a4336f9a"></a><!-- doxytag: member="bdm::compositepdf::to_string" ref="e47a8bd9337478fa4e46d5a2a4336f9a" args="()" --> 92 virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#e47a8bd9337478fa4e46d5a2a4336f9a">to_string</a> ()</td></tr> 93 94 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 95 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4602efd3ad9fb9e4532426e4f488df8"></a><!-- doxytag: member="bdm::compositepdf::from_setting" ref="d4602efd3ad9fb9e4532426e4f488df8" args="(const Setting &root)" --> 96 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a> (const Setting &root)</td></tr> 97 98 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 99 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::compositepdf::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> 100 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> 101 102 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> 103 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d8cc21ea15fc723065eed5f3100757a5"></a><!-- doxytag: member="bdm::compositepdf::validate" ref="d8cc21ea15fc723065eed5f3100757a5" args="()" --> 104 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d8cc21ea15fc723065eed5f3100757a5">validate</a> ()</td></tr> 105 106 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method TODO. <br></td></tr> 91 107 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca3cd8ed92a7154f5b9ff13b1e9d52a"></a><!-- doxytag: member="bdm::compositepdf::n" ref="7ca3cd8ed92a7154f5b9ff13b1e9d52a" args="" -->93 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td></tr>94 95 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr>96 108 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23faf2debc4dde10836393b8c665914a"></a><!-- doxytag: member="bdm::compositepdf::mpdfs" ref="23faf2debc4dde10836393b8c665914a" args="" --> 97 109 Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td></tr> … … 100 112 </table> 101 113 <hr><a name="_details"></a><h2>Detailed Description</h2> 102 Abstract composition of pdfs, will be used for specific classesthis abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. <hr><h2>Member Function Documentation</h2>114 Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. <hr><h2>Member Function Documentation</h2> 103 115 <a class="anchor" name="c73d39acc4378eee6a63155c3517d3c9"></a><!-- doxytag: member="bdm::compositepdf::getrv" ref="c73d39acc4378eee6a63155c3517d3c9" args="(bool checkoverlap=false)" --> 104 116 <div class="memitem"> … … 126 138 </dl> 127 139 128 <p>References <a class="el" href="libBM_8cpp-source.html#l00078">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00563">mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00561">n</a>.</p>140 <p>References <a class="el" href="libBM_8cpp-source.html#l00078">bdm::RV::add()</a>, and <a class="el" href="libBM_8h-source.html#l00561">mpdfs</a>.</p> 129 141 130 <p>Referenced by <a class="el" href="merger_8h-source.html#l000 60">bdm::merger::merger()</a>, and <a class="el" href="emix_8h-source.html#l00236">bdm::mprod::mprod()</a>.</p>142 <p>Referenced by <a class="el" href="merger_8h-source.html#l00079">bdm::merger_base::set_sources()</a>.</p> 131 143 132 144 </div> … … 135 147 <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 136 148 </div> 137 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 149 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 138 150 <a href="http://www.doxygen.org/index.html"> 139 151 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1constfn-members.html ¶
r375 r384 80 80 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 81 81 </table></div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 83 83 <a href="http://www.doxygen.org/index.html"> 84 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1constfn.html ¶
r375 r384 121 121 <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 122 122 </div> 123 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 123 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 124 124 <a href="http://www.doxygen.org/index.html"> 125 125 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink-members.html ¶
r375 r384 78 78 <tr class="memlist"><td><a class="el" href="classbdm_1_1datalink.html#240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td><td><a class="el" href="classbdm_1_1datalink.html">bdm::datalink</a></td><td><code> [protected]</code></td></tr> 79 79 </table></div> 80 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 80 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 81 81 <a href="http://www.doxygen.org/index.html"> 82 82 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink.html ¶
r375 r384 126 126 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 127 127 </div> 128 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 128 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 129 129 <a href="http://www.doxygen.org/index.html"> 130 130 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink__m2e-members.html ¶
r375 r384 85 85 <tr class="memlist"><td><a class="el" href="classbdm_1_1datalink.html#240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td><td><a class="el" href="classbdm_1_1datalink.html">bdm::datalink</a></td><td><code> [protected]</code></td></tr> 86 86 </table></div> 87 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 87 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 88 88 <a href="http://www.doxygen.org/index.html"> 89 89 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink__m2e.html ¶
r375 r384 136 136 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 137 137 </div> 138 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 138 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 139 139 <a href="http://www.doxygen.org/index.html"> 140 140 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink__m2m-members.html ¶
r375 r384 90 90 <tr class="memlist"><td><a class="el" href="classbdm_1_1datalink.html#240b37d793c6bdc32824ed0a0541b1eb">v2v_up</a></td><td><a class="el" href="classbdm_1_1datalink.html">bdm::datalink</a></td><td><code> [protected]</code></td></tr> 91 91 </table></div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1datalink__m2m.html ¶
r375 r384 152 152 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 153 153 </div> 154 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 154 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 155 155 <a href="http://www.doxygen.org/index.html"> 156 156 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1diffbifn-members.html ¶
r375 r384 89 89 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 90 90 </table></div> 91 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 91 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 92 92 <a href="http://www.doxygen.org/index.html"> 93 93 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1diffbifn.html ¶
r375 r384 267 267 <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 268 268 </div> 269 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 269 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 270 270 <a href="http://www.doxygen.org/index.html"> 271 271 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1dirfilelog-members.html ¶
r375 r384 95 95 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 96 96 </table></div> 97 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 97 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 98 98 <a href="http://www.doxygen.org/index.html"> 99 99 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1dirfilelog.html ¶
r375 r384 301 301 <li><a class="el" href="loggers_8h-source.html">loggers.h</a><li>loggers.cpp</ul> 302 302 </div> 303 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 303 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 304 304 <a href="http://www.doxygen.org/index.html"> 305 305 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eDirich-members.html ¶
r375 r384 105 105 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 106 106 </table></div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eDirich.html ¶
r375 r384 224 224 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 225 225 </div> 226 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 226 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 227 227 <a href="http://www.doxygen.org/index.html"> 228 228 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eEF-members.html ¶
r375 r384 99 99 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 100 100 </table></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eEF.html ¶
r375 r384 204 204 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 205 205 </div> 206 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 206 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 207 207 <a href="http://www.doxygen.org/index.html"> 208 208 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eEmp-members.html ¶
r375 r384 77 77 <tr class="memlist"><td><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a>() const </td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline]</code></td></tr> 78 78 <tr bgcolor="#f0f0f0"><td><b>eEmp</b>() (defined in <a class="el" href="classbdm_1_1eEmp.html">bdm::eEmp</a>)</td><td><a class="el" href="classbdm_1_1eEmp.html">bdm::eEmp</a></td><td><code> [inline]</code></td></tr> 79 <tr bgcolor="#f0f0f0"><td><b>eEmp</b>(const eEmp &e) (defined in <a class="el" href="classbdm_1_1eEmp.html">bdm::eEmp</a>)</td><td><a class="el" href="classbdm_1_1eEmp.html">bdm::eEmp</a></td><td><code> [inline]</code></td></tr>79 <tr class="memlist"><td><a class="el" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">eEmp</a>(const eEmp &e)</td><td><a class="el" href="classbdm_1_1eEmp.html">bdm::eEmp</a></td><td><code> [inline]</code></td></tr> 80 80 <tr bgcolor="#f0f0f0"><td><b>epdf</b>() (defined in <a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a>)</td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline]</code></td></tr> 81 81 <tr bgcolor="#f0f0f0"><td><b>epdf</b>(const epdf &e) (defined in <a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a>)</td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline]</code></td></tr> … … 107 107 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 108 108 </table></div> 109 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 109 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 110 110 <a href="http://www.doxygen.org/index.html"> 111 111 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eEmp.html ¶
r375 r384 156 156 157 157 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3daf6363455af099921715e1233c076"></a><!-- doxytag: member="bdm::eEmp::eEmp" ref="a3daf6363455af099921715e1233c076" args="(const eEmp &e)" --> 158 </td><td class="memItemRight" valign="bottom"><b>eEmp</b> (const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &e)</td></tr> 159 158 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">eEmp</a> (const <a class="el" href="classbdm_1_1eEmp.html">eEmp</a> &e)</td></tr> 159 160 <tr><td class="mdescLeft"> </td><td class="mdescRight">copy constructor <br></td></tr> 160 161 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 161 162 <tr><td colspan="2"><div class="groupText">Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: <ul> … … 235 236 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 236 237 </div> 237 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 238 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 238 239 <a href="http://www.doxygen.org/index.html"> 239 240 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eWishartCh-members.html ¶
r375 r384 101 101 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 102 102 </table></div> 103 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 103 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 104 104 <a href="http://www.doxygen.org/index.html"> 105 105 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eWishartCh.html ¶
r375 r384 205 205 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 206 206 </div> 207 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 207 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 208 208 <a href="http://www.doxygen.org/index.html"> 209 209 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egamma-members.html ¶
r375 r384 106 106 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 107 107 </table></div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egamma.html ¶
r375 r384 228 228 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 229 229 </div> 230 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 230 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 231 231 <a href="http://www.doxygen.org/index.html"> 232 232 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egiw-members.html ¶
r375 r384 113 113 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 114 114 </table></div> 115 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 115 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 116 116 <a href="http://www.doxygen.org/index.html"> 117 117 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egiw.html ¶
r375 r384 250 250 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 251 251 </div> 252 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 252 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 253 253 <a href="http://www.doxygen.org/index.html"> 254 254 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egiwmix-members.html ¶
r375 r384 123 123 <tr bgcolor="#f0f0f0"><td><b>~egiwmix</b>() (defined in <a class="el" href="classbdm_1_1egiwmix.html">bdm::egiwmix</a>)</td><td><a class="el" href="classbdm_1_1egiwmix.html">bdm::egiwmix</a></td><td><code> [inline, virtual]</code></td></tr> 124 124 </table></div> 125 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 125 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 126 126 <a href="http://www.doxygen.org/index.html"> 127 127 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1egiwmix.html ¶
r375 r384 314 314 <li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 315 315 </div> 316 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 316 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 317 317 <a href="http://www.doxygen.org/index.html"> 318 318 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eigamma-members.html ¶
r375 r384 106 106 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 107 107 </table></div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eigamma.html ¶
r375 r384 229 229 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 230 230 </div> 231 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 231 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 232 232 <a href="http://www.doxygen.org/index.html"> 233 233 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1elognorm-members.html ¶
r375 r384 87 87 <tr class="memlist"><td><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a>(const mat &Val) const </td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline, virtual]</code></td></tr> 88 88 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">evallog_nn</a>(const vec &val) const</td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< ldmat ></a></td><td><code> [virtual]</code></td></tr> 89 <tr class="memlist"><td><a class="el" href="classbdm_1_1 bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a>(const Setting &root)</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline,virtual]</code></td></tr>89 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">from_setting</a>(const Setting &root)</td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< ldmat ></a></td><td><code> [virtual]</code></td></tr> 90 90 <tr class="memlist"><td><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a>() const </td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline]</code></td></tr> 91 91 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">lognc</a>() const</td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< ldmat ></a></td><td><code> [virtual]</code></td></tr> … … 110 110 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 111 111 </table></div> 112 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 112 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 113 113 <a href="http://www.doxygen.org/index.html"> 114 114 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1elognorm.html ¶
r375 r384 104 104 105 105 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4602efd3ad9fb9e4532426e4f488df8"></a><!-- doxytag: member="bdm::elognorm::from_setting" ref="d4602efd3ad9fb9e4532426e4f488df8" args="(const Setting &root)" -->107 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a> (const Setting &root)</td></tr>108 109 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr>110 106 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::elognorm::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> 111 107 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> … … 120 116 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &<a class="el" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7">mu</a>, const <a class="el" href="classldmat.html">ldmat</a> &<a class="el" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2">R</a>)</td></tr> 121 117 118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="61bd470764020bea6e1ed35000f259e6"></a><!-- doxytag: member="bdm::elognorm::from_setting" ref="61bd470764020bea6e1ed35000f259e6" args="(const Setting &root)" --> 119 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">from_setting</a> (const Setting &root)</td></tr> 120 121 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 122 122 <tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 123 123 <tr><td colspan="2"><div class="groupText">Construction of each <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> should support two types of constructors: <ul> … … 226 226 <hr><a name="_details"></a><h2>Detailed Description</h2> 227 227 Log-Normal probability density only allow diagonal covariances!<p> 228 Density of the form <hr>The documentation for this class was generated from the following file:<ul> 228 Density of the form <img class="formulaInl" alt="$ \log(x)\sim \mathcal{N}(\mu,\sigma^2) $" src="form_131.png"> , i.e. <p class="formulaDsp"> 229 <img class="formulaDsp" alt="\[ x \sim \frac{1}{x\sigma\sqrt{2\pi}}\exp{-\frac{1}{2\sigma^2}(\log(x)-\mu)} \]" src="form_132.png"> 230 <p> 231 <hr>The documentation for this class was generated from the following file:<ul> 229 232 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 230 233 </div> 231 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 234 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 232 235 <a href="http://www.doxygen.org/index.html"> 233 236 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1emix-members.html ¶
r375 r384 103 103 <tr bgcolor="#f0f0f0"><td><b>~emix</b>() (defined in <a class="el" href="classbdm_1_1emix.html">bdm::emix</a>)</td><td><a class="el" href="classbdm_1_1emix.html">bdm::emix</a></td><td><code> [inline, virtual]</code></td></tr> 104 104 </table></div> 105 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 105 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 106 106 <a href="http://www.doxygen.org/index.html"> 107 107 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1emix.html ¶
r375 r384 250 250 <p>References <a class="el" href="emix_8h-source.html#l00096">Coms</a>, <a class="el" href="emix_8h-source.html#l00098">destroyComs</a>, <a class="el" href="libBM_8h-source.html#l00232">bdm::epdf::dim</a>, <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::dimension()</a>, and <a class="el" href="emix_8h-source.html#l00094">w</a>.</p> 251 251 252 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00138">bdm::MixEF::epredictor()</a>, <a class="el" href="emix_8cpp-source.html#l00103">bdm::egiwmix::marginal()</a>, <a class="el" href="emix_8cpp-source.html#l00037">marginal()</a>, and <a class="el" href="emix_8h-source.html#l003 88">bdm::mmix::set_parameters()</a>.</p>252 <p>Referenced by <a class="el" href="mixef_8cpp-source.html#l00138">bdm::MixEF::epredictor()</a>, <a class="el" href="emix_8cpp-source.html#l00103">bdm::egiwmix::marginal()</a>, <a class="el" href="emix_8cpp-source.html#l00037">marginal()</a>, and <a class="el" href="emix_8h-source.html#l00393">bdm::mmix::set_parameters()</a>.</p> 253 253 254 254 </div> … … 257 257 <li><a class="el" href="emix_8h-source.html">emix.h</a><li>emix.cpp</ul> 258 258 </div> 259 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 259 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 260 260 <a href="http://www.doxygen.org/index.html"> 261 261 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1enorm-members.html ¶
r375 r384 87 87 <tr class="memlist"><td><a class="el" href="classbdm_1_1epdf.html#34956d4dd3176eeb5937cf48a1546b62">evallog_m</a>(const mat &Val) const </td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline, virtual]</code></td></tr> 88 88 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">evallog_nn</a>(const vec &val) const </td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> 89 <tr class="memlist"><td><a class="el" href="classbdm_1_1 bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a>(const Setting &root)</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr>89 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">from_setting</a>(const Setting &root)</td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> 90 90 <tr class="memlist"><td><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a>() const </td><td><a class="el" href="classbdm_1_1epdf.html">bdm::epdf</a></td><td><code> [inline]</code></td></tr> 91 91 <tr class="memlist"><td><a class="el" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">lognc</a>() const </td><td><a class="el" href="classbdm_1_1enorm.html">bdm::enorm< sq_T ></a></td><td><code> [inline, virtual]</code></td></tr> … … 110 110 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 111 111 </table></div> 112 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 112 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 113 113 <a href="http://www.doxygen.org/index.html"> 114 114 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1enorm.html ¶
r375 r384 99 99 100 100 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4602efd3ad9fb9e4532426e4f488df8"></a><!-- doxytag: member="bdm::enorm::from_setting" ref="d4602efd3ad9fb9e4532426e4f488df8" args="(const Setting &root)" -->102 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">from_setting</a> (const Setting &root)</td></tr>103 104 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr>105 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="dd74cb898b22b95b7ee528e040a07618"></a><!-- doxytag: member="bdm::enorm::to_setting" ref="dd74cb898b22b95b7ee528e040a07618" args="(Setting &root) const " --> 106 102 virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1bdmroot.html#dd74cb898b22b95b7ee528e040a07618">to_setting</a> (Setting &root) const </td></tr> … … 121 117 void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const vec &<a class="el" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7">mu</a>, const sq_T &<a class="el" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2">R</a>)</td></tr> 122 118 119 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="61bd470764020bea6e1ed35000f259e6"></a><!-- doxytag: member="bdm::enorm::from_setting" ref="61bd470764020bea6e1ed35000f259e6" args="(const Setting &root)" --> 120 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">from_setting</a> (const Setting &root)</td></tr> 121 122 <tr><td class="mdescLeft"> </td><td class="mdescRight">This method arrange instance properties according the data stored in the Setting structure. <br></td></tr> 123 123 <tr><td colspan="2"><div class="groupHeader">Mathematical operations</div></td></tr> 124 124 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d2e0d3a1e30ab3ab04df2d0c43ae74a2"></a><!-- doxytag: member="bdm::enorm::dupdate" ref="d2e0d3a1e30ab3ab04df2d0c43ae74a2" args="(mat &v, double nu=1.0)" --> … … 242 242 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 243 243 </div> 244 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 244 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 245 245 <a href="http://www.doxygen.org/index.html"> 246 246 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1epdf-members.html ¶
r375 r384 93 93 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 94 94 </table></div> 95 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 95 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 96 96 <a href="http://www.doxygen.org/index.html"> 97 97 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1epdf.html ¶
r375 r384 187 187 <li><a class="el" href="libBM_8h-source.html">libBM.h</a><li>libBM.cpp</ul> 188 188 </div> 189 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 189 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 190 190 <a href="http://www.doxygen.org/index.html"> 191 191 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eprod-members.html ¶
r375 r384 99 99 <tr class="memlist"><td><a class="el" href="classbdm_1_1eprod.html#708b37971aab3667f20e325c358632cf">~eprod</a>()</td><td><a class="el" href="classbdm_1_1eprod.html">bdm::eprod</a></td><td><code> [inline]</code></td></tr> 100 100 </table></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1eprod.html ¶
r375 r384 197 197 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 198 198 </div> 199 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 199 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 200 200 <a href="http://www.doxygen.org/index.html"> 201 201 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1euni-members.html ¶
r375 r384 102 102 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 103 103 </table></div> 104 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 105 105 <a href="http://www.doxygen.org/index.html"> 106 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1euni.html ¶
r375 r384 211 211 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 212 212 </div> 213 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 213 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 214 214 <a href="http://www.doxygen.org/index.html"> 215 215 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1fnc-members.html ¶
r375 r384 79 79 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 80 80 </table></div> 81 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 81 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 82 82 <a href="http://www.doxygen.org/index.html"> 83 83 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1fnc.html ¶
r375 r384 121 121 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 122 122 </div> 123 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 123 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 124 124 <a href="http://www.doxygen.org/index.html"> 125 125 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1linfn-members.html ¶
r375 r384 81 81 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 82 82 </table></div> 83 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 83 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 84 84 <a href="http://www.doxygen.org/index.html"> 85 85 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1linfn.html ¶
r375 r384 125 125 <li><a class="el" href="libFN_8h-source.html">libFN.h</a></ul> 126 126 </div> 127 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 127 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 128 128 <a href="http://www.doxygen.org/index.html"> 129 129 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1logger-members.html ¶
r375 r384 83 83 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 84 84 </table></div> 85 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 85 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 86 86 <a href="http://www.doxygen.org/index.html"> 87 87 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1logger.html ¶
r375 r384 171 171 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 172 172 </div> 173 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 173 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 174 174 <a href="http://www.doxygen.org/index.html"> 175 175 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mEF-members.html ¶
r375 r384 94 94 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 95 95 </table></div> 96 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 96 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 97 97 <a href="http://www.doxygen.org/index.html"> 98 98 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mEF.html ¶
r375 r384 240 240 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 241 241 </div> 242 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 242 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 243 243 <a href="http://www.doxygen.org/index.html"> 244 244 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1memlog-members.html ¶
r375 r384 90 90 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 91 91 </table></div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1memlog.html ¶
r375 r384 224 224 <li><a class="el" href="loggers_8h-source.html">loggers.h</a><li>loggers.cpp</ul> 225 225 </div> 226 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 226 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 227 227 <a href="http://www.doxygen.org/index.html"> 228 228 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mepdf-members.html ¶
r375 r384 95 95 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 96 96 </table></div> 97 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 97 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 98 98 <a href="http://www.doxygen.org/index.html"> 99 99 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mepdf.html ¶
r375 r384 243 243 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 244 244 </div> 245 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 245 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 246 246 <a href="http://www.doxygen.org/index.html"> 247 247 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgamma-members.html ¶
r375 r384 99 99 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 100 100 </table></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgamma.html ¶
r375 r384 257 257 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 258 258 </div> 259 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 259 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 260 260 <a href="http://www.doxygen.org/index.html"> 261 261 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgamma__fix-members.html ¶
r375 r384 103 103 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 104 104 </table></div> 105 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 105 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 106 106 <a href="http://www.doxygen.org/index.html"> 107 107 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgamma__fix.html ¶
r375 r384 273 273 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 274 274 </div> 275 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 275 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 276 276 <a href="http://www.doxygen.org/index.html"> 277 277 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgnorm-members.html ¶
r375 r384 99 99 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 100 100 </table></div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mgnorm.html ¶
r375 r384 220 220 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 221 221 222 <p>References <a class="el" href="user__info_8h-source.html#l0024 7">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00515">bdm::mgnorm< sq_T >::set_parameters()</a>.</p>222 <p>References <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00516">bdm::mgnorm< sq_T >::set_parameters()</a>.</p> 223 223 224 224 </div> … … 299 299 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 300 300 </div> 301 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 301 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 302 302 <a href="http://www.doxygen.org/index.html"> 303 303 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1migamma-members.html ¶
r375 r384 101 101 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 102 102 </table></div> 103 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 103 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 104 104 <a href="http://www.doxygen.org/index.html"> 105 105 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1migamma.html ¶
r375 r384 264 264 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 265 265 </div> 266 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 266 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 267 267 <a href="http://www.doxygen.org/index.html"> 268 268 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1migamma__ref-members.html ¶
r375 r384 105 105 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 106 106 </table></div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1migamma__ref.html ¶
r375 r384 234 234 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 235 235 236 <p>References <a class="el" href="user__info_8h-source.html#l0024 7">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00748">set_parameters()</a>.</p>236 <p>References <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00749">set_parameters()</a>.</p> 237 237 238 238 </div> … … 313 313 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 314 314 </div> 315 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 315 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 316 316 <a href="http://www.doxygen.org/index.html"> 317 317 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlnorm-members.html ¶
r375 r384 105 105 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 106 106 </table></div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlnorm.html ¶
r375 r384 304 304 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 305 305 </div> 306 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 306 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 307 307 <a href="http://www.doxygen.org/index.html"> 308 308 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlognorm-members.html ¶
r375 r384 98 98 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 99 99 </table></div> 100 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 100 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 101 101 <a href="http://www.doxygen.org/index.html"> 102 102 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlognorm.html ¶
r375 r384 212 212 <p>Reimplemented from <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>.</p> 213 213 214 <p>References <a class="el" href="libEF_8h-source.html#l0083 8">condition()</a>, <a class="el" href="user__info_8h-source.html#l00247">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00830">set_parameters()</a>.</p>214 <p>References <a class="el" href="libEF_8h-source.html#l00839">condition()</a>, <a class="el" href="user__info_8h-source.html#l00248">bdm::UI::get()</a>, and <a class="el" href="libEF_8h-source.html#l00831">set_parameters()</a>.</p> 215 215 216 216 </div> … … 291 291 <li><a class="el" href="libEF_8h-source.html">libEF.h</a><li>libEF.cpp</ul> 292 292 </div> 293 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 293 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 294 294 <a href="http://www.doxygen.org/index.html"> 295 295 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlstudent-members.html ¶
r375 r384 110 110 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 111 111 </table></div> 112 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 112 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 113 113 <a href="http://www.doxygen.org/index.html"> 114 114 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mlstudent.html ¶
r375 r384 222 222 <p>Reimplemented from <a class="el" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">bdm::mlnorm< ldmat ></a>.</p> 223 223 224 <p>References <a class="el" href="libEF_8h-source.html#l0049 6">bdm::mlnorm< ldmat >::_R()</a>, <a class="el" href="libDC_8cpp-source.html#l00168">ldmat::invqform()</a>, and <a class="el" href="libDC_8h-source.html#l00289">ldmat::rows()</a>.</p>224 <p>References <a class="el" href="libEF_8h-source.html#l00497">bdm::mlnorm< ldmat >::_R()</a>, <a class="el" href="libDC_8cpp-source.html#l00168">ldmat::invqform()</a>, and <a class="el" href="libDC_8h-source.html#l00289">ldmat::rows()</a>.</p> 225 225 226 226 </div> … … 301 301 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 302 302 </div> 303 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 303 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 304 304 <a href="http://www.doxygen.org/index.html"> 305 305 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mmix-members.html ¶
r375 r384 97 97 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 98 98 </table></div> 99 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 99 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 100 100 <a href="http://www.doxygen.org/index.html"> 101 101 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mmix.html ¶
r375 r384 252 252 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 253 253 </div> 254 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 254 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 255 255 <a href="http://www.doxygen.org/index.html"> 256 256 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mpdf-members.html ¶
r375 r384 93 93 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 94 94 </table></div> 95 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 95 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 96 96 <a href="http://www.doxygen.org/index.html"> 97 97 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mpdf.html ¶
r375 r384 242 242 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 243 243 </div> 244 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 244 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 245 245 <a href="http://www.doxygen.org/index.html"> 246 246 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mprod-members.html ¶
r375 r384 72 72 <tr bgcolor="#f0f0f0"><td><b>_rv</b>() (defined in <a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a>)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline]</code></td></tr> 73 73 <tr bgcolor="#f0f0f0"><td><b>_rvc</b>() (defined in <a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a>)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline]</code></td></tr> 74 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>( Array< mpdf * > A0) (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr>74 <tr bgcolor="#f0f0f0"><td><b>compositepdf</b>() (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr> 75 75 <tr class="memlist"><td><a class="el" href="classbdm_1_1mpdf.html#db94784a9aacf74c65c5a014f6743530">condition</a>(const vec &cond)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 76 76 <tr class="memlist"><td><a class="el" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6">dimc</a></td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [protected]</code></td></tr> … … 89 89 <tr class="memlist"><td><a class="el" href="classbdm_1_1mpdf.html#7089fcbd918f201fdf4256119e31f173">mpdf</a>(const mpdf &m)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline]</code></td></tr> 90 90 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [protected]</code></td></tr> 91 <tr class="memlist"><td><a class="el" href="classbdm_1_1mprod.html# 680c3e2d95b116c7cfb227c7f2984525">mprod</a>(Array< mpdf * > mFacs)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr>92 <tr class="memlist"><td><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [protected]</code></td></tr>91 <tr class="memlist"><td><a class="el" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b">mprod</a>()</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr> 92 <tr bgcolor="#f0f0f0"><td><b>mprod</b>(Array< mpdf * > mFacs) (defined in <a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a>)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr> 93 93 <tr class="memlist"><td><a class="el" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288">rvc</a></td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [protected]</code></td></tr> 94 94 <tr class="memlist"><td><a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">samplecond</a>(const vec &cond)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline, virtual]</code></td></tr> 95 95 <tr bgcolor="#f0f0f0"><td><b>samplecond</b>(const vec &cond, int N) (defined in <a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a>)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr> 96 96 <tr class="memlist"><td><a class="el" href="classbdm_1_1mpdf.html#afe4185b26baeb03688202e254d3b005">samplecond_m</a>(const vec &cond, int N)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline, virtual]</code></td></tr> 97 <tr bgcolor="#f0f0f0"><td><b>set_elements</b>(Array< mpdf * > mFacs) (defined in <a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a>)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr> 98 <tr bgcolor="#f0f0f0"><td><b>set_elements</b>(const Array< mpdf * > A0) (defined in <a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a>)</td><td><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td><td><code> [inline]</code></td></tr> 97 99 <tr bgcolor="#f0f0f0"><td><b>set_rv</b>(const RV &rv0) (defined in <a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a>)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline]</code></td></tr> 98 100 <tr bgcolor="#f0f0f0"><td><b>set_rvc</b>(const RV &rvc0) (defined in <a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a>)</td><td><a class="el" href="classbdm_1_1mpdf.html">bdm::mpdf</a></td><td><code> [inline]</code></td></tr> … … 104 106 <tr bgcolor="#f0f0f0"><td><b>~mprod</b>() (defined in <a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a>)</td><td><a class="el" href="classbdm_1_1mprod.html">bdm::mprod</a></td><td><code> [inline]</code></td></tr> 105 107 </table></div> 106 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 107 109 <a href="http://www.doxygen.org/index.html"> 108 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mprod.html ¶
r375 r384 79 79 <tr><td></td></tr> 80 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="fed864cdd0e724d9133e6c6bfcacf94b"></a><!-- doxytag: member="bdm::mprod::mprod" ref="fed864cdd0e724d9133e6c6bfcacf94b" args="()" --> 82 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b">mprod</a> ()</td></tr> 83 84 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from list of mFacs,. <br></td></tr> 81 85 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="680c3e2d95b116c7cfb227c7f2984525"></a><!-- doxytag: member="bdm::mprod::mprod" ref="680c3e2d95b116c7cfb227c7f2984525" args="(Array< mpdf * > mFacs)" --> 82 </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#680c3e2d95b116c7cfb227c7f2984525">mprod</a> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > mFacs)</td></tr> 83 84 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from list of mFacs,. <br></td></tr> 86 </td><td class="memItemRight" valign="bottom"><b>mprod</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > mFacs)</td></tr> 87 88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="77767bd7a943aade7ffb554d91884277"></a><!-- doxytag: member="bdm::mprod::set_elements" ref="77767bd7a943aade7ffb554d91884277" args="(Array< mpdf * > mFacs)" --> 89 void </td><td class="memItemRight" valign="bottom"><b>set_elements</b> (Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > mFacs)</td></tr> 90 85 91 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="800f21d94c919137608a2fd5c88719e2"></a><!-- doxytag: member="bdm::mprod::evallogcond" ref="800f21d94c919137608a2fd5c88719e2" args="(const vec &val, const vec &cond)" --> 86 92 double </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2">evallogcond</a> (const vec &val, const vec &cond)</td></tr> … … 92 98 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d193dcc89fbc6f21979e0ced6d84568c"></a><!-- doxytag: member="bdm::mprod::samplecond" ref="d193dcc89fbc6f21979e0ced6d84568c" args="(const vec &cond, int N)" --> 93 99 mat </td><td class="memItemRight" valign="bottom"><b>samplecond</b> (const vec &cond, int N)</td></tr> 100 101 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ca1b8d18f845b2fe29f4f77969e0596"></a><!-- doxytag: member="bdm::mprod::set_elements" ref="2ca1b8d18f845b2fe29f4f77969e0596" args="(const Array< mpdf * > A0)" --> 102 void </td><td class="memItemRight" valign="bottom"><b>set_elements</b> (const Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > A0)</td></tr> 94 103 95 104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbdm_1_1RV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9">getrv</a> (bool checkoverlap=false)</td></tr> … … 170 179 171 180 <tr><td class="mdescLeft"> </td><td class="mdescRight">dummy ep <br></td></tr> 172 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ca3cd8ed92a7154f5b9ff13b1e9d52a"></a><!-- doxytag: member="bdm::mprod::n" ref="7ca3cd8ed92a7154f5b9ff13b1e9d52a" args="" -->173 int </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">n</a></td></tr>174 175 <tr><td class="mdescLeft"> </td><td class="mdescRight">Number of mpdfs in the composite. <br></td></tr>176 181 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="23faf2debc4dde10836393b8c665914a"></a><!-- doxytag: member="bdm::mprod::mpdfs" ref="23faf2debc4dde10836393b8c665914a" args="" --> 177 182 Array< <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">mpdfs</a></td></tr> … … 220 225 </dl> 221 226 222 <p>References <a class="el" href="libBM_8cpp-source.html#l00078">bdm::RV::add()</a>, <a class="el" href="libBM_8h-source.html#l00563">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00561">bdm::compositepdf::n</a>.</p>223 224 <p>Referenced by <a class="el" href="merger_8h-source.html#l000 60">bdm::merger::merger()</a>, and <a class="el" href="emix_8h-source.html#l00236">mprod()</a>.</p>227 <p>References <a class="el" href="libBM_8cpp-source.html#l00078">bdm::RV::add()</a>, and <a class="el" href="libBM_8h-source.html#l00561">bdm::compositepdf::mpdfs</a>.</p> 228 229 <p>Referenced by <a class="el" href="merger_8h-source.html#l00079">bdm::merger_base::set_sources()</a>.</p> 225 230 226 231 </div> … … 255 260 <p>Reimplemented from <a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a>.</p> 256 261 257 <p>References <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::dimension()</a>, <a class="el" href="emix_8h-source.html#l00230">dls</a>, <a class="el" href="libBM_8h-source.html#l00318">bdm::mpdf::ep</a>, <a class="el" href="emix_8h-source.html#l00228">epdfs</a>, <a class="el" href="libBM_8h-source.html#l00563">bdm::compositepdf::mpdfs</a>, and <a class="el" href="libBM_8h-source.html#l00561">bdm::compositepdf::n</a>.</p>262 <p>References <a class="el" href="libBM_8h-source.html#l00302">bdm::epdf::dimension()</a>, <a class="el" href="emix_8h-source.html#l00230">dls</a>, <a class="el" href="libBM_8h-source.html#l00318">bdm::mpdf::ep</a>, <a class="el" href="emix_8h-source.html#l00228">epdfs</a>, and <a class="el" href="libBM_8h-source.html#l00561">bdm::compositepdf::mpdfs</a>.</p> 258 263 259 264 </div> … … 301 306 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 302 307 </div> 303 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 308 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 304 309 <a href="http://www.doxygen.org/index.html"> 305 310 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mratio-members.html ¶
r375 r384 100 100 <tr class="memlist"><td><a class="el" href="classbdm_1_1mratio.html#c0cc0b25dbdc54751466616655454c5c">~mratio</a>()</td><td><a class="el" href="classbdm_1_1mratio.html">bdm::mratio</a></td><td><code> [inline]</code></td></tr> 101 101 </table></div> 102 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 102 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 103 103 <a href="http://www.doxygen.org/index.html"> 104 104 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1mratio.html ¶
r375 r384 307 307 <li><a class="el" href="emix_8h-source.html">emix.h</a></ul> 308 308 </div> 309 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 309 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 310 310 <a href="http://www.doxygen.org/index.html"> 311 311 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1multiBM-members.html ¶
r375 r384 114 114 <tr class="memlist"><td><a class="el" href="classbdm_1_1bdmroot.html#9c191bccc52a133d32d84edbc1a19c49">~bdmroot</a>()</td><td><a class="el" href="classbdm_1_1bdmroot.html">bdm::bdmroot</a></td><td><code> [inline, virtual]</code></td></tr> 115 115 </table></div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1multiBM.html ¶
r375 r384 153 153 virtual <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">predictor</a> () const </td></tr> 154 154 155 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor . <br></td></tr>155 <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a conditional density 1-step ahead predictor <img class="formulaInl" alt="$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $" src="form_130.png">. <br></td></tr> 156 156 <tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 157 157 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2d8755ba0b3def927d31305c03b09c"></a><!-- doxytag: member="bdm::multiBM::_drv" ref="ff2d8755ba0b3def927d31305c03b09c" args="() const " --> … … 263 263 <p>Reimplemented from <a class="el" href="classbdm_1_1BMEF.html#c287f4c0c1ea31b91572ec45351838f1">bdm::BMEF</a>.</p> 264 264 265 <p>References <a class="el" href="libEF_8h-source.html#l0028 4">beta</a>, <a class="el" href="libEF_8h-source.html#l00282">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, <a class="el" href="libBM_8h-source.html#l00655">bdm::BM::ll</a>, and <a class="el" href="libEF_8h-source.html#l00262">bdm::eDirich::lognc()</a>.</p>265 <p>References <a class="el" href="libEF_8h-source.html#l00285">beta</a>, <a class="el" href="libEF_8h-source.html#l00283">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, <a class="el" href="libBM_8h-source.html#l00655">bdm::BM::ll</a>, and <a class="el" href="libEF_8h-source.html#l00263">bdm::eDirich::lognc()</a>.</p> 266 266 267 267 </div> … … 287 287 <p>Reimplemented from <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>.</p> 288 288 289 <p>References <a class="el" href="libEF_8h-source.html#l0027 3">bdm::eDirich::_beta()</a>, <a class="el" href="libEF_8h-source.html#l00284">beta</a>, <a class="el" href="libEF_8h-source.html#l00282">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, and <a class="el" href="libEF_8h-source.html#l00262">bdm::eDirich::lognc()</a>.</p>289 <p>References <a class="el" href="libEF_8h-source.html#l00274">bdm::eDirich::_beta()</a>, <a class="el" href="libEF_8h-source.html#l00285">beta</a>, <a class="el" href="libEF_8h-source.html#l00283">est</a>, <a class="el" href="libBM_8h-source.html#l00657">bdm::BM::evalll</a>, <a class="el" href="libEF_8h-source.html#l00082">bdm::BMEF::frg</a>, <a class="el" href="libEF_8h-source.html#l00084">bdm::BMEF::last_lognc</a>, and <a class="el" href="libEF_8h-source.html#l00263">bdm::eDirich::lognc()</a>.</p> 290 290 291 291 </div> … … 294 294 <li><a class="el" href="libEF_8h-source.html">libEF.h</a></ul> 295 295 </div> 296 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 296 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 297 297 <a href="http://www.doxygen.org/index.html"> 298 298 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1str-members.html ¶
r375 r384 72 72 <tr class="memlist"><td><a class="el" href="classbdm_1_1str.html#905dc0f240e40432c103708c4a34f80a">times</a></td><td><a class="el" href="classbdm_1_1str.html">bdm::str</a></td><td></td></tr> 73 73 </table></div> 74 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 74 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 75 75 <a href="http://www.doxygen.org/index.html"> 76 76 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classbdm_1_1str.html ¶
r375 r384 97 97 <li><a class="el" href="libBM_8h-source.html">libBM.h</a></ul> 98 98 </div> 99 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 99 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 100 100 <a href="http://www.doxygen.org/index.html"> 101 101 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classchmat-members.html ¶
r375 r384 106 106 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 107 107 </table></div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classchmat.html ¶
r375 r384 350 350 <li><a class="el" href="chmat_8h-source.html">chmat.h</a><li>chmat.cpp</ul> 351 351 </div> 352 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 352 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 353 353 <a href="http://www.doxygen.org/index.html"> 354 354 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classes.html ¶
r375 r384 75 75 </td><td><a class="el" href="classbdm_1_1eEF.html">eEF</a> (bdm) </td><td><a class="el" href="classbdm_1_1eWishartCh.html">eWishartCh</a> (bdm) </td><td><a class="el" href="classbdm_1_1MemDS.html">MemDS</a> (bdm) </td><td><a class="el" href="classbdm_1_1MultiModel.html">MultiModel</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1bdmroot.html">bdmroot</a> (bdm) </td><td><a class="el" href="classbdm_1_1eEmp.html">eEmp</a> (bdm) </td><td><a name="letter_F"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> F </div></td></tr></table> 76 76 </td><td><a class="el" href="classbdm_1_1memlog.html">memlog</a> (bdm) </td><td><a name="letter_P"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> P </div></td></tr></table> 77 </td></tr><tr><td><a class="el" href="classbdm_1_1bilinfn.html">bilinfn</a> (bdm) </td><td><a class="el" href="classbdm_1_1egamma.html">egamma</a> (bdm) </td><td><a class="el" href="classbdm_1_1FileDS.html">FileDS</a> (bdm) </td><td><a class="el" href="classbdm_1_1mepdf.html">mepdf</a> (bdm) </td><td><a class="el" href="classbdm_1_1Particular__UI.html">Particular_UI</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1BM.html">BM</a> (bdm) </td><td><a class="el" href="classbdm_1_1egiw.html">egiw</a> (bdm) </td><td><a class="el" href="classbdm_1_1fnc.html">fnc</a> (bdm) </td><td><a class="el" href="classbdm_1_1merger .html">merger</a> (bdm) </td><td><a class="el" href="classbdm_1_1PF.html">PF</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1BMEF.html">BMEF</a> (bdm) </td><td><a class="el" href="classbdm_1_1egiwmix.html">egiwmix</a> (bdm) </td><td><a class="el" href="classfsqmat.html">fsqmat</a> </td><td><a class="el" href="classbdm_1_1mgamma.html">mgamma</a> (bdm) </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table>77 </td></tr><tr><td><a class="el" href="classbdm_1_1bilinfn.html">bilinfn</a> (bdm) </td><td><a class="el" href="classbdm_1_1egamma.html">egamma</a> (bdm) </td><td><a class="el" href="classbdm_1_1FileDS.html">FileDS</a> (bdm) </td><td><a class="el" href="classbdm_1_1mepdf.html">mepdf</a> (bdm) </td><td><a class="el" href="classbdm_1_1Particular__UI.html">Particular_UI</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1BM.html">BM</a> (bdm) </td><td><a class="el" href="classbdm_1_1egiw.html">egiw</a> (bdm) </td><td><a class="el" href="classbdm_1_1fnc.html">fnc</a> (bdm) </td><td><a class="el" href="classbdm_1_1merger__base.html">merger_base</a> (bdm) </td><td><a class="el" href="classbdm_1_1PF.html">PF</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1BMEF.html">BMEF</a> (bdm) </td><td><a class="el" href="classbdm_1_1egiwmix.html">egiwmix</a> (bdm) </td><td><a class="el" href="classfsqmat.html">fsqmat</a> </td><td><a class="el" href="classbdm_1_1mgamma.html">mgamma</a> (bdm) </td><td><a name="letter_R"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> R </div></td></tr></table> 78 78 </td></tr><tr><td><a name="letter_C"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> C </div></td></tr></table> 79 79 </td><td><a class="el" href="classbdm_1_1eigamma.html">eigamma</a> (bdm) </td><td><a name="letter_I"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> I </div></td></tr></table> … … 85 85 </td><td><a class="el" href="classbdm_1_1mmix.html">mmix</a> (bdm) </td><td><a class="el" href="classbdm_1_1UIexternal.html">UIexternal</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1diffbifn.html">diffbifn</a> (bdm) </td><td><a class="el" href="classbdm_1_1emix.html">emix</a> (bdm) </td><td><a class="el" href="classldmat.html">ldmat</a> </td><td><a class="el" href="classbdm_1_1mpdf.html">mpdf</a> (bdm) </td><td><a class="el" href="classbdm_1_1UIinternal.html">UIinternal</a> (bdm) </td></tr><tr><td><a class="el" href="classbdm_1_1dirfilelog.html">dirfilelog</a> (bdm) </td><td><a class="el" href="classbdm_1_1enorm.html">enorm</a> (bdm) </td><td><a class="el" href="classbdm_1_1linfn.html">linfn</a> (bdm) </td><td><a class="el" href="classbdm_1_1MPF.html">MPF</a> (bdm) </td><td><a class="el" href="classUImexDS.html">UImexDS</a> </td></tr></table><p><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_B">B</a> | <a class="qindex" href="#letter_C">C</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_E">E</a> | <a class="qindex" href="#letter_F">F</a> | <a class="qindex" href="#letter_I">I</a> | <a class="qindex" href="#letter_K">K</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_P">P</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_U">U</a></div><p> 86 86 </div> 87 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 87 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 88 88 <a href="http://www.doxygen.org/index.html"> 89 89 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classfsqmat-members.html ¶
r375 r384 102 102 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 103 103 </table></div> 104 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 104 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 105 105 <a href="http://www.doxygen.org/index.html"> 106 106 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classfsqmat.html ¶
r375 r384 364 364 <li><a class="el" href="libDC_8h-source.html">libDC.h</a><li>libDC.cpp</ul> 365 365 </div> 366 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 366 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 367 367 <a href="http://www.doxygen.org/index.html"> 368 368 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classldmat-members.html ¶
r375 r384 107 107 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, private, virtual]</code></td></tr> 108 108 </table></div> 109 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 109 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 110 110 <a href="http://www.doxygen.org/index.html"> 111 111 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classldmat.html ¶
r375 r384 502 502 <li><a class="el" href="libDC_8h-source.html">libDC.h</a><li>libDC.cpp</ul> 503 503 </div> 504 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 504 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 505 505 <a href="http://www.doxygen.org/index.html"> 506 506 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classsqmat-members.html ¶
r375 r384 84 84 <tr class="memlist"><td><a class="el" href="classsqmat.html#0481f2067bb32aaea7e6d4f27e46b656">~sqmat</a>()</td><td><a class="el" href="classsqmat.html">sqmat</a></td><td><code> [inline, virtual]</code></td></tr> 85 85 </table></div> 86 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 86 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 87 87 <a href="http://www.doxygen.org/index.html"> 88 88 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/classsqmat.html ¶
r375 r384 263 263 <li><a class="el" href="libDC_8h-source.html">libDC.h</a></ul> 264 264 </div> 265 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 265 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 266 266 <a href="http://www.doxygen.org/index.html"> 267 267 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/codingrules.html ¶
r375 r384 133 133 <p> 134 134 Explicit destructor functions are not required, unless they are needed. It shall not be possible to use any of the other member functions unless the class has been properly initiated with the input parameters. </div> 135 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 135 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 136 136 <a href="http://www.doxygen.org/index.html"> 137 137 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/config2mxstruct_8h-source.html ¶
r375 r384 205 205 <a name="l00141"></a>00141 }; 206 206 </pre></div></div> 207 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 207 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 208 208 <a href="http://www.doxygen.org/index.html"> 209 209 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/ekf__templ_8h-source.html ¶
r375 r384 107 107 <a name="l00058"></a>00058 <span class="preprocessor">#endif //EKF_TEMP_H</span> 108 108 </pre></div></div> 109 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 109 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 110 110 <a href="http://www.doxygen.org/index.html"> 111 111 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/ekf__templ_8h.html ¶
r375 r384 93 93 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 94 94 Using IT++ for numerical operations ----------------------------------- </div> 95 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 95 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 96 96 <a href="http://www.doxygen.org/index.html"> 97 97 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/emix_8h-source.html ¶
r375 r384 211 211 <a name="l00215"></a>00215 }; 212 212 <a name="l00216"></a>00216 213 <a name="l00225"></a><a class="code" href="classbdm_1_1mprod.html">00225</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1compositepdf.html" title=" Abstract composition of pdfs, will be used for specific classesthis abstract class...">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> {213 <a name="l00225"></a><a class="code" href="classbdm_1_1mprod.html">00225</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class...">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 214 214 <a name="l00226"></a>00226 <span class="keyword">protected</span>: 215 215 <a name="l00228"></a><a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51">00228</a> Array<epdf*> <a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a>; … … 217 217 <a name="l00232"></a><a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677">00232</a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> <a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677" title="dummy ep">dummy</a>; 218 218 <a name="l00233"></a>00233 <span class="keyword">public</span>: 219 <a name="l00236"></a><a class="code" href="classbdm_1_1mprod.html# 680c3e2d95b116c7cfb227c7f2984525">00236</a> <a class="code" href="classbdm_1_1mprod.html#680c3e2d95b116c7cfb227c7f2984525" title="Constructor from list of mFacs,.">mprod</a> ( Array<mpdf*> mFacs ) : <a class="code" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class...">compositepdf</a> ( mFacs ), <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> (), <a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a> ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ), <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ) {220 <a name="l00237"></a>00237 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677" title="dummy ep">dummy</a>;221 <a name="l00238"></a>00238 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> rv=<a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> ( <span class="keyword">true</span> );222 <a name="l00239"></a>00239 set_rv ( rv );<a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677" title="dummy ep">dummy</a>.<a class="code" href="classbdm_1_1epdf.html#840de94aa33cf4f2ebd2427f45a165d8">set_parameters</a> ( rv.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() );223 <a name="l00240"></a>00240 <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>(),<a class="code" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a>);224 <a name="l00241"></a>00241 <span class="comment">// rv and rvc established = > we can link them with mpdfs</span>225 <a name="l00242"></a>00242 < span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a>;i++ ) {226 <a name="l00243"></a>00243 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i ) = <span class="keyword">new</span> <a class="code" href="classbdm_1_1datalink__m2m.html">datalink_m2m</a>;227 <a name="l00244"></a>00244 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a>(i)->set_connection( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rv(), <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rvc(), _rv(), _rvc() );228 <a name="l00245"></a>00245 }229 <a name="l00246"></a>00246 230 <a name="l00247"></a>00247 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i =0;i<n;i++ ) {231 <a name="l00248"></a>00248 <a class="code" href="classbdm_1_1mprod.html# eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a> ( i ) =& ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_epdf() );232 <a name="l00249"></a>00249 }233 <a name="l00250"></a>00250 };219 <a name="l00236"></a><a class="code" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b">00236</a> <a class="code" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b" title="Constructor from list of mFacs,.">mprod</a> (){}; 220 <a name="l00237"></a>00237 <a class="code" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b" title="Constructor from list of mFacs,.">mprod</a> (Array<mpdf*> mFacs ){set_elements( mFacs );}; 221 <a name="l00238"></a>00238 <span class="keywordtype">void</span> set_elements(Array<mpdf*> mFacs ) { 222 <a name="l00239"></a>00239 223 <a name="l00240"></a>00240 set_elements(mFacs); 224 <a name="l00241"></a>00241 225 <a name="l00242"></a>00242 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677" title="dummy ep">dummy</a>; 226 <a name="l00243"></a>00243 RV rv=<a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> ( <span class="keyword">true</span> ); 227 <a name="l00244"></a>00244 set_rv ( rv );<a class="code" href="classbdm_1_1mprod.html#e3fe66c257e5eca9de1031ef44907677" title="dummy ep">dummy</a>.set_parameters ( rv._dsize() ); 228 <a name="l00245"></a>00245 <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>->_rv(),<a class="code" href="classbdm_1_1mpdf.html#5a5f08950daa08b85b01ddf4e1c36288" title="random variable in condition">rvc</a> ); 229 <a name="l00246"></a>00246 <span class="comment">// rv and rvc established = > we can link them with mpdfs</span> 230 <a name="l00247"></a>00247 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(); i++ ) { 231 <a name="l00248"></a>00248 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i ) = <span class="keyword">new</span> datalink_m2m; 232 <a name="l00249"></a>00249 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a>(i)->set_connection( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rv(), <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rvc(), _rv(), _rvc() ); 233 <a name="l00250"></a>00250 } 234 234 <a name="l00251"></a>00251 235 <a name="l00252"></a> <a class="code" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2">00252</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evallogcond</a> ( <span class="keyword">const</span> vec &val, <span class="keyword">const</span> vec &cond) {236 <a name="l00253"></a>00253 <span class="keywordtype">int</span> i;237 <a name="l00254"></a>00254 <span class="keywordtype">double</span> res = 0.0;238 <a name="l00255"></a>00255 <span class="keywordflow">for</span> ( i = <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> - 1;i >= 0;i-- ) {239 <a name="l00256"></a>00256 <span class="comment">/* if ( mpdfs(i)->_rvc().count() >0) {</span>240 <a name="l00257"></a> 00257 <span class="comment"> mpdfs ( i )->condition ( dls ( i )->get_cond ( val,cond ) );</span>241 <a name="l00258"></a>00258 <span class="comment"> }</span>242 <a name="l00259"></a>00259 <span class="comment"> // add logarithms</span>243 <a name="l00260"></a>00260 <span class="comment"> res += epdfs ( i )->evallog ( dls ( i )->pushdown ( val ) );*/</span>244 <a name="l00261"></a>00261 res += <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->evallogcond (245 <a name="l00262"></a>00262 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->pushdown ( val ),246 <a name="l00263"></a>00263 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->get_cond ( val, cond )247 <a name="l00264"></a>00264 );248 <a name="l00265"></a>00265 }249 <a name="l00266"></a>00266 <span class="keywordflow">return</span> res;250 <a name="l00267"></a>00267 }251 <a name="l00268"></a>00268 <span class="comment">//TODO smarter...</span>252 <a name="l00269"></a> <a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">00269</a> vec <a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( <span class="keyword">const</span> vec &cond ) {253 <a name="l0027 1"></a>00271 vec smp= std::numeric_limits<double>::infinity() * ones ( <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>-><a class="code" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c" title="Size of the random variable.">dimension</a>() );254 <a name="l0027 2"></a>00272 vec smpi;255 <a name="l0027 3"></a>00273 <span class="comment">// Hard assumption here!!! We are going backwards, to assure that samples that are needed from smp are already generated!</span>256 <a name="l0027 4"></a>00274 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> - 1 );i >= 0;i-- ) {257 <a name="l0027 5"></a>00275 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->dimensionc()) {258 <a name="l00276"></a>00276 <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->condition ( <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->get_cond ( smp ,cond ) ); <span class="comment">// smp is val here!!</span>259 <a name="l00277"></a>00277 }260 <a name="l00278"></a>00278 smpi = <a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a> ( i )->sample();261 <a name="l00279"></a>00279 <span class="comment">// copy contribution of this pdf into smp</span>262 <a name="l00280"></a>00280 < a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->pushup ( smp, smpi );263 <a name="l00281"></a>00281 <span class="comment">// add ith likelihood contribution</span>264 <a name="l00282"></a>00282 }265 <a name="l00283"></a>00283 <span class="keywordflow">return</span> smp;266 <a name="l00284"></a>00284 }267 <a name="l00285"></a>00285 mat <a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( <span class="keyword">const</span> vec &cond, <span class="keywordtype">int</span> N ) {268 <a name="l00286"></a>00286 mat Smp ( dimension(),N );269 <a name="l00287"></a>00287 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {Smp.set_col ( i,<a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( cond ) );}270 <a name="l00288"></a>00288 <span class="keywordflow">return</span> Smp;235 <a name="l00252"></a>00252 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0; i<<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(); i++ ) { 236 <a name="l00253"></a>00253 <a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a> ( i ) =& ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_epdf() ); 237 <a name="l00254"></a>00254 } 238 <a name="l00255"></a>00255 }; 239 <a name="l00256"></a>00256 240 <a name="l00257"></a><a class="code" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2">00257</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2" title="Shortcut for conditioning and evaluation of the internal epdf. In some cases, this...">evallogcond</a> ( <span class="keyword">const</span> vec &val, <span class="keyword">const</span> vec &cond ) { 241 <a name="l00258"></a>00258 <span class="keywordtype">int</span> i; 242 <a name="l00259"></a>00259 <span class="keywordtype">double</span> res = 0.0; 243 <a name="l00260"></a>00260 <span class="keywordflow">for</span> ( i = <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length() - 1;i >= 0;i-- ) { 244 <a name="l00261"></a>00261 <span class="comment">/* if ( mpdfs(i)->_rvc().count() >0) {</span> 245 <a name="l00262"></a>00262 <span class="comment"> mpdfs ( i )->condition ( dls ( i )->get_cond ( val,cond ) );</span> 246 <a name="l00263"></a>00263 <span class="comment"> }</span> 247 <a name="l00264"></a>00264 <span class="comment"> // add logarithms</span> 248 <a name="l00265"></a>00265 <span class="comment"> res += epdfs ( i )->evallog ( dls ( i )->pushdown ( val ) );*/</span> 249 <a name="l00266"></a>00266 res += <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->evallogcond ( 250 <a name="l00267"></a>00267 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->pushdown ( val ), 251 <a name="l00268"></a>00268 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->get_cond ( val, cond ) 252 <a name="l00269"></a>00269 ); 253 <a name="l00270"></a>00270 } 254 <a name="l00271"></a>00271 <span class="keywordflow">return</span> res; 255 <a name="l00272"></a>00272 } 256 <a name="l00273"></a>00273 <span class="comment">//TODO smarter...</span> 257 <a name="l00274"></a><a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">00274</a> vec <a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( <span class="keyword">const</span> vec &cond ) { 258 <a name="l00276"></a>00276 vec smp= std::numeric_limits<double>::infinity() * ones ( <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>-><a class="code" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c" title="Size of the random variable.">dimension</a>() ); 259 <a name="l00277"></a>00277 vec smpi; 260 <a name="l00278"></a>00278 <span class="comment">// Hard assumption here!!! We are going backwards, to assure that samples that are needed from smp are already generated!</span> 261 <a name="l00279"></a>00279 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length() - 1 );i >= 0;i-- ) { 262 <a name="l00280"></a>00280 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->dimensionc() ) { 263 <a name="l00281"></a>00281 <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->condition ( <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->get_cond ( smp ,cond ) ); <span class="comment">// smp is val here!!</span> 264 <a name="l00282"></a>00282 } 265 <a name="l00283"></a>00283 smpi = <a class="code" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51" title="pointers to epdfs - shortcut to mpdfs().posterior()">epdfs</a> ( i )->sample(); 266 <a name="l00284"></a>00284 <span class="comment">// copy contribution of this pdf into smp</span> 267 <a name="l00285"></a>00285 <a class="code" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f" title="Data link for each mpdfs.">dls</a> ( i )->pushup ( smp, smpi ); 268 <a name="l00286"></a>00286 <span class="comment">// add ith likelihood contribution</span> 269 <a name="l00287"></a>00287 } 270 <a name="l00288"></a>00288 <span class="keywordflow">return</span> smp; 271 271 <a name="l00289"></a>00289 } 272 <a name="l00290"></a>00290 273 <a name="l00291"></a>00291 ~<a class="code" href="classbdm_1_1mprod.html#680c3e2d95b116c7cfb227c7f2984525" title="Constructor from list of mFacs,.">mprod</a>() {};274 <a name="l00292"></a>00292 };275 <a name="l00293"></a>00293 276 <a name="l0029 5"></a><a class="code" href="classbdm_1_1eprod.html">00295</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> {277 <a name="l0029 6"></a>00296 <span class="keyword">protected</span>:278 <a name="l0029 8"></a><a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391">00298</a> Array<const epdf*> <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>;279 <a name="l00 300"></a><a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43">00300</a> Array<datalink*> <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a>;280 <a name="l00 301"></a>00301 <span class="keyword">public</span>:281 <a name="l0030 2"></a>00302 <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> () : <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( 0 ),<a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( 0 ) {};282 <a name="l0030 3"></a>00303 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> Array<const epdf*> &epdfs0, <span class="keywordtype">bool</span> named=<span class="keyword">true</span> ) {283 <a name="l0030 4"></a>00304 <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>=epdfs0;<span class="comment">//.set_length ( epdfs0.length() );</span>284 <a name="l00305"></a> 00305 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a>.set_length ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length() );285 <a name="l00306"></a>00306 286 <a name="l00307"></a>00307 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>;287 <a name="l00308"></a>00308 <span class="keywordflow">if</span> ( named) {288 <a name="l00309"></a>00309 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) {289 <a name="l00310"></a>00310 independent=<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224" title="Add (concat) another variable to the current one,.">add</a> ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>() );290 <a name="l00311"></a>00311 it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent."</span> );291 <a name="l00312"></a>00312 }292 <a name="l00313"></a>00313 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>=<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>._dsize();293 <a name="l00314"></a>00314 }294 <a name="l00315"></a>00315 <span class="keywordflow">else</span> {295 <a name="l00316"></a>00316 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> =0; <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) {296 <a name="l00317"></a>00317 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>+=<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->dimension();297 <a name="l00318"></a>00318 }272 <a name="l00290"></a>00290 mat <a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( <span class="keyword">const</span> vec &cond, <span class="keywordtype">int</span> N ) { 273 <a name="l00291"></a>00291 mat Smp ( dimension(),N ); 274 <a name="l00292"></a>00292 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<N;i++ ) {Smp.set_col ( i,<a class="code" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555" title="Returns a sample from the density conditioned on cond, .">samplecond</a> ( cond ) );} 275 <a name="l00293"></a>00293 <span class="keywordflow">return</span> Smp; 276 <a name="l00294"></a>00294 } 277 <a name="l00295"></a>00295 278 <a name="l00296"></a>00296 ~<a class="code" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b" title="Constructor from list of mFacs,.">mprod</a>() {}; 279 <a name="l00297"></a>00297 }; 280 <a name="l00298"></a>00298 281 <a name="l00300"></a><a class="code" href="classbdm_1_1eprod.html">00300</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> { 282 <a name="l00301"></a>00301 <span class="keyword">protected</span>: 283 <a name="l00303"></a><a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391">00303</a> Array<const epdf*> <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>; 284 <a name="l00305"></a><a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43">00305</a> Array<datalink*> <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a>; 285 <a name="l00306"></a>00306 <span class="keyword">public</span>: 286 <a name="l00307"></a>00307 <a class="code" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod.">eprod</a> () : <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( 0 ),<a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( 0 ) {}; 287 <a name="l00308"></a>00308 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> Array<const epdf*> &epdfs0, <span class="keywordtype">bool</span> named=<span class="keyword">true</span> ) { 288 <a name="l00309"></a>00309 <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>=epdfs0;<span class="comment">//.set_length ( epdfs0.length() );</span> 289 <a name="l00310"></a>00310 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a>.set_length ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length() ); 290 <a name="l00311"></a>00311 291 <a name="l00312"></a>00312 <span class="keywordtype">bool</span> independent=<span class="keyword">true</span>; 292 <a name="l00313"></a>00313 <span class="keywordflow">if</span> ( named ) { 293 <a name="l00314"></a>00314 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 294 <a name="l00315"></a>00315 independent=rv.add ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>() ); 295 <a name="l00316"></a>00316 it_assert_debug ( independent==<span class="keyword">true</span>, <span class="stringliteral">"eprod:: given components are not independent."</span> ); 296 <a name="l00317"></a>00317 } 297 <a name="l00318"></a>00318 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>=rv._dsize(); 298 298 <a name="l00319"></a>00319 } 299 <a name="l00320"></a>00320 <span class="comment">//</span> 300 <a name="l00321"></a>00321 <span class="keywordtype">int</span> cumdim=0; 301 <a name="l00322"></a>00322 <span class="keywordtype">int</span> dimi=0; 302 <a name="l00323"></a>00323 <span class="keywordtype">int</span> i; 303 <a name="l00324"></a>00324 <span class="keywordflow">for</span> ( i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 304 <a name="l00325"></a>00325 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i ) = <span class="keyword">new</span> datalink; 305 <a name="l00326"></a>00326 <span class="keywordflow">if</span> ( named ) {<a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->set_connection ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>() , <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> );} 306 <a name="l00327"></a>00327 <span class="keywordflow">else</span> { 307 <a name="l00328"></a>00328 dimi = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->dimension(); 308 <a name="l00329"></a>00329 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->set_connection ( dimi, <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>, linspace ( cumdim,cumdim+dimi-1 ) ); 309 <a name="l00330"></a>00330 cumdim+=dimi; 310 <a name="l00331"></a>00331 } 311 <a name="l00332"></a>00332 } 312 <a name="l00333"></a>00333 } 313 <a name="l00334"></a>00334 314 <a name="l00335"></a><a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24">00335</a> vec <a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24" title="return expected value">mean</a>()<span class="keyword"> const </span>{ 315 <a name="l00336"></a>00336 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 316 <a name="l00337"></a>00337 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 317 <a name="l00338"></a>00338 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->mean(); 318 <a name="l00339"></a>00339 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pom ); 319 <a name="l00340"></a>00340 } 320 <a name="l00341"></a>00341 <span class="keywordflow">return</span> tmp; 321 <a name="l00342"></a>00342 } 322 <a name="l00343"></a><a class="code" href="classbdm_1_1eprod.html#cc53a151f5ac5dfba68d425acc3a5615">00343</a> vec <a class="code" href="classbdm_1_1eprod.html#cc53a151f5ac5dfba68d425acc3a5615" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{ 323 <a name="l00344"></a>00344 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); <span class="comment">//second moment</span> 324 <a name="l00345"></a>00345 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 325 <a name="l00346"></a>00346 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->mean(); 326 <a name="l00347"></a>00347 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pow ( pom,2 ) ); 327 <a name="l00348"></a>00348 } 328 <a name="l00349"></a>00349 <span class="keywordflow">return</span> tmp-pow ( <a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24" title="return expected value">mean</a>(),2 ); 329 <a name="l00350"></a>00350 } 330 <a name="l00351"></a><a class="code" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741">00351</a> vec <a class="code" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{ 331 <a name="l00352"></a>00352 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 332 <a name="l00353"></a>00353 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 333 <a name="l00354"></a>00354 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->sample(); 334 <a name="l00355"></a>00355 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pom ); 335 <a name="l00356"></a>00356 } 336 <a name="l00357"></a>00357 <span class="keywordflow">return</span> tmp; 337 <a name="l00358"></a>00358 } 338 <a name="l00359"></a><a class="code" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2">00359</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2" title="Compute log-probability of argument val.">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 339 <a name="l00360"></a>00360 <span class="keywordtype">double</span> tmp=0; 340 <a name="l00361"></a>00361 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 341 <a name="l00362"></a>00362 tmp+=<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->evallog ( <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushdown ( val ) ); 342 <a name="l00363"></a>00363 } 343 <a name="l00364"></a>00364 it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite"</span> ); 344 <a name="l00365"></a>00365 <span class="keywordflow">return</span> tmp; 345 <a name="l00366"></a>00366 } 346 <a name="l00368"></a><a class="code" href="classbdm_1_1eprod.html#5194b47dd05a5886e0745250b6704953">00368</a> <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classbdm_1_1eprod.html#5194b47dd05a5886e0745250b6704953" title="access function">operator () </a>( <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{it_assert_debug ( i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length(),<span class="stringliteral">"wrong index"</span> );<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i );} 347 <a name="l00369"></a>00369 348 <a name="l00371"></a><a class="code" href="classbdm_1_1eprod.html#708b37971aab3667f20e325c358632cf">00371</a> <a class="code" href="classbdm_1_1eprod.html#708b37971aab3667f20e325c358632cf" title="Destructor.">~eprod</a>() {<span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) {<span class="keyword">delete</span> <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i );}} 349 <a name="l00372"></a>00372 }; 350 <a name="l00373"></a>00373 299 <a name="l00320"></a>00320 <span class="keywordflow">else</span> { 300 <a name="l00321"></a>00321 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> =0; <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 301 <a name="l00322"></a>00322 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>+=<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->dimension(); 302 <a name="l00323"></a>00323 } 303 <a name="l00324"></a>00324 } 304 <a name="l00325"></a>00325 <span class="comment">//</span> 305 <a name="l00326"></a>00326 <span class="keywordtype">int</span> cumdim=0; 306 <a name="l00327"></a>00327 <span class="keywordtype">int</span> dimi=0; 307 <a name="l00328"></a>00328 <span class="keywordtype">int</span> i; 308 <a name="l00329"></a>00329 <span class="keywordflow">for</span> ( i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 309 <a name="l00330"></a>00330 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i ) = <span class="keyword">new</span> datalink; 310 <a name="l00331"></a>00331 <span class="keywordflow">if</span> ( named ) {<a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->set_connection ( <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>() , rv );} 311 <a name="l00332"></a>00332 <span class="keywordflow">else</span> { 312 <a name="l00333"></a>00333 dimi = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->dimension(); 313 <a name="l00334"></a>00334 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->set_connection ( dimi, <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>, linspace ( cumdim,cumdim+dimi-1 ) ); 314 <a name="l00335"></a>00335 cumdim+=dimi; 315 <a name="l00336"></a>00336 } 316 <a name="l00337"></a>00337 } 317 <a name="l00338"></a>00338 } 318 <a name="l00339"></a>00339 319 <a name="l00340"></a><a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24">00340</a> vec <a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24" title="return expected value">mean</a>()<span class="keyword"> const </span>{ 320 <a name="l00341"></a>00341 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 321 <a name="l00342"></a>00342 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 322 <a name="l00343"></a>00343 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->mean(); 323 <a name="l00344"></a>00344 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pom ); 324 <a name="l00345"></a>00345 } 325 <a name="l00346"></a>00346 <span class="keywordflow">return</span> tmp; 326 <a name="l00347"></a>00347 } 327 <a name="l00348"></a><a class="code" href="classbdm_1_1eprod.html#cc53a151f5ac5dfba68d425acc3a5615">00348</a> vec <a class="code" href="classbdm_1_1eprod.html#cc53a151f5ac5dfba68d425acc3a5615" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{ 328 <a name="l00349"></a>00349 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); <span class="comment">//second moment</span> 329 <a name="l00350"></a>00350 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 330 <a name="l00351"></a>00351 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->mean(); 331 <a name="l00352"></a>00352 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pow ( pom,2 ) ); 332 <a name="l00353"></a>00353 } 333 <a name="l00354"></a>00354 <span class="keywordflow">return</span> tmp-pow ( <a class="code" href="classbdm_1_1eprod.html#1d494351e7e385ad3382387c96915d24" title="return expected value">mean</a>(),2 ); 334 <a name="l00355"></a>00355 } 335 <a name="l00356"></a><a class="code" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741">00356</a> vec <a class="code" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{ 336 <a name="l00357"></a>00357 vec tmp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 337 <a name="l00358"></a>00358 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 338 <a name="l00359"></a>00359 vec pom = <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->sample(); 339 <a name="l00360"></a>00360 <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushup ( tmp, pom ); 340 <a name="l00361"></a>00361 } 341 <a name="l00362"></a>00362 <span class="keywordflow">return</span> tmp; 342 <a name="l00363"></a>00363 } 343 <a name="l00364"></a><a class="code" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2">00364</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2" title="Compute log-probability of argument val.">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 344 <a name="l00365"></a>00365 <span class="keywordtype">double</span> tmp=0; 345 <a name="l00366"></a>00366 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) { 346 <a name="l00367"></a>00367 tmp+=<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i )->evallog ( <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i )->pushdown ( val ) ); 347 <a name="l00368"></a>00368 } 348 <a name="l00369"></a>00369 it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite"</span> ); 349 <a name="l00370"></a>00370 <span class="keywordflow">return</span> tmp; 350 <a name="l00371"></a>00371 } 351 <a name="l00373"></a><a class="code" href="classbdm_1_1eprod.html#5194b47dd05a5886e0745250b6704953">00373</a> <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classbdm_1_1eprod.html#5194b47dd05a5886e0745250b6704953" title="access function">operator () </a>( <span class="keywordtype">int</span> i )<span class="keyword"> const </span>{it_assert_debug ( i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length(),<span class="stringliteral">"wrong index"</span> );<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a> ( i );} 351 352 <a name="l00374"></a>00374 352 <a name="l00378"></a><a class="code" href="classbdm_1_1mmix.html">00378</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type.">mmix</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 353 <a name="l00379"></a>00379 <span class="keyword">protected</span>: 354 <a name="l00381"></a><a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c">00381</a> Array<mpdf*> <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a>; 355 <a name="l00383"></a><a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60">00383</a> <a class="code" href="classbdm_1_1emix.html" title="Mixture of epdfs.">emix</a> <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>; 356 <a name="l00384"></a>00384 <span class="keyword">public</span>: 357 <a name="l00386"></a><a class="code" href="classbdm_1_1mmix.html#a0cf51b7daeb6751103e94e6b96213fb">00386</a> <a class="code" href="classbdm_1_1mmix.html#a0cf51b7daeb6751103e94e6b96213fb" title="Default constructor.">mmix</a> ( ) : <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( ), <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a> () {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> = &<a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>;}; 358 <a name="l00388"></a><a class="code" href="classbdm_1_1mmix.html#ad8d9df36cb0ca093a29af0eca12da32">00388</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mmix.html#ad8d9df36cb0ca093a29af0eca12da32" title="Set weights w and components R.">set_parameters</a> ( <span class="keyword">const</span> vec &w, <span class="keyword">const</span> Array<mpdf*> &<a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ) { 359 <a name="l00389"></a>00389 Array<epdf*> Eps ( Coms.length() ); 360 <a name="l00390"></a>00390 361 <a name="l00391"></a>00391 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < Coms.length();i++ ) { 362 <a name="l00392"></a>00392 Eps ( i ) = & ( <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ( i )->_epdf() ); 363 <a name="l00393"></a>00393 } 364 <a name="l00394"></a>00394 <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>.<a class="code" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters</a> ( w, Eps ); 365 <a name="l00395"></a>00395 }; 366 <a name="l00396"></a>00396 367 <a name="l00397"></a><a class="code" href="classbdm_1_1mmix.html#0a5241ecc9911e816b00b92d5c7c8df0">00397</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mmix.html#0a5241ecc9911e816b00b92d5c7c8df0" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) { 368 <a name="l00398"></a>00398 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a>.length();i++ ) {<a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ( i )->condition ( cond );} 369 <a name="l00399"></a>00399 }; 370 <a name="l00400"></a>00400 }; 353 <a name="l00376"></a><a class="code" href="classbdm_1_1eprod.html#708b37971aab3667f20e325c358632cf">00376</a> <a class="code" href="classbdm_1_1eprod.html#708b37971aab3667f20e325c358632cf" title="Destructor.">~eprod</a>() {<span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391" title="Components (epdfs).">epdfs</a>.length();i++ ) {<span class="keyword">delete</span> <a class="code" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43" title="Array of indeces.">dls</a> ( i );}} 354 <a name="l00377"></a>00377 }; 355 <a name="l00378"></a>00378 356 <a name="l00379"></a>00379 357 <a name="l00383"></a><a class="code" href="classbdm_1_1mmix.html">00383</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type.">mmix</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> { 358 <a name="l00384"></a>00384 <span class="keyword">protected</span>: 359 <a name="l00386"></a><a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c">00386</a> Array<mpdf*> <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a>; 360 <a name="l00388"></a><a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60">00388</a> <a class="code" href="classbdm_1_1emix.html" title="Mixture of epdfs.">emix</a> <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>; 361 <a name="l00389"></a>00389 <span class="keyword">public</span>: 362 <a name="l00391"></a><a class="code" href="classbdm_1_1mmix.html#a0cf51b7daeb6751103e94e6b96213fb">00391</a> <a class="code" href="classbdm_1_1mmix.html#a0cf51b7daeb6751103e94e6b96213fb" title="Default constructor.">mmix</a> ( ) : <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> ( ), <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a> () {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> = &<a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>;}; 363 <a name="l00393"></a><a class="code" href="classbdm_1_1mmix.html#ad8d9df36cb0ca093a29af0eca12da32">00393</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mmix.html#ad8d9df36cb0ca093a29af0eca12da32" title="Set weights w and components R.">set_parameters</a> ( <span class="keyword">const</span> vec &w, <span class="keyword">const</span> Array<mpdf*> &<a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ) { 364 <a name="l00394"></a>00394 Array<epdf*> Eps ( Coms.length() ); 365 <a name="l00395"></a>00395 366 <a name="l00396"></a>00396 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < Coms.length();i++ ) { 367 <a name="l00397"></a>00397 Eps ( i ) = & ( <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ( i )->_epdf() ); 368 <a name="l00398"></a>00398 } 369 <a name="l00399"></a>00399 <a class="code" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60" title="Internal epdf.">Epdf</a>.<a class="code" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">set_parameters</a> ( w, Eps ); 370 <a name="l00400"></a>00400 }; 371 371 <a name="l00401"></a>00401 372 <a name="l00402"></a>00402 } 373 <a name="l00403"></a>00403 <span class="preprocessor">#endif //MX_H</span> 372 <a name="l00402"></a><a class="code" href="classbdm_1_1mmix.html#0a5241ecc9911e816b00b92d5c7c8df0">00402</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mmix.html#0a5241ecc9911e816b00b92d5c7c8df0" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) { 373 <a name="l00403"></a>00403 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a>.length();i++ ) {<a class="code" href="classbdm_1_1mmix.html#52e0bcc70d5b26babeba08097579da9c" title="Component (epdfs).">Coms</a> ( i )->condition ( cond );} 374 <a name="l00404"></a>00404 }; 375 <a name="l00405"></a>00405 }; 376 <a name="l00406"></a>00406 377 <a name="l00407"></a>00407 } 378 <a name="l00408"></a>00408 <span class="preprocessor">#endif //MX_H</span> 374 379 </pre></div></div> 375 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 380 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 376 381 <a href="http://www.doxygen.org/index.html"> 377 382 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/emix_8h.html ¶
r375 r384 106 106 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 107 107 Using IT++ for numerical operations ----------------------------------- </div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/estimator_8cpp.html ¶
r375 r384 106 106 </pre></div> when using loggers storing results on hard drives, and <div class="fragment"><pre class="fragment">>> Res=estimator(<span class="stringliteral">'config_file.cfg'</span>); 107 107 </pre></div> when using logger of the type <code>"mexlog"</code>. The results will be stored in structure <code>M</code>. </div> 108 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 108 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 109 109 <a href="http://www.doxygen.org/index.html"> 110 110 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/files.html ¶
r375 r384 93 93 </table> 94 94 </div> 95 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 95 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 96 96 <a href="http://www.doxygen.org/index.html"> 97 97 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/formula.repository ¶
r354 r384 123 123 \form#122:$ \phi<1 $ 124 124 \form#123:$ [d_1, d_2, \ldots d_t] $ 125 \form#124:\[ f(x_i|y_i), i=1..n \] 126 \form#125:$ \cup [x_i,y_i] $ 127 \form#126:\[ f(z_i|y_i,x_i) f(x_i|y_i) f(y_i) i=1..n \] 128 \form#127:$ z_i $ 129 \form#128:$ y_i={}, z_i={}, \forall i $ 130 \form#129:$ f(z_i|x_i,y_i) $ 131 \form#130:$ f(d_{t+1} |d_{t+h-1}, \ldots d_{t}) $ 132 \form#131:$ \log(x)\sim \mathcal{N}(\mu,\sigma^2) $ 133 \form#132:\[ x \sim \frac{1}{x\sigma\sqrt{2\pi}}\exp{-\frac{1}{2\sigma^2}(\log(x)-\mu)} \] -
TabularUnified library/doc/html/functions.html ¶
r375 r384 152 152 <li>_lls 153 153 : <a class="el" href="classbdm_1_1MultiModel.html#7b4012fc2208ce4ddd5c0d1fe69d7634">bdm::MultiModel</a> 154 <li>_Mix()155 : <a class="el" href="classbdm_1_1merger.html#13f8534f626a37bed91a6d9db54d6d2f">bdm::merger</a>156 154 <li>_mu 157 155 : <a class="el" href="classbdm_1_1Kalman.html#fa172078091e45561343fa513dd573b0">bdm::Kalman< sq_T ></a> … … 170 168 <li>_samples 171 169 : <a class="el" href="classbdm_1_1PF.html#914bd66025692c4018dbd482cb3c47c1">bdm::PF</a> 172 , <a class="el" href="classbdm_1_1eEmp.html# c24966b0aaeb767bc8a6b4fd60931be2">bdm::eEmp</a>170 , <a class="el" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2">bdm::eEmp</a> 173 171 <li>_setY() 174 172 : <a class="el" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a">bdm::eWishartCh</a> 175 173 <li>_Smp() 176 : <a class="el" href="classbdm_1_1merger .html#23f5f8b80df579b05681006fbcfe3699">bdm::merger</a>174 : <a class="el" href="classbdm_1_1merger__base.html#fb682e470103f4e0b353b7c9200d177f">bdm::merger_base</a> 177 175 <li>_urv() 178 176 : <a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">bdm::DS</a> 179 177 <li>_w() 180 178 : <a class="el" href="classbdm_1_1egiwmix.html#884d203ca3994b9fba4c8bd440f355ea">bdm::egiwmix</a> 179 , <a class="el" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714">bdm::eEmp</a> 180 , <a class="el" href="classbdm_1_1emix.html#d9b584cb5b2471a4250fb127757f28be">bdm::emix</a> 181 181 , <a class="el" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef">bdm::eEmp</a> 182 182 , <a class="el" href="classbdm_1_1PF.html#f5149d5522d1095d39240c4c607f61a3">bdm::PF</a> 183 , <a class="el" href="classbdm_1_1emix.html#d9b584cb5b2471a4250fb127757f28be">bdm::emix</a>184 183 <li>_yp 185 184 : <a class="el" href="classbdm_1_1Kalman.html#c249d45258c8578b13858ad3e7b729b1">bdm::Kalman< sq_T ></a> … … 188 187 </ul> 189 188 </div> 190 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 189 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 191 190 <a href="http://www.doxygen.org/index.html"> 192 191 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x61.html ¶
r375 r384 124 124 </ul> 125 125 </div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 126 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 127 127 <a href="http://www.doxygen.org/index.html"> 128 128 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x62.html ¶
r375 r384 133 133 , <a class="el" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1">bdm::egamma</a> 134 134 , <a class="el" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25">bdm::multiBM</a> 135 , <a class="el" href="classbdm_1_1merger .html#1a85d299f202a70afe0cdc1045c26a5d">bdm::merger</a>135 , <a class="el" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14">bdm::merger_base</a> 136 136 <li>BMEF() 137 137 : <a class="el" href="classbdm_1_1BMEF.html#9662379513101405e159e76717104e62">bdm::BMEF</a> … … 145 145 </ul> 146 146 </div> 147 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 147 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 148 148 <a href="http://www.doxygen.org/index.html"> 149 149 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x63.html ¶
r375 r384 164 164 </ul> 165 165 </div> 166 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 166 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 167 167 <a href="http://www.doxygen.org/index.html"> 168 168 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x64.html ¶
r375 r384 120 120 : <a class="el" href="classbdm_1_1datalink__m2m.html#3baed32cb66f0e2f731032cec0a4d287">bdm::datalink_m2m</a> 121 121 <li>DBG 122 : <a class="el" href="classbdm_1_1merger .html#14081d8c5cffdcc6c2f81cb61da41dbe">bdm::merger</a>122 : <a class="el" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7">bdm::merger_base</a> 123 123 <li>dbg 124 : <a class="el" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f">bdm::merger</a> 125 <li>debug_file() 126 : <a class="el" href="classbdm_1_1merger.html#94b5358c9558a8389ac78a65b83244f6">bdm::merger</a> 124 : <a class="el" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad">bdm::merger_base</a> 127 125 <li>delays 128 126 : <a class="el" href="classbdm_1_1MemDS.html#166522aed4d3b12d9b3c2afaf6673301">bdm::MemDS</a> … … 153 151 , <a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">bdm::epdf</a> 154 152 <li>dimu 155 : <a class="el" href="classbdm_1_1 Kalman.html#c5136ef617f6ac0e426bea222755d92b">bdm::Kalman< sq_T ></a>156 , <a class="el" href="classbdm_1_1 diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">bdm::diffbifn</a>153 : <a class="el" href="classbdm_1_1diffbifn.html#30c45617eec89adeb4ebaa763d093fb0">bdm::diffbifn</a> 154 , <a class="el" href="classbdm_1_1Kalman.html#c5136ef617f6ac0e426bea222755d92b">bdm::Kalman< sq_T ></a> 157 155 <li>dimx 158 156 : <a class="el" href="classbdm_1_1diffbifn.html#a193aa2c4a500139c0c4b669691e588e">bdm::diffbifn</a> 159 , <a class="el" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a">bdm::egiw</a>160 157 , <a class="el" href="classbdm_1_1ARX.html#8e68db2a218d54b09304cad6c0a897d9">bdm::ARX</a> 161 158 , <a class="el" href="classbdm_1_1Kalman.html#ba7699cdb3b1382a54d3e28b9b7517fa">bdm::Kalman< sq_T ></a> 159 , <a class="el" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a">bdm::egiw</a> 162 160 <li>dimy 163 161 : <a class="el" href="classbdm_1_1Kalman.html#d2c36ba01760bf207b985bf321b7817f">bdm::Kalman< sq_T ></a> … … 172 170 : <a class="el" href="classbdm_1_1mratio.html#cda5bd23ba60146d69e1f804ff7710c7">bdm::mratio</a> 173 171 <li>dls 174 : <a class="el" href="classbdm_1_1 eprod.html#6b5a9be71a644f6009e7beda6c762a43">bdm::eprod</a>175 , <a class="el" href="classbdm_1_1 mprod.html#acf679b3b1d48629c5a042d9ac0d973f">bdm::mprod</a>176 , <a class="el" href="classbdm_1_1merger .html#ea3c9f4739f857877fd5285b3973289c">bdm::merger</a>172 : <a class="el" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f">bdm::mprod</a> 173 , <a class="el" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43">bdm::eprod</a> 174 , <a class="el" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7">bdm::merger_base</a> 177 175 <li>downsize 178 176 : <a class="el" href="classbdm_1_1datalink.html#bc8ff50395fc1066a1e486dea18d987c">bdm::datalink</a> … … 192 190 </ul> 193 191 </div> 194 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 192 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 195 193 <a href="http://www.doxygen.org/index.html"> 196 194 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x65.html ¶
r375 r384 110 110 <li>eEF() 111 111 : <a class="el" href="classbdm_1_1eEF.html#d5459d472d0feca7cf1fb5f65c4b9ef4">bdm::eEF</a> 112 <li>e ffss_coef113 : <a class="el" href="classbdm_1_1 merger.html#045974350a3612ef4080eab6360b3d70">bdm::merger</a>112 <li>eEmp() 113 : <a class="el" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">bdm::eEmp</a> 114 114 <li>egiwmix() 115 115 : <a class="el" href="classbdm_1_1egiwmix.html#41f4cf7baf554e0a70bf495457179dbb">bdm::egiwmix</a> … … 141 141 : <a class="el" href="classbdm_1_1RV.html#3bb011af88ae98f5c97955bb2c95cfee">bdm::RV</a> 142 142 <li>eSmp 143 : <a class="el" href="classbdm_1_1merger .html#522d43f7aa13fe6701e93fba174dec94">bdm::merger</a>143 : <a class="el" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e">bdm::merger_base</a> 144 144 <li>est 145 145 : <a class="el" href="classbdm_1_1ARX.html#11474a627367f81b76830cb8477cf026">bdm::ARX</a> … … 154 154 : <a class="el" href="classbdm_1_1egiw.html#88c321a2051d1afdbb31a098896a717b">bdm::egiw</a> 155 155 <li>eval() 156 : <a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">bdm::linfn</a> 156 : <a class="el" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">bdm::bilinfn</a> 157 , <a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">bdm::linfn</a> 157 158 , <a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">bdm::diffbifn</a> 158 , <a class="el" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">bdm::bilinfn</a>159 159 , <a class="el" href="classbdm_1_1constfn.html#33c2631ddcad9e81ef4b743d83eed4d4">bdm::constfn</a> 160 160 , <a class="el" href="classbdm_1_1fnc.html#6277b11d7fffc7ef8a2fa3e84ae5bad4">bdm::fnc</a> … … 162 162 : <a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">bdm::BM</a> 163 163 <li>evallog() 164 : <a class="el" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">bdm::euni</a> 164 : <a class="el" href="classbdm_1_1egamma.html#a8e11e5a580ff42a1b205974c60768c6">bdm::egamma</a> 165 , <a class="el" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09">bdm::eEmp</a> 166 , <a class="el" href="classbdm_1_1eEF.html#79a7c8ea8c02e45d410bd1d7ffd72b41">bdm::eEF</a> 165 167 , <a class="el" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2">bdm::eprod</a> 168 , <a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">bdm::epdf</a> 166 169 , <a class="el" href="classbdm_1_1eEF.html#a36d06ecdd6f4c79dc122510eaccc692">bdm::eEF</a> 167 , <a class="el" href="classbdm_1_1merger.html#c47543661897638cab9f506c76a1f92f">bdm::merger</a>168 , <a class="el" href="classbdm_1_1egamma.html#a8e11e5a580ff42a1b205974c60768c6">bdm::egamma</a>169 , <a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">bdm::epdf</a>170 , <a class="el" href="classbdm_1_1eEF.html#79a7c8ea8c02e45d410bd1d7ffd72b41">bdm::eEF</a>171 170 , <a class="el" href="classbdm_1_1emix.html#0f3db99f730bde6b7953931594537e8e">bdm::emix</a> 172 , <a class="el" href="classbdm_1_1e Emp.html#01654c014d3aa068f8d4ecba4be86d09">bdm::eEmp</a>171 , <a class="el" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">bdm::euni</a> 173 172 <li>evallog_M() 174 173 : <a class="el" href="classbdm_1_1emix.html#e64c1d5a73f541e469792e23d4677af2">bdm::emix</a> … … 177 176 , <a class="el" href="classbdm_1_1emix.html#23af1986e2afcbc8c7e1c30f610e703b">bdm::emix</a> 178 177 <li>evallog_nn() 179 : <a class="el" href="classbdm_1_1eEF.html#a4135778ecd9ab774762936c82a097c6">bdm::eEF</a> 178 : <a class="el" href="classbdm_1_1egiw.html#bfb8e7c619b34ad804a73bff71742b5e">bdm::egiw</a> 179 , <a class="el" href="classbdm_1_1eEF.html#a4135778ecd9ab774762936c82a097c6">bdm::eEF</a> 180 , <a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">bdm::enorm< sq_T ></a> 181 , <a class="el" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318">bdm::eDirich</a> 180 182 , <a class="el" href="classbdm_1_1egiwmix.html#5713da45d66410382d6eca4e1b05a132">bdm::egiwmix</a> 181 , <a class="el" href="classbdm_1_1egiw.html#bfb8e7c619b34ad804a73bff71742b5e">bdm::egiw</a>182 , <a class="el" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318">bdm::eDirich</a>183 , <a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">bdm::enorm< sq_T ></a>184 183 <li>evallogcond() 185 184 : <a class="el" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2">bdm::mprod</a> … … 190 189 </ul> 191 190 </div> 192 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 191 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 193 192 <a href="http://www.doxygen.org/index.html"> 194 193 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x66.html ¶
r375 r384 114 114 <li>findself() 115 115 : <a class="el" href="classbdm_1_1RV.html#1367055b2608ad9d50d01a2da6cec869">bdm::RV</a> 116 <li>fix_smp117 : <a class="el" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509">bdm::merger</a>118 116 <li>flatten() 119 : <a class="el" href="classbdm_1_1BMEF.html#b2916a2e71a958665054473124d5e749">bdm::BMEF</a> 120 , <a class="el" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732">bdm::multiBM</a> 117 : <a class="el" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732">bdm::multiBM</a> 121 118 , <a class="el" href="classbdm_1_1ARX.html#e86ab499b116b837d3163ec852961eca">bdm::ARX</a> 122 119 , <a class="el" href="classbdm_1_1MixEF.html#f0dfb4375fef4e61c4cb062e5bac7c8c">bdm::MixEF</a> 120 , <a class="el" href="classbdm_1_1BMEF.html#b2916a2e71a958665054473124d5e749">bdm::BMEF</a> 123 121 <li>fnc() 124 122 : <a class="el" href="classbdm_1_1fnc.html#65e9fb11f6cc7884018d8f229bcabbb7">bdm::fnc</a> … … 126 124 : <a class="el" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64">bdm::BMEF</a> 127 125 <li>from_setting() 128 : <a class="el" href="classbdm_1_1m gnorm.html#d23d2c9b147c01785d5a4239c118ddf1">bdm::mgnorm< sq_T ></a>129 , <a class="el" href="classbdm_1_1 RV.html#d82e3a60503f8d586a05444e5ac4da95">bdm::RV</a>126 : <a class="el" href="classbdm_1_1mlognorm.html#3a130457942be64ee9544e8dff00d09b">bdm::mlognorm</a> 127 , <a class="el" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">bdm::mgnorm< sq_T ></a> 130 128 , <a class="el" href="classbdm_1_1ITppFileDS.html#a745b66598149bf9d0208f75f7e7de91">bdm::ITppFileDS</a> 131 129 , <a class="el" href="classbdm_1_1ArxDS.html#6b8f76d576de14824df0257582cf7a33">bdm::ArxDS</a> 130 , <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></a> 131 , <a class="el" href="classbdm_1_1RV.html#d82e3a60503f8d586a05444e5ac4da95">bdm::RV</a> 132 , <a class="el" href="classbdm_1_1memlog.html#43ece9603339302556865682138eb58a">bdm::memlog</a> 133 , <a class="el" href="classbdm_1_1EKFCh.html#0c2d3a9d57f23b998c53d7c12fa2a724">bdm::EKFCh</a> 134 , <a class="el" href="classbdm_1_1migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">bdm::migamma_ref</a> 135 , <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a> 136 , <a class="el" href="classbdm_1_1dirfilelog.html#bb489fa9f63697b0a9e9fd80e0c45ee1">bdm::dirfilelog</a> 137 , <a class="el" href="classbdm_1_1ARX.html#8d5f760ac23ae2c699d212c24892ae5f">bdm::ARX</a> 132 138 , <a class="el" href="classbdm_1_1MultiModel.html#2357434d2ec3c9b4e44e962bdfceda4e">bdm::MultiModel</a> 133 , <a class="el" href="classbdm_1_1EKFCh.html#0c2d3a9d57f23b998c53d7c12fa2a724">bdm::EKFCh</a>134 , <a class="el" href="classbdm_1_1mlognorm.html#3a130457942be64ee9544e8dff00d09b">bdm::mlognorm</a>135 , <a class="el" href="classbdm_1_1migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">bdm::migamma_ref</a>136 , <a class="el" href="classbdm_1_1memlog.html#43ece9603339302556865682138eb58a">bdm::memlog</a>137 , <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a>138 , <a class="el" href="classbdm_1_1ARX.html#8d5f760ac23ae2c699d212c24892ae5f">bdm::ARX</a>139 , <a class="el" href="classbdm_1_1dirfilelog.html#bb489fa9f63697b0a9e9fd80e0c45ee1">bdm::dirfilelog</a>140 139 <li>fsqmat() 141 : <a class="el" href="classfsqmat.html# 1929fbc9fe375f1d67f979d0d302336f">fsqmat</a>140 : <a class="el" href="classfsqmat.html#9e19a5e26083f4a493b6fad38cc40fab">fsqmat</a> 142 141 <li>fy 143 142 : <a class="el" href="classbdm_1_1Kalman.html#ba555c394c429f6831c9bbabfa2c944c">bdm::Kalman< sq_T ></a> 144 143 </ul> 145 144 </div> 146 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 145 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 147 146 <a href="http://www.doxygen.org/index.html"> 148 147 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x67.html ¶
r375 r384 129 129 </ul> 130 130 </div> 131 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 131 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 132 132 <a href="http://www.doxygen.org/index.html"> 133 133 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x68.html ¶
r375 r384 114 114 </ul> 115 115 </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x69.html ¶
r375 r384 114 114 : <a class="el" href="classbdm_1_1memlog.html#70cec1d3549a82796ad7b6f0d07a4570">bdm::memlog</a> 115 115 <li>init() 116 : <a class="el" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8">bdm::merger</a> 117 , <a class="el" href="classbdm_1_1dirfilelog.html#78a3bd8a83cbd6299e279544bc81493d">bdm::dirfilelog</a> 118 , <a class="el" href="classbdm_1_1MixEF.html#0c2a50789b30769964a909d217125ed2">bdm::MixEF</a> 116 : <a class="el" href="classbdm_1_1MixEF.html#0c2a50789b30769964a909d217125ed2">bdm::MixEF</a> 119 117 , <a class="el" href="classbdm_1_1logger.html#cd6291a73491f755dc7bc88d022eb2fc">bdm::logger</a> 120 118 , <a class="el" href="classbdm_1_1memlog.html#d3a8b007f3540523ff3f9910d9089391">bdm::memlog</a> 119 , <a class="el" href="classbdm_1_1dirfilelog.html#78a3bd8a83cbd6299e279544bc81493d">bdm::dirfilelog</a> 121 120 <li>inv() 122 : <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 123 , <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 121 : <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 124 122 , <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a> 123 , <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 125 124 <li>invqform() 126 : <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a> 125 : <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 126 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a> 127 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a> 127 128 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a> 128 , <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a>129 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a>130 129 <li>isnamed() 131 130 : <a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">bdm::epdf</a> … … 136 135 </ul> 137 136 </div> 138 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 137 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 139 138 <a href="http://www.doxygen.org/index.html"> 140 139 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x6b.html ¶
r375 r384 119 119 </ul> 120 120 </div> 121 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 121 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 122 122 <a href="http://www.doxygen.org/index.html"> 123 123 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x6c.html ¶
r375 r384 148 148 : <a class="el" href="classbdm_1_1logger.html#f9c2fe7db5ddbda0098a4a5bd2c29fbf">bdm::logger</a> 149 149 <li>logit() 150 : <a class="el" href="classbdm_1_1FileDS.html#59d44ef34a523127dd79c076461c43b6">bdm::FileDS</a> 150 : <a class="el" href="classbdm_1_1DS.html#e03d2c93cddd5c3a03107ddd3ae999cf">bdm::DS</a> 151 , <a class="el" href="classbdm_1_1FileDS.html#59d44ef34a523127dd79c076461c43b6">bdm::FileDS</a> 151 152 , <a class="el" href="classbdm_1_1ArxDS.html#4128f5dc3a04063d62fc7e35635aeb90">bdm::ArxDS</a> 152 153 , <a class="el" href="classbdm_1_1memlog.html#364e58c5d7058776c2a9cfa7d58dad6d">bdm::memlog</a> 153 , <a class="el" href="classbdm_1_1 DS.html#e03d2c93cddd5c3a03107ddd3ae999cf">bdm::DS</a>154 , <a class="el" href="classbdm_1_1logger.html#397c014b0aaf3581516e2a105d26a5c9">bdm::logger</a> 154 155 , <a class="el" href="classbdm_1_1memlog.html#2b57dbd3dff49a98c6ce8fccccb170af">bdm::memlog</a> 155 , <a class="el" href="classbdm_1_1logger.html# 397c014b0aaf3581516e2a105d26a5c9">bdm::logger</a>156 , <a class="el" href="classbdm_1_1logger.html#a3f1697214a9281b80f0914f08d4246c">bdm::logger</a> 156 157 <li>lognc() 157 : <a class="el" href="classbdm_1_1egiw.html#41d72ba7b2abc8a9a4209ffa98ed5633">bdm::egiw</a> 158 : <a class="el" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">bdm::enorm< sq_T ></a> 159 , <a class="el" href="classbdm_1_1eEF.html#cd678fc9b02007a4b8d6692e746f1bf8">bdm::eEF</a> 158 160 , <a class="el" href="classbdm_1_1egiwmix.html#7c9bc72ecea861dd2416f852905bf023">bdm::egiwmix</a> 159 161 , <a class="el" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2">bdm::eDirich</a> 160 162 , <a class="el" href="classbdm_1_1egamma.html#9a66cbd100e8520c769ccb3c451f86f8">bdm::egamma</a> 161 , <a class="el" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">bdm::enorm< sq_T ></a> 162 , <a class="el" href="classbdm_1_1eEF.html#cd678fc9b02007a4b8d6692e746f1bf8">bdm::eEF</a> 163 <li>lognorm_merge() 164 : <a class="el" href="classbdm_1_1merger.html#b90f1b8a21a693176dd953a3b983aa0b">bdm::merger</a> 163 , <a class="el" href="classbdm_1_1egiw.html#41d72ba7b2abc8a9a4209ffa98ed5633">bdm::egiw</a> 165 164 <li>logpred() 166 : <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a> 165 : <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a> 166 , <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a> 167 167 , <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a> 168 , <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a> 169 , <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a> 168 , <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a> 170 169 <li>logpred_m() 171 170 : <a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">bdm::BM</a> … … 174 173 </ul> 175 174 </div> 176 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 175 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 177 176 <a href="http://www.doxygen.org/index.html"> 178 177 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x6d.html ¶
r375 r384 128 128 , <a class="el" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600">bdm::enorm< sq_T ></a> 129 129 , <a class="el" href="classbdm_1_1egiw.html#df70c05f918c3a6f86d60f10c1fd6ba2">bdm::egiw</a> 130 , <a class="el" href="classbdm_1_1merger .html#82c5ad7677315fde8e9fc9381c17ece5">bdm::merger</a>130 , <a class="el" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0">bdm::merger_base</a> 131 131 , <a class="el" href="classbdm_1_1eDirich.html#cb343355ec791298bb5a3404cd482fb6">bdm::eDirich</a> 132 132 , <a class="el" href="classbdm_1_1egamma.html#49d256c42cce14c6faa56ec242b57e85">bdm::egamma</a> … … 140 140 : <a class="el" href="classbdm_1_1mepdf.html#8c320c7f878fb665e93aec1499ef53ff">bdm::mepdf</a> 141 141 <li>merge() 142 : <a class="el" href="classbdm_1_1merger.html#3d9f0ba04c8e74be8246d840cc537879">bdm::merger</a> 143 <li>merger() 144 : <a class="el" href="classbdm_1_1merger.html#30ae0fa8a88737185f598bf63fec0569">bdm::merger</a> 142 : <a class="el" href="classbdm_1_1merger__base.html#fcaf1960643dba08fd17dec57b05c1f2">bdm::merger_base</a> 143 <li>merge_points() 144 : <a class="el" href="classbdm_1_1merger__base.html#1f52bf47d2cdd23a95b19e3da902e431">bdm::merger_base</a> 145 <li>merger_base() 146 : <a class="el" href="classbdm_1_1merger__base.html#f9d8c6c26c6520dbb17d4e80f635e7be">bdm::merger_base</a> 145 147 <li>method 146 148 : <a class="el" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a">bdm::MixEF</a> 149 <li>METHOD 150 : <a class="el" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7">bdm::merger_base</a> 147 151 <li>mgamma() 148 152 : <a class="el" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1">bdm::mgamma</a> … … 155 159 <li>mint() 156 160 : <a class="el" href="classbdm_1_1RV.html#9a5c5aeeaf39299d07763377b05a8241">bdm::RV</a> 157 <li>Mix158 : <a class="el" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81">bdm::merger</a>159 161 <li>MixEF() 160 162 : <a class="el" href="classbdm_1_1MixEF.html#4efe67d414ff34a1e7534004fd061241">bdm::MixEF</a> … … 174 176 : <a class="el" href="classbdm_1_1MPF.html#0068e7ca53d90fa5911eb31a0d657f26">bdm::MPF< BM_T ></a> 175 177 <li>mprod() 176 : <a class="el" href="classbdm_1_1mprod.html# 680c3e2d95b116c7cfb227c7f2984525">bdm::mprod</a>178 : <a class="el" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b">bdm::mprod</a> 177 179 <li>mratio() 178 180 : <a class="el" href="classbdm_1_1mratio.html#0ff56d13f9515d7e5f23b7a4cc5529b4">bdm::mratio</a> 179 181 <li>mu 180 : <a class="el" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2">bdm::mlognorm</a> 182 : <a class="el" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7">bdm::enorm< sq_T ></a> 183 , <a class="el" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2">bdm::mlognorm</a> 181 184 , <a class="el" href="classbdm_1_1KalmanFull.html#2defb75e58892615c5f95fd844f3a666">bdm::KalmanFull</a> 182 , <a class="el" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7">bdm::enorm< sq_T ></a>183 185 <li>mult_sym() 184 186 : <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a> 185 187 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a> 188 , <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a> 189 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a> 186 190 , <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a> 187 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a>188 , <a class="el" href="classfsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a>189 191 , <a class="el" href="classldmat.html#e7207748909325bb0f99b43f090a2b7e">ldmat</a> 190 192 <li>mult_sym_t() 191 : <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a> 193 : <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a> 194 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a> 195 , <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a> 192 196 , <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a> 193 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a>194 197 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a> 195 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a>196 198 , <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 197 199 <li>multiBM() 198 : <a class="el" href="classbdm_1_1multiBM.html#c4 dd6d9522a8a605776d21bac9bd9daf">bdm::multiBM</a>200 : <a class="el" href="classbdm_1_1multiBM.html#c4378cf8037f6bed29c74eea63344b31">bdm::multiBM</a> 199 201 </ul> 200 202 </div> 201 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 203 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 202 204 <a href="http://www.doxygen.org/index.html"> 203 205 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x6e.html ¶
r375 r384 112 112 , <a class="el" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5">bdm::MixEF</a> 113 113 , <a class="el" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">bdm::eEmp</a> 114 , <a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">bdm::compositepdf</a>115 114 <li>names 116 115 : <a class="el" href="classbdm_1_1logger.html#68ca1f05cf3d414ba0f39211977b8d02">bdm::logger</a> 117 <li>Nc118 : <a class="el" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d">bdm::merger</a>119 116 <li>ndat() 120 117 : <a class="el" href="classbdm_1_1FileDS.html#a6af63065097147b390e684a7842a26a">bdm::FileDS</a> … … 128 125 : <a class="el" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd">bdm::egiw</a> 129 126 <li>Ns 130 : <a class="el" href="classbdm_1_1merger .html#e91b83e6d9076848c71ae27664072109">bdm::merger</a>127 : <a class="el" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd">bdm::merger_base</a> 131 128 <li>nu 132 : <a class="el" href="classbdm_1_1 ARX.html#740b0582f180ba13cae91d66e9bdb67f">bdm::ARX</a>133 , <a class="el" href="classbdm_1_1 egiw.html#447eacf19d4f4083872686f044814dc4">bdm::egiw</a>129 : <a class="el" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4">bdm::egiw</a> 130 , <a class="el" href="classbdm_1_1ARX.html#740b0582f180ba13cae91d66e9bdb67f">bdm::ARX</a> 134 131 </ul> 135 132 </div> 136 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 137 134 <a href="http://www.doxygen.org/index.html"> 138 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x6f.html ¶
r375 r384 147 147 </ul> 148 148 </div> 149 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 149 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 150 150 <a href="http://www.doxygen.org/index.html"> 151 151 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x70.html ¶
r375 r384 135 135 : <a class="el" href="classbdm_1_1KalmanCh.html#48611c8582706cfa62e832be0972e75d">bdm::KalmanCh</a> 136 136 <li>predictor() 137 : <a class="el" href="classbdm_1_1ARX.html#74fe8ae2d88bee8639510fd0eaf73513">bdm::ARX</a> 138 , <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">bdm::BM</a> 139 <li>proposal() 140 : <a class="el" href="classbdm_1_1merger.html#59314cda058b05ede7831f36b9f759cf">bdm::merger</a> 137 : <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">bdm::BM</a> 138 , <a class="el" href="classbdm_1_1ARX.html#74fe8ae2d88bee8639510fd0eaf73513">bdm::ARX</a> 141 139 <li>pushdown() 142 140 : <a class="el" href="classbdm_1_1datalink.html#5b5368c3899eed2f670d09142c2548e5">bdm::datalink</a> … … 145 143 </ul> 146 144 </div> 147 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 145 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 148 146 <a href="http://www.doxygen.org/index.html"> 149 147 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x71.html ¶
r375 r384 120 120 </ul> 121 121 </div> 122 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 122 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 123 123 <a href="http://www.doxygen.org/index.html"> 124 124 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x72.html ¶
r375 r384 146 146 : <a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">bdm::Kalman< sq_T ></a> 147 147 <li>rvzs 148 : <a class="el" href="classbdm_1_1merger .html#135b938f841cb88ad00a8bbded818703">bdm::merger</a>148 : <a class="el" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f">bdm::merger_base</a> 149 149 </ul> 150 150 </div> 151 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 151 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 152 152 <a href="http://www.doxygen.org/index.html"> 153 153 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x73.html ¶
r375 r384 109 109 <h3><a class="anchor" name="index_s">- s -</a></h3><ul> 110 110 <li>sample() 111 : <a class="el" href="classbdm_1_1merger.html#0ef73e76eeee44c8e3896e3a271ad974">bdm::merger</a> 112 , <a class="el" href="classbdm_1_1emix.html#e8839dbbb0d1276a8dbe957a67cfe0dc">bdm::emix</a> 111 : <a class="el" href="classbdm_1_1emix.html#e8839dbbb0d1276a8dbe957a67cfe0dc">bdm::emix</a> 112 , <a class="el" href="classbdm_1_1egiwmix.html#8bd92fb4c94a46220e84d9a39ddd2e28">bdm::egiwmix</a> 113 , <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a> 114 , <a class="el" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd">bdm::egamma</a> 115 , <a class="el" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">bdm::eigamma</a> 116 , <a class="el" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">bdm::enorm< sq_T ></a> 117 , <a class="el" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">bdm::euni</a> 118 , <a class="el" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">bdm::elognorm</a> 113 119 , <a class="el" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741">bdm::eprod</a> 120 , <a class="el" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61">bdm::egiw</a> 121 , <a class="el" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">bdm::eWishartCh</a> 122 , <a class="el" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">bdm::eEmp</a> 114 123 , <a class="el" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc">bdm::eDirich</a> 115 , <a class="el" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd">bdm::egamma</a>116 , <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a>117 , <a class="el" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">bdm::eigamma</a>118 , <a class="el" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">bdm::euni</a>119 , <a class="el" href="classbdm_1_1egiwmix.html#8bd92fb4c94a46220e84d9a39ddd2e28">bdm::egiwmix</a>120 , <a class="el" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">bdm::enorm< sq_T ></a>121 , <a class="el" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">bdm::elognorm</a>122 , <a class="el" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">bdm::eWishartCh</a>123 , <a class="el" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61">bdm::egiw</a>124 , <a class="el" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">bdm::eEmp</a>125 124 <li>sample_m() 126 125 : <a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">bdm::epdf</a> 127 126 <li>samplecond() 128 : <a class="el" href="classbdm_1_1mp rod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>129 , <a class="el" href="classbdm_1_1mp df.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a>127 : <a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a> 128 , <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a> 130 129 <li>samplecond_m() 131 130 : <a class="el" href="classbdm_1_1mpdf.html#afe4185b26baeb03688202e254d3b005">bdm::mpdf</a> … … 139 138 : <a class="el" href="classbdm_1_1datalink.html#fb8337aac8329eb0ca96bfb3ff73ec67">bdm::datalink</a> 140 139 , <a class="el" href="classbdm_1_1datalink__m2e.html#add918bf877c48714cff51ee4ad989b0">bdm::datalink_m2e</a> 140 <li>set_debug_file() 141 : <a class="el" href="classbdm_1_1merger__base.html#e4514484bac243585b0a1e44325e8add">bdm::merger_base</a> 141 142 <li>set_drv() 142 143 : <a class="el" href="classbdm_1_1DS.html#821297dfd839d68691324f024e57252f">bdm::DS</a> … … 155 156 , <a class="el" href="classbdm_1_1KalmanCh.html#20a4d4c664e8ac8a3f1bb7b0d11c6d87">bdm::KalmanCh</a> 156 157 , <a class="el" href="classbdm_1_1EKFfull.html#78748da361ba61fef162b0d8956d1743">bdm::EKFfull</a> 157 , <a class="el" href="classbdm_1_1bilinfn.html#5a508fbb5fc013904d9b62b2231442de">bdm::bilinfn</a>158 158 , <a class="el" href="classbdm_1_1EKF.html#00fec1a0a6a467eb83fb36c65eba7bcb">bdm::EKF< sq_T ></a> 159 159 , <a class="el" href="classbdm_1_1EKFCh.html#50f9fbffad721f35e5ccb75d0f6b842a">bdm::EKFCh</a> 160 , <a class="el" href="classbdm_1_1merger.html#22216ad175880cf2345871f9313a3f19">bdm::merger</a> 160 , <a class="el" href="classbdm_1_1bilinfn.html#5a508fbb5fc013904d9b62b2231442de">bdm::bilinfn</a> 161 , <a class="el" href="classbdm_1_1merger__base.html#5c85ba8a7c5246674891c6ebbf59ef54">bdm::merger_base</a> 161 162 , <a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">bdm::emix</a> 162 163 , <a class="el" href="classbdm_1_1egiwmix.html#c4627222e22df6e14f8f1496e13c4975">bdm::egiwmix</a> … … 178 179 <li>set_samples() 179 180 : <a class="el" href="classbdm_1_1eEmp.html#b62d802b8ef39f7c4dcbeb366c90951a">bdm::eEmp</a> 181 <li>set_sources() 182 : <a class="el" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94">bdm::merger_base</a> 180 183 <li>set_statistics() 181 : <a class="el" href="classbdm_1_1 eEmp.html#7cfd383180b486fe4526bdf0179350c0">bdm::eEmp</a>184 : <a class="el" href="classbdm_1_1BMEF.html#d2b528b7a41ca67163152142f5404051">bdm::BMEF</a> 182 185 , <a class="el" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52">bdm::multiBM</a> 186 , <a class="el" href="classbdm_1_1eEmp.html#7cfd383180b486fe4526bdf0179350c0">bdm::eEmp</a> 183 187 , <a class="el" href="classbdm_1_1ARX.html#539f9d0127423c94b912708d390e67b8">bdm::ARX</a> 184 188 , <a class="el" href="classbdm_1_1EKFfull.html#1949a9b1496a855cc7c24e619bc52365">bdm::EKFfull</a> 185 , <a class="el" href="classbdm_1_1BMEF.html#d2b528b7a41ca67163152142f5404051">bdm::BMEF</a> 189 <li>set_support() 190 : <a class="el" href="classbdm_1_1merger__base.html#c02a1c55042c40cd190e240f1329d8d4">bdm::merger_base</a> 186 191 <li>setCh() 187 192 : <a class="el" href="classchmat.html#4c8b321967b14ed2616a2abb9498a979">chmat</a> 188 193 <li>setD() 189 194 : <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a> 195 , <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a> 190 196 , <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a> 191 , <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a>192 , <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a>193 , <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a>194 197 <li>setL() 195 198 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a> … … 203 206 : <a class="el" href="classsqmat.html#5493a4a11a2b3c41de9cdd8ce305bb44">sqmat</a> 204 207 <li>sqrt_mult() 205 : <a class="el" href="class fsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>208 : <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a> 206 209 , <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 207 210 , <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a> 208 , <a class="el" href="class ldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a>211 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a> 209 212 <li>step() 210 : <a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">bdm::MemDS</a> 213 : <a class="el" href="classbdm_1_1DS.html#9a14c64d881e838ddc3a5617ee8a973b">bdm::DS</a> 214 , <a class="el" href="classbdm_1_1dirfilelog.html#f79660645d09aa2d8bdd18923a721662">bdm::dirfilelog</a> 215 , <a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">bdm::MemDS</a> 216 , <a class="el" href="classbdm_1_1logger.html#4f31c03578a7b9b30d8b1f8c338a37e8">bdm::logger</a> 211 217 , <a class="el" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19">bdm::ArxDS</a> 212 218 , <a class="el" href="classbdm_1_1memlog.html#69964f0472e53098528ee41507bdfc77">bdm::memlog</a> 213 , <a class="el" href="classbdm_1_1dirfilelog.html#f79660645d09aa2d8bdd18923a721662">bdm::dirfilelog</a>214 , <a class="el" href="classbdm_1_1DS.html#9a14c64d881e838ddc3a5617ee8a973b">bdm::DS</a>215 , <a class="el" href="classbdm_1_1logger.html#4f31c03578a7b9b30d8b1f8c338a37e8">bdm::logger</a>216 219 <li>str() 217 220 : <a class="el" href="classbdm_1_1str.html#7c6b9dccc6814d7bd1e8e2208a0d3f3f">bdm::str</a> … … 224 227 </ul> 225 228 </div> 226 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 229 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 227 230 <a href="http://www.doxygen.org/index.html"> 228 231 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x74.html ¶
r375 r384 128 128 </ul> 129 129 </div> 130 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 130 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 131 131 <a href="http://www.doxygen.org/index.html"> 132 132 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x75.html ¶
r375 r384 122 122 </ul> 123 123 </div> 124 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 125 125 <a href="http://www.doxygen.org/index.html"> 126 126 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x76.html ¶
r375 r384 127 127 , <a class="el" href="classbdm_1_1egiwmix.html#96e1cfb7157b87f04e2957ca4d883425">bdm::egiwmix</a> 128 128 , <a class="el" href="classbdm_1_1emix.html#e9a627023cdf90c9ffd8eef726595c86">bdm::emix</a> 129 , <a class="el" href="classbdm_1_1merger .html#bcef70ece256b1ab1fa7a3a354eb1cc4">bdm::merger</a>129 , <a class="el" href="classbdm_1_1merger__base.html#76fe431922844d132b4e1ecf70f53c99">bdm::merger_base</a> 130 130 , <a class="el" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87">bdm::eEmp</a> 131 131 , <a class="el" href="classbdm_1_1euni.html#951f932155111f6053c980f672b4c22c">bdm::euni</a> … … 136 136 </ul> 137 137 </div> 138 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 138 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 139 139 <a href="http://www.doxygen.org/index.html"> 140 140 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x77.html ¶
r375 r384 124 124 </ul> 125 125 </div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 126 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 127 127 <a href="http://www.doxygen.org/index.html"> 128 128 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x79.html ¶
r375 r384 112 112 </ul> 113 113 </div> 114 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 114 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 115 115 <a href="http://www.doxygen.org/index.html"> 116 116 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x7a.html ¶
r375 r384 109 109 <h3><a class="anchor" name="index_z">- z -</a></h3><ul> 110 110 <li>zdls 111 : <a class="el" href="classbdm_1_1merger .html#6c48bf36ec1f3f7b52e3159cf428a193">bdm::merger</a>111 : <a class="el" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694">bdm::merger_base</a> 112 112 </ul> 113 113 </div> 114 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 114 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 115 115 <a href="http://www.doxygen.org/index.html"> 116 116 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_0x7e.html ¶
r375 r384 118 118 <li>~ldmat() 119 119 : <a class="el" href="classldmat.html#1e2734c0164ce5233c4d709679555138">ldmat</a> 120 <li>~merger ()121 : <a class="el" href="classbdm_1_1merger .html#febef179bb5e074ae6e34d15b4596273">bdm::merger</a>120 <li>~merger_base() 121 : <a class="el" href="classbdm_1_1merger__base.html#32d7e1dd6d91f77c81df7e82aac18689">bdm::merger_base</a> 122 122 <li>~mratio() 123 123 : <a class="el" href="classbdm_1_1mratio.html#c0cc0b25dbdc54751466616655454c5c">bdm::mratio</a> … … 130 130 </ul> 131 131 </div> 132 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 132 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 133 133 <a href="http://www.doxygen.org/index.html"> 134 134 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func.html ¶
r375 r384 142 142 <li>_L() 143 143 : <a class="el" href="classldmat.html#5f44f100248c6627314afaa653b9e5bd">ldmat</a> 144 <li>_Mix()145 : <a class="el" href="classbdm_1_1merger.html#13f8534f626a37bed91a6d9db54d6d2f">bdm::merger</a>146 144 <li>_mu_const() 147 145 : <a class="el" href="classbdm_1_1mlnorm.html#56e587952f94fcac6cfc999eae6dbced">bdm::mlnorm< sq_T ></a> … … 153 151 : <a class="el" href="classbdm_1_1BM.html#b5e8e016be16e4029c789063cb3f3b33">bdm::BM</a> 154 152 <li>_samples() 155 : <a class="el" href="classbdm_1_1eEmp.html# c24966b0aaeb767bc8a6b4fd60931be2">bdm::eEmp</a>153 : <a class="el" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2">bdm::eEmp</a> 156 154 <li>_setY() 157 155 : <a class="el" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a">bdm::eWishartCh</a> 158 156 <li>_Smp() 159 : <a class="el" href="classbdm_1_1merger .html#23f5f8b80df579b05681006fbcfe3699">bdm::merger</a>157 : <a class="el" href="classbdm_1_1merger__base.html#fb682e470103f4e0b353b7c9200d177f">bdm::merger_base</a> 160 158 <li>_urv() 161 159 : <a class="el" href="classbdm_1_1DS.html#a6a9a375da64c82fc227bda3418a1f33">bdm::DS</a> 162 160 <li>_w() 163 : <a class="el" href="classbdm_1_1e giwmix.html#884d203ca3994b9fba4c8bd440f355ea">bdm::egiwmix</a>164 , <a class="el" href="classbdm_1_1e Emp.html#d7f83cc0415cd44ae7cc8b4bdad93aef">bdm::eEmp</a>165 , <a class="el" href="classbdm_1_1e mix.html#d9b584cb5b2471a4250fb127757f28be">bdm::emix</a>161 : <a class="el" href="classbdm_1_1emix.html#d9b584cb5b2471a4250fb127757f28be">bdm::emix</a> 162 , <a class="el" href="classbdm_1_1egiwmix.html#884d203ca3994b9fba4c8bd440f355ea">bdm::egiwmix</a> 163 , <a class="el" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714">bdm::eEmp</a> 166 164 </ul> 167 165 </div> 168 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 166 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 169 167 <a href="http://www.doxygen.org/index.html"> 170 168 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x61.html ¶
r375 r384 117 117 </ul> 118 118 </div> 119 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 119 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 120 120 <a href="http://www.doxygen.org/index.html"> 121 121 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x62.html ¶
r375 r384 135 135 </ul> 136 136 </div> 137 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 137 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 138 138 <a href="http://www.doxygen.org/index.html"> 139 139 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x63.html ¶
r375 r384 146 146 </ul> 147 147 </div> 148 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 148 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 149 149 <a href="http://www.doxygen.org/index.html"> 150 150 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x64.html ¶
r375 r384 111 111 <li>datalink_m2m() 112 112 : <a class="el" href="classbdm_1_1datalink__m2m.html#3baed32cb66f0e2f731032cec0a4d287">bdm::datalink_m2m</a> 113 <li>debug_file()114 : <a class="el" href="classbdm_1_1merger.html#94b5358c9558a8389ac78a65b83244f6">bdm::merger</a>115 113 <li>dfdu_cond() 116 114 : <a class="el" href="classbdm_1_1diffbifn.html#6ea1dc7a482601b29c5ba36a52d20d07">bdm::diffbifn</a> 117 115 , <a class="el" href="classbdm_1_1bilinfn.html#9cfe2f1c115ba7c3c75849a10a4f2c08">bdm::bilinfn</a> 118 116 <li>dfdx_cond() 119 : <a class="el" href="classbdm_1_1 diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a>120 , <a class="el" href="classbdm_1_1 bilinfn.html#33066f1054dd259df2ec5fafae4b46e6">bdm::bilinfn</a>117 : <a class="el" href="classbdm_1_1bilinfn.html#33066f1054dd259df2ec5fafae4b46e6">bdm::bilinfn</a> 118 , <a class="el" href="classbdm_1_1diffbifn.html#651184f808a35f236dbfea21aca1b6ac">bdm::diffbifn</a> 121 119 <li>diffbifn() 122 120 : <a class="el" href="classbdm_1_1diffbifn.html#92ff29d748e445b440453a38d0b09681">bdm::diffbifn</a> … … 129 127 : <a class="el" href="classbdm_1_1DS.html#bedd82e08ae6686b4b1732a122c2201a">bdm::DS</a> 130 128 <li>dupdate() 131 : <a class="el" href="classbdm_1_1e EF.html#deef7d6273ba4d5a5cf0bbd91ec7277a">bdm::eEF</a>132 , <a class="el" href="classbdm_1_1e norm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2">bdm::enorm< sq_T ></a>129 : <a class="el" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2">bdm::enorm< sq_T ></a> 130 , <a class="el" href="classbdm_1_1eEF.html#deef7d6273ba4d5a5cf0bbd91ec7277a">bdm::eEF</a> 133 131 </ul> 134 132 </div> 135 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 136 134 <a href="http://www.doxygen.org/index.html"> 137 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x65.html ¶
r375 r384 107 107 <li>eEF() 108 108 : <a class="el" href="classbdm_1_1eEF.html#d5459d472d0feca7cf1fb5f65c4b9ef4">bdm::eEF</a> 109 <li>eEmp() 110 : <a class="el" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">bdm::eEmp</a> 109 111 <li>egiwmix() 110 112 : <a class="el" href="classbdm_1_1egiwmix.html#41f4cf7baf554e0a70bf495457179dbb">bdm::egiwmix</a> … … 116 118 : <a class="el" href="classbdm_1_1emix.html#4838f3a376ee0bd3c658bfb8f4ea4a3d">bdm::emix</a> 117 119 <li>epredictor() 118 : <a class="el" href="classbdm_1_1MixEF.html#edc50e9640f049b846084748b18469a2">bdm::MixEF</a> 120 : <a class="el" href="classbdm_1_1ARX.html#4cdf5e2a7d3480ec31f6247ed4289b15">bdm::ARX</a> 121 , <a class="el" href="classbdm_1_1MixEF.html#edc50e9640f049b846084748b18469a2">bdm::MixEF</a> 119 122 , <a class="el" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">bdm::BM</a> 120 123 , <a class="el" href="classbdm_1_1ARX.html#749827323c034f11bec61b6e2fc3d42a">bdm::ARX</a> … … 126 129 : <a class="el" href="classbdm_1_1egiw.html#88c321a2051d1afdbb31a098896a717b">bdm::egiw</a> 127 130 <li>eval() 128 : <a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">bdm::diffbifn</a> 131 : <a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">bdm::linfn</a> 132 , <a class="el" href="classbdm_1_1diffbifn.html#188f31066bd72e1bf0ddacd1eb0e6af3">bdm::diffbifn</a> 129 133 , <a class="el" href="classbdm_1_1bilinfn.html#846c21e8e8d41555eb7c075f5ff86ffd">bdm::bilinfn</a> 130 134 , <a class="el" href="classbdm_1_1fnc.html#6277b11d7fffc7ef8a2fa3e84ae5bad4">bdm::fnc</a> 131 135 , <a class="el" href="classbdm_1_1constfn.html#33c2631ddcad9e81ef4b743d83eed4d4">bdm::constfn</a> 132 , <a class="el" href="classbdm_1_1linfn.html#b8063094a2aa210dcf7ae73e2b85e09c">bdm::linfn</a>133 136 <li>evallog() 134 137 : <a class="el" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09">bdm::eEmp</a> 135 , <a class="el" href="classbdm_1_1merger.html#c47543661897638cab9f506c76a1f92f">bdm::merger</a>136 138 , <a class="el" href="classbdm_1_1emix.html#0f3db99f730bde6b7953931594537e8e">bdm::emix</a> 137 139 , <a class="el" href="classbdm_1_1eprod.html#a5a91e67d2f74ff2b0b8eecde2fa42e2">bdm::eprod</a> 138 140 , <a class="el" href="classbdm_1_1epdf.html#deab266d63c236c277538867d5c3f249">bdm::epdf</a> 139 , <a class="el" href="classbdm_1_1eEF.html# a36d06ecdd6f4c79dc122510eaccc692">bdm::eEF</a>141 , <a class="el" href="classbdm_1_1eEF.html#79a7c8ea8c02e45d410bd1d7ffd72b41">bdm::eEF</a> 140 142 , <a class="el" href="classbdm_1_1egamma.html#a8e11e5a580ff42a1b205974c60768c6">bdm::egamma</a> 141 143 , <a class="el" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">bdm::euni</a> 144 , <a class="el" href="classbdm_1_1eEF.html#a36d06ecdd6f4c79dc122510eaccc692">bdm::eEF</a> 142 145 <li>evallog_M() 143 146 : <a class="el" href="classbdm_1_1emix.html#e64c1d5a73f541e469792e23d4677af2">bdm::emix</a> … … 148 151 : <a class="el" href="classbdm_1_1egiw.html#bfb8e7c619b34ad804a73bff71742b5e">bdm::egiw</a> 149 152 , <a class="el" href="classbdm_1_1eEF.html#a4135778ecd9ab774762936c82a097c6">bdm::eEF</a> 150 , <a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">bdm::enorm< sq_T ></a>151 153 , <a class="el" href="classbdm_1_1egiwmix.html#5713da45d66410382d6eca4e1b05a132">bdm::egiwmix</a> 152 154 , <a class="el" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318">bdm::eDirich</a> 155 , <a class="el" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">bdm::enorm< sq_T ></a> 153 156 <li>evallogcond() 154 : <a class="el" href="classbdm_1_1mpdf.html#6336a8a72462e2a56a3989a220f18b1b">bdm::mpdf</a> 155 , <a class="el" href="classbdm_1_1mratio.html#3a2cbce8c61ca9f592d9c2220f7c1204">bdm::mratio</a> 157 : <a class="el" href="classbdm_1_1mratio.html#3a2cbce8c61ca9f592d9c2220f7c1204">bdm::mratio</a> 156 158 , <a class="el" href="classbdm_1_1mprod.html#800f21d94c919137608a2fd5c88719e2">bdm::mprod</a> 159 , <a class="el" href="classbdm_1_1mpdf.html#6336a8a72462e2a56a3989a220f18b1b">bdm::mpdf</a> 157 160 <li>evallogcond_m() 158 161 : <a class="el" href="classbdm_1_1mpdf.html#0b0ed1ed663071bb7cf4a1349eb94fcb">bdm::mpdf</a> 159 162 </ul> 160 163 </div> 161 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 164 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 162 165 <a href="http://www.doxygen.org/index.html"> 163 166 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x66.html ¶
r375 r384 119 119 : <a class="el" href="classbdm_1_1fnc.html#65e9fb11f6cc7884018d8f229bcabbb7">bdm::fnc</a> 120 120 <li>from_setting() 121 : <a class="el" href="classbdm_1_1m lognorm.html#3a130457942be64ee9544e8dff00d09b">bdm::mlognorm</a>121 : <a class="el" href="classbdm_1_1migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">bdm::migamma_ref</a> 122 122 , <a class="el" href="classbdm_1_1ArxDS.html#6b8f76d576de14824df0257582cf7a33">bdm::ArxDS</a> 123 , <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm< sq_T ></a> 123 124 , <a class="el" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">bdm::mgnorm< sq_T ></a> 124 125 , <a class="el" href="classbdm_1_1ITppFileDS.html#a745b66598149bf9d0208f75f7e7de91">bdm::ITppFileDS</a> 125 126 , <a class="el" href="classbdm_1_1RV.html#d82e3a60503f8d586a05444e5ac4da95">bdm::RV</a> 126 , <a class="el" href="classbdm_1_1 migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">bdm::migamma_ref</a>127 , <a class="el" href="classbdm_1_1MultiModel.html#2357434d2ec3c9b4e44e962bdfceda4e">bdm::MultiModel</a> 127 128 , <a class="el" href="classbdm_1_1bdmroot.html#d4602efd3ad9fb9e4532426e4f488df8">bdm::bdmroot</a> 129 , <a class="el" href="classbdm_1_1mlognorm.html#3a130457942be64ee9544e8dff00d09b">bdm::mlognorm</a> 130 , <a class="el" href="classbdm_1_1ARX.html#8d5f760ac23ae2c699d212c24892ae5f">bdm::ARX</a> 128 131 , <a class="el" href="classbdm_1_1memlog.html#43ece9603339302556865682138eb58a">bdm::memlog</a> 129 , <a class="el" href="classbdm_1_1ARX.html#8d5f760ac23ae2c699d212c24892ae5f">bdm::ARX</a>130 132 , <a class="el" href="classbdm_1_1EKFCh.html#0c2d3a9d57f23b998c53d7c12fa2a724">bdm::EKFCh</a> 131 , <a class="el" href="classbdm_1_1MultiModel.html#2357434d2ec3c9b4e44e962bdfceda4e">bdm::MultiModel</a>132 133 , <a class="el" href="classbdm_1_1dirfilelog.html#bb489fa9f63697b0a9e9fd80e0c45ee1">bdm::dirfilelog</a> 133 134 <li>fsqmat() 134 : <a class="el" href="classfsqmat.html# 79e3f73e0ccd663c7f7e08083d272940">fsqmat</a>135 : <a class="el" href="classfsqmat.html#1929fbc9fe375f1d67f979d0d302336f">fsqmat</a> 135 136 </ul> 136 137 </div> 137 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 138 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 138 139 <a href="http://www.doxygen.org/index.html"> 139 140 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x67.html ¶
r375 r384 126 126 </ul> 127 127 </div> 128 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 128 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 129 129 <a href="http://www.doxygen.org/index.html"> 130 130 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x69.html ¶
r375 r384 106 106 <h3><a class="anchor" name="index_i">- i -</a></h3><ul> 107 107 <li>init() 108 : <a class="el" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8">bdm::merger</a> 109 , <a class="el" href="classbdm_1_1MixEF.html#0c2a50789b30769964a909d217125ed2">bdm::MixEF</a> 108 : <a class="el" href="classbdm_1_1MixEF.html#0c2a50789b30769964a909d217125ed2">bdm::MixEF</a> 109 , <a class="el" href="classbdm_1_1logger.html#cd6291a73491f755dc7bc88d022eb2fc">bdm::logger</a> 110 , <a class="el" href="classbdm_1_1dirfilelog.html#78a3bd8a83cbd6299e279544bc81493d">bdm::dirfilelog</a> 110 111 , <a class="el" href="classbdm_1_1memlog.html#d3a8b007f3540523ff3f9910d9089391">bdm::memlog</a> 111 , <a class="el" href="classbdm_1_1dirfilelog.html#78a3bd8a83cbd6299e279544bc81493d">bdm::dirfilelog</a>112 , <a class="el" href="classbdm_1_1logger.html#cd6291a73491f755dc7bc88d022eb2fc">bdm::logger</a>113 112 <li>inv() 114 : <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 115 , <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 113 : <a class="el" href="classchmat.html#5ce4e21a9012a4e98c1f0ed1ca5669bd">chmat</a> 116 114 , <a class="el" href="classfsqmat.html#9fa853e1ca28f2a1a1c43377e798ecb1">fsqmat</a> 115 , <a class="el" href="classldmat.html#2c160cb123c1102face7a50ec566a031">ldmat</a> 117 116 <li>invqform() 118 : <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 119 , <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a> 117 : <a class="el" href="classchmat.html#b49427cff186c62f5df3724e5d2c34b4">chmat</a> 120 118 , <a class="el" href="classsqmat.html#6230e8e8a9341866aaa0ce008691aac2">sqmat</a> 121 119 , <a class="el" href="classfsqmat.html#58075da64ddadd4df40654c35b928c6f">fsqmat</a> 120 , <a class="el" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14">ldmat</a> 122 121 <li>isnamed() 123 122 : <a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">bdm::epdf</a> … … 126 125 </ul> 127 126 </div> 128 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 127 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 129 128 <a href="http://www.doxygen.org/index.html"> 130 129 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x6b.html ¶
r375 r384 113 113 </ul> 114 114 </div> 115 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 115 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 116 116 <a href="http://www.doxygen.org/index.html"> 117 117 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x6c.html ¶
r375 r384 130 130 , <a class="el" href="classbdm_1_1memlog.html#2b57dbd3dff49a98c6ce8fccccb170af">bdm::memlog</a> 131 131 <li>lognc() 132 : <a class="el" href="classbdm_1_1eEF.html#cd678fc9b02007a4b8d6692e746f1bf8">bdm::eEF</a> 132 : <a class="el" href="classbdm_1_1egiwmix.html#7c9bc72ecea861dd2416f852905bf023">bdm::egiwmix</a> 133 , <a class="el" href="classbdm_1_1eEF.html#cd678fc9b02007a4b8d6692e746f1bf8">bdm::eEF</a> 134 , <a class="el" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2">bdm::eDirich</a> 135 , <a class="el" href="classbdm_1_1egamma.html#9a66cbd100e8520c769ccb3c451f86f8">bdm::egamma</a> 133 136 , <a class="el" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">bdm::enorm< sq_T ></a> 134 , <a class="el" href="classbdm_1_1egamma.html#9a66cbd100e8520c769ccb3c451f86f8">bdm::egamma</a>135 , <a class="el" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2">bdm::eDirich</a>136 , <a class="el" href="classbdm_1_1egiwmix.html#7c9bc72ecea861dd2416f852905bf023">bdm::egiwmix</a>137 137 , <a class="el" href="classbdm_1_1egiw.html#41d72ba7b2abc8a9a4209ffa98ed5633">bdm::egiw</a> 138 <li>lognorm_merge()139 : <a class="el" href="classbdm_1_1merger.html#b90f1b8a21a693176dd953a3b983aa0b">bdm::merger</a>140 138 <li>logpred() 141 : <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a> 139 : <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a> 140 , <a class="el" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">bdm::MixEF</a> 141 , <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a> 142 142 , <a class="el" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">bdm::multiBM</a> 143 , <a class="el" href="classbdm_1_1BM.html#50257e0c1e5b5c73153ea6e716ad8ae0">bdm::BM</a>144 , <a class="el" href="classbdm_1_1ARX.html#080a7e531e3aa06694112863b15bc6a4">bdm::ARX</a>145 143 <li>logpred_m() 146 144 : <a class="el" href="classbdm_1_1BM.html#0e8ebe61fb14990abe1254bd3dda5fae">bdm::BM</a> 147 145 </ul> 148 146 </div> 149 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 147 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 150 148 <a href="http://www.doxygen.org/index.html"> 151 149 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x6d.html ¶
r375 r384 115 115 , <a class="el" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9">bdm::eEmp</a> 116 116 , <a class="el" href="classbdm_1_1epdf.html#0c8d13d788094605b3cdab20a6e22b75">bdm::epdf</a> 117 , <a class="el" href="classbdm_1_1merger .html#82c5ad7677315fde8e9fc9381c17ece5">bdm::merger</a>117 , <a class="el" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0">bdm::merger_base</a> 118 118 , <a class="el" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600">bdm::enorm< sq_T ></a> 119 119 , <a class="el" href="classbdm_1_1egiw.html#df70c05f918c3a6f86d60f10c1fd6ba2">bdm::egiw</a> … … 133 133 : <a class="el" href="classbdm_1_1mepdf.html#8c320c7f878fb665e93aec1499ef53ff">bdm::mepdf</a> 134 134 <li>merge() 135 : <a class="el" href="classbdm_1_1merger.html#3d9f0ba04c8e74be8246d840cc537879">bdm::merger</a> 136 <li>merger() 137 : <a class="el" href="classbdm_1_1merger.html#30ae0fa8a88737185f598bf63fec0569">bdm::merger</a> 135 : <a class="el" href="classbdm_1_1merger__base.html#fcaf1960643dba08fd17dec57b05c1f2">bdm::merger_base</a> 136 <li>merge_points() 137 : <a class="el" href="classbdm_1_1merger__base.html#1f52bf47d2cdd23a95b19e3da902e431">bdm::merger_base</a> 138 <li>merger_base() 139 : <a class="el" href="classbdm_1_1merger__base.html#f9d8c6c26c6520dbb17d4e80f635e7be">bdm::merger_base</a> 138 140 <li>mgamma() 139 141 : <a class="el" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1">bdm::mgamma</a> … … 157 159 : <a class="el" href="classbdm_1_1MPF.html#0068e7ca53d90fa5911eb31a0d657f26">bdm::MPF< BM_T ></a> 158 160 <li>mprod() 159 : <a class="el" href="classbdm_1_1mprod.html# 680c3e2d95b116c7cfb227c7f2984525">bdm::mprod</a>161 : <a class="el" href="classbdm_1_1mprod.html#fed864cdd0e724d9133e6c6bfcacf94b">bdm::mprod</a> 160 162 <li>mratio() 161 163 : <a class="el" href="classbdm_1_1mratio.html#0ff56d13f9515d7e5f23b7a4cc5529b4">bdm::mratio</a> 162 164 <li>mult_sym() 163 : <a class="el" href="class fsqmat.html#d4eddc3743c8865cc5ed92d14de0e3e3">fsqmat</a>165 : <a class="el" href="classldmat.html#e7207748909325bb0f99b43f090a2b7e">ldmat</a> 164 166 , <a class="el" href="classsqmat.html#60fbbfa9e483b8187c135f787ee53afa">sqmat</a> 165 167 , <a class="el" href="classchmat.html#66f509f92b0ccf020e2a2a32566e0777">chmat</a> 166 , <a class="el" href="classldmat.html#e 7207748909325bb0f99b43f090a2b7e">ldmat</a>168 , <a class="el" href="classldmat.html#e967b9425007f0cb6cd59b845f9756d8">ldmat</a> 167 169 , <a class="el" href="classfsqmat.html#5530d2756b5d991de755e6121c9a452e">fsqmat</a> 168 170 <li>mult_sym_t() 169 : <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 171 : <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a> 172 , <a class="el" href="classldmat.html#f94dc3a233f3d40fc853d8d4ac3b8eab">ldmat</a> 170 173 , <a class="el" href="classsqmat.html#6909e906da17725b1b80f3cae7cf3325">sqmat</a> 171 , <a class="el" href="classfsqmat.html#ae4949ad2a32553c7fa04d6d1483770a">fsqmat</a>172 174 , <a class="el" href="classchmat.html#07f50d1332b901eee962e8b1913102f7">chmat</a> 175 , <a class="el" href="classfsqmat.html#92052a8adc2054b63e42d1373d145c89">fsqmat</a> 176 , <a class="el" href="classldmat.html#4fd155f38eb6dd5af4bdf9c98a7999a9">ldmat</a> 173 177 <li>multiBM() 174 178 : <a class="el" href="classbdm_1_1multiBM.html#c4dd6d9522a8a605776d21bac9bd9daf">bdm::multiBM</a> 175 179 </ul> 176 180 </div> 177 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 181 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 178 182 <a href="http://www.doxygen.org/index.html"> 179 183 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x6e.html ¶
r375 r384 111 111 </ul> 112 112 </div> 113 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 113 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 114 114 <a href="http://www.doxygen.org/index.html"> 115 115 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x6f.html ¶
r375 r384 131 131 </ul> 132 132 </div> 133 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 133 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 134 134 <a href="http://www.doxygen.org/index.html"> 135 135 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x70.html ¶
r375 r384 116 116 : <a class="el" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">bdm::BM</a> 117 117 , <a class="el" href="classbdm_1_1ARX.html#74fe8ae2d88bee8639510fd0eaf73513">bdm::ARX</a> 118 <li>proposal()119 : <a class="el" href="classbdm_1_1merger.html#59314cda058b05ede7831f36b9f759cf">bdm::merger</a>120 118 <li>pushdown() 121 119 : <a class="el" href="classbdm_1_1datalink.html#5b5368c3899eed2f670d09142c2548e5">bdm::datalink</a> … … 124 122 </ul> 125 123 </div> 126 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 127 125 <a href="http://www.doxygen.org/index.html"> 128 126 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x71.html ¶
r375 r384 115 115 </ul> 116 116 </div> 117 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 117 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 118 118 <a href="http://www.doxygen.org/index.html"> 119 119 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x72.html ¶
r375 r384 114 114 </ul> 115 115 </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x73.html ¶
r375 r384 106 106 <h3><a class="anchor" name="index_s">- s -</a></h3><ul> 107 107 <li>sample() 108 : <a class="el" href="classbdm_1_1merger.html#0ef73e76eeee44c8e3896e3a271ad974">bdm::merger</a> 109 , <a class="el" href="classbdm_1_1emix.html#e8839dbbb0d1276a8dbe957a67cfe0dc">bdm::emix</a> 108 : <a class="el" href="classbdm_1_1emix.html#e8839dbbb0d1276a8dbe957a67cfe0dc">bdm::emix</a> 109 , <a class="el" href="classbdm_1_1egiwmix.html#8bd92fb4c94a46220e84d9a39ddd2e28">bdm::egiwmix</a> 110 , <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a> 111 , <a class="el" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd">bdm::egamma</a> 112 , <a class="el" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">bdm::eigamma</a> 113 , <a class="el" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">bdm::enorm< sq_T ></a> 114 , <a class="el" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">bdm::euni</a> 115 , <a class="el" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">bdm::elognorm</a> 110 116 , <a class="el" href="classbdm_1_1eprod.html#af48debea25d3473bcb71b6a77fac741">bdm::eprod</a> 117 , <a class="el" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61">bdm::egiw</a> 118 , <a class="el" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">bdm::eWishartCh</a> 119 , <a class="el" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">bdm::eEmp</a> 111 120 , <a class="el" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc">bdm::eDirich</a> 112 , <a class="el" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd">bdm::egamma</a>113 , <a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">bdm::epdf</a>114 , <a class="el" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">bdm::eigamma</a>115 , <a class="el" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">bdm::euni</a>116 , <a class="el" href="classbdm_1_1egiwmix.html#8bd92fb4c94a46220e84d9a39ddd2e28">bdm::egiwmix</a>117 , <a class="el" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">bdm::enorm< sq_T ></a>118 , <a class="el" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">bdm::elognorm</a>119 , <a class="el" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">bdm::eWishartCh</a>120 , <a class="el" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61">bdm::egiw</a>121 , <a class="el" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">bdm::eEmp</a>122 121 <li>sample_m() 123 122 : <a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">bdm::epdf</a> 124 123 <li>samplecond() 125 : <a class="el" href="classbdm_1_1mp rod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a>126 , <a class="el" href="classbdm_1_1mp df.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a>124 : <a class="el" href="classbdm_1_1mpdf.html#f0c1db6fcbb3aae2dd6123884457a367">bdm::mpdf</a> 125 , <a class="el" href="classbdm_1_1mprod.html#ee715a8013acf9892f6cb489db595555">bdm::mprod</a> 127 126 <li>samplecond_m() 128 127 : <a class="el" href="classbdm_1_1mpdf.html#afe4185b26baeb03688202e254d3b005">bdm::mpdf</a> … … 132 131 : <a class="el" href="classbdm_1_1datalink.html#fb8337aac8329eb0ca96bfb3ff73ec67">bdm::datalink</a> 133 132 , <a class="el" href="classbdm_1_1datalink__m2e.html#add918bf877c48714cff51ee4ad989b0">bdm::datalink_m2e</a> 133 <li>set_debug_file() 134 : <a class="el" href="classbdm_1_1merger__base.html#e4514484bac243585b0a1e44325e8add">bdm::merger_base</a> 134 135 <li>set_drv() 135 136 : <a class="el" href="classbdm_1_1DS.html#821297dfd839d68691324f024e57252f">bdm::DS</a> … … 150 151 , <a class="el" href="classbdm_1_1EKF.html#00fec1a0a6a467eb83fb36c65eba7bcb">bdm::EKF< sq_T ></a> 151 152 , <a class="el" href="classbdm_1_1EKFCh.html#50f9fbffad721f35e5ccb75d0f6b842a">bdm::EKFCh</a> 152 , <a class="el" href="classbdm_1_1merger .html#22216ad175880cf2345871f9313a3f19">bdm::merger</a>153 , <a class="el" href="classbdm_1_1merger__base.html#5c85ba8a7c5246674891c6ebbf59ef54">bdm::merger_base</a> 153 154 , <a class="el" href="classbdm_1_1emix.html#3a107a6b808a081389ef17af951c234a">bdm::emix</a> 154 155 , <a class="el" href="classbdm_1_1egiwmix.html#c4627222e22df6e14f8f1496e13c4975">bdm::egiwmix</a> … … 171 172 <li>set_samples() 172 173 : <a class="el" href="classbdm_1_1eEmp.html#b62d802b8ef39f7c4dcbeb366c90951a">bdm::eEmp</a> 174 <li>set_sources() 175 : <a class="el" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94">bdm::merger_base</a> 173 176 <li>set_statistics() 174 : <a class="el" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52">bdm::multiBM</a> 177 : <a class="el" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7">bdm::eEmp</a> 178 , <a class="el" href="classbdm_1_1ARX.html#539f9d0127423c94b912708d390e67b8">bdm::ARX</a> 175 179 , <a class="el" href="classbdm_1_1EKFfull.html#1949a9b1496a855cc7c24e619bc52365">bdm::EKFfull</a> 176 , <a class="el" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7">bdm::eEmp</a>177 , <a class="el" href="classbdm_1_1ARX.html#539f9d0127423c94b912708d390e67b8">bdm::ARX</a>178 , <a class="el" href="classbdm_1_1eEmp.html#7cfd383180b486fe4526bdf0179350c0">bdm::eEmp</a>179 180 , <a class="el" href="classbdm_1_1BMEF.html#d2b528b7a41ca67163152142f5404051">bdm::BMEF</a> 181 , <a class="el" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52">bdm::multiBM</a> 182 <li>set_support() 183 : <a class="el" href="classbdm_1_1merger__base.html#c02a1c55042c40cd190e240f1329d8d4">bdm::merger_base</a> 180 184 <li>setCh() 181 185 : <a class="el" href="classchmat.html#4c8b321967b14ed2616a2abb9498a979">chmat</a> 182 186 <li>setD() 183 : <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a> 187 : <a class="el" href="classchmat.html#4b9271097d8317d9514c5d0d62cccb39">chmat</a> 188 , <a class="el" href="classldmat.html#7619922b4de18830ce5351c6b5667e60">ldmat</a> 189 , <a class="el" href="classfsqmat.html#922f8190c13987cbcdb33ec2bf5cf105">fsqmat</a> 190 , <a class="el" href="classchmat.html#a4fc7f9b0539b97c414442a22f3db6e8">chmat</a> 184 191 , <a class="el" href="classfsqmat.html#03a8f49eb4d38a054ecc522be59cd2ad">fsqmat</a> 185 , <a class="el" href="classldmat.html#0884a613b94fde61bfc84288e73ce57f">ldmat</a>186 192 <li>setL() 187 193 : <a class="el" href="classldmat.html#32ff66296627ff5341d7c0b973249614">ldmat</a> … … 193 199 : <a class="el" href="classsqmat.html#4268750c040c716b2c05037f725078a2">sqmat</a> 194 200 <li>sqrt_mult() 195 : <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 201 : <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a> 202 , <a class="el" href="classsqmat.html#6b79438b5d7544a9c8e110a145355d8f">sqmat</a> 203 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a> 196 204 , <a class="el" href="classchmat.html#b22aa239dbaca33e3fb93b4f674d7051">chmat</a> 197 , <a class="el" href="classldmat.html#fc380626ced6f9244fb58c5f0231174d">ldmat</a>198 , <a class="el" href="classfsqmat.html#842a774077ee34ac3c36d180ab33e103">fsqmat</a>199 205 <li>step() 200 : <a class="el" href="classbdm_1_1 logger.html#4f31c03578a7b9b30d8b1f8c338a37e8">bdm::logger</a>206 : <a class="el" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19">bdm::ArxDS</a> 201 207 , <a class="el" href="classbdm_1_1MemDS.html#21916feb3e5ff960855c09b06a0d279b">bdm::MemDS</a> 208 , <a class="el" href="classbdm_1_1dirfilelog.html#f79660645d09aa2d8bdd18923a721662">bdm::dirfilelog</a> 209 , <a class="el" href="classbdm_1_1DS.html#9a14c64d881e838ddc3a5617ee8a973b">bdm::DS</a> 210 , <a class="el" href="classbdm_1_1logger.html#4f31c03578a7b9b30d8b1f8c338a37e8">bdm::logger</a> 202 211 , <a class="el" href="classbdm_1_1memlog.html#69964f0472e53098528ee41507bdfc77">bdm::memlog</a> 203 , <a class="el" href="classbdm_1_1dirfilelog.html#f79660645d09aa2d8bdd18923a721662">bdm::dirfilelog</a>204 , <a class="el" href="classbdm_1_1ArxDS.html#57dfa26b23cc03d53b123fa7e0474b19">bdm::ArxDS</a>205 , <a class="el" href="classbdm_1_1DS.html#9a14c64d881e838ddc3a5617ee8a973b">bdm::DS</a>206 212 <li>str() 207 213 : <a class="el" href="classbdm_1_1str.html#7c6b9dccc6814d7bd1e8e2208a0d3f3f">bdm::str</a> … … 214 220 </ul> 215 221 </div> 216 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 222 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 217 223 <a href="http://www.doxygen.org/index.html"> 218 224 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x74.html ¶
r375 r384 120 120 </ul> 121 121 </div> 122 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 122 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 123 123 <a href="http://www.doxygen.org/index.html"> 124 124 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x75.html ¶
r375 r384 111 111 </ul> 112 112 </div> 113 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 113 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 114 114 <a href="http://www.doxygen.org/index.html"> 115 115 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x76.html ¶
r375 r384 119 119 , <a class="el" href="classbdm_1_1egiwmix.html#96e1cfb7157b87f04e2957ca4d883425">bdm::egiwmix</a> 120 120 , <a class="el" href="classbdm_1_1emix.html#e9a627023cdf90c9ffd8eef726595c86">bdm::emix</a> 121 , <a class="el" href="classbdm_1_1merger .html#bcef70ece256b1ab1fa7a3a354eb1cc4">bdm::merger</a>121 , <a class="el" href="classbdm_1_1merger__base.html#76fe431922844d132b4e1ecf70f53c99">bdm::merger_base</a> 122 122 </ul> 123 123 </div> 124 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 125 125 <a href="http://www.doxygen.org/index.html"> 126 126 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x77.html ¶
r375 r384 113 113 </ul> 114 114 </div> 115 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 115 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 116 116 <a href="http://www.doxygen.org/index.html"> 117 117 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_func_0x7e.html ¶
r375 r384 115 115 <li>~ldmat() 116 116 : <a class="el" href="classldmat.html#1e2734c0164ce5233c4d709679555138">ldmat</a> 117 <li>~merger ()118 : <a class="el" href="classbdm_1_1merger .html#febef179bb5e074ae6e34d15b4596273">bdm::merger</a>117 <li>~merger_base() 118 : <a class="el" href="classbdm_1_1merger__base.html#32d7e1dd6d91f77c81df7e82aac18689">bdm::merger_base</a> 119 119 <li>~mratio() 120 120 : <a class="el" href="classbdm_1_1mratio.html#c0cc0b25dbdc54751466616655454c5c">bdm::mratio</a> … … 127 127 </ul> 128 128 </div> 129 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 129 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 130 130 <a href="http://www.doxygen.org/index.html"> 131 131 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_rela.html ¶
r375 r384 85 85 </ul> 86 86 </div> 87 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 87 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 88 88 <a href="http://www.doxygen.org/index.html"> 89 89 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/functions_vars.html ¶
r375 r384 143 143 , <a class="el" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25">bdm::multiBM</a> 144 144 , <a class="el" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2">bdm::eDirich</a> 145 , <a class="el" href="classbdm_1_1merger .html#1a85d299f202a70afe0cdc1045c26a5d">bdm::merger</a>145 , <a class="el" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14">bdm::merger_base</a> 146 146 </ul> 147 147 <h3><a class="anchor" name="index_c">- c -</a></h3><ul> … … 169 169 : <a class="el" href="classbdm_1_1MemDS.html#a724f4cbfc32e79bacc044253234e260">bdm::MemDS</a> 170 170 <li>DBG 171 : <a class="el" href="classbdm_1_1merger .html#14081d8c5cffdcc6c2f81cb61da41dbe">bdm::merger</a>171 : <a class="el" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7">bdm::merger_base</a> 172 172 <li>dbg 173 : <a class="el" href="classbdm_1_1merger .html#2b99a4a9384dc088dc164372d206138f">bdm::merger</a>173 : <a class="el" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad">bdm::merger_base</a> 174 174 <li>delays 175 175 : <a class="el" href="classbdm_1_1MemDS.html#166522aed4d3b12d9b3c2afaf6673301">bdm::MemDS</a> … … 206 206 : <a class="el" href="classbdm_1_1mratio.html#cda5bd23ba60146d69e1f804ff7710c7">bdm::mratio</a> 207 207 <li>dls 208 : <a class="el" href="classbdm_1_1merger .html#ea3c9f4739f857877fd5285b3973289c">bdm::merger</a>208 : <a class="el" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7">bdm::merger_base</a> 209 209 , <a class="el" href="classbdm_1_1mprod.html#acf679b3b1d48629c5a042d9ac0d973f">bdm::mprod</a> 210 210 , <a class="el" href="classbdm_1_1eprod.html#6b5a9be71a644f6009e7beda6c762a43">bdm::eprod</a> … … 221 221 </ul> 222 222 <h3><a class="anchor" name="index_e">- e -</a></h3><ul> 223 <li>effss_coef224 : <a class="el" href="classbdm_1_1merger.html#045974350a3612ef4080eab6360b3d70">bdm::merger</a>225 223 <li>entries 226 224 : <a class="el" href="classbdm_1_1logger.html#c54566a4554089443a20b2a49ed1a61f">bdm::logger</a> … … 228 226 : <a class="el" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0">bdm::mpdf</a> 229 227 <li>epdf 230 : <a class="el" href="classbdm_1_1mlnorm.html#150ad6acb223b0a0abeaf92346686dcd">bdm::mlnorm< sq_T ></a> 228 : <a class="el" href="classbdm_1_1mgnorm.html#8f7a376a1d2197e0634557e88e03104a">bdm::mgnorm< sq_T ></a> 229 , <a class="el" href="classbdm_1_1mgamma.html#bdc9f1e9e03c09e91103fee269864438">bdm::mgamma</a> 230 , <a class="el" href="classbdm_1_1mlnorm.html#150ad6acb223b0a0abeaf92346686dcd">bdm::mlnorm< sq_T ></a> 231 , <a class="el" href="classbdm_1_1migamma.html#a31b39d4179551b593c9e0d7d756783a">bdm::migamma</a> 231 232 <li>Epdf 232 233 : <a class="el" href="classbdm_1_1mmix.html#0c4dd6ca6556ddd8ae3c5f3257c04b60">bdm::mmix</a> 233 <li>epdf234 : <a class="el" href="classbdm_1_1mgnorm.html#8f7a376a1d2197e0634557e88e03104a">bdm::mgnorm< sq_T ></a>235 , <a class="el" href="classbdm_1_1mgamma.html#bdc9f1e9e03c09e91103fee269864438">bdm::mgamma</a>236 , <a class="el" href="classbdm_1_1migamma.html#a31b39d4179551b593c9e0d7d756783a">bdm::migamma</a>237 234 <li>epdfs 238 235 : <a class="el" href="classbdm_1_1mprod.html#eca722ed1b219727c6c0f8cbc6bf1e51">bdm::mprod</a> 239 236 , <a class="el" href="classbdm_1_1eprod.html#fa0b0981730f0a8339b9ff3e29d78391">bdm::eprod</a> 240 237 <li>eSmp 241 : <a class="el" href="classbdm_1_1merger .html#522d43f7aa13fe6701e93fba174dec94">bdm::merger</a>238 : <a class="el" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e">bdm::merger_base</a> 242 239 <li>est 243 : <a class="el" href="classbdm_1_1MultiModel.html#d665551d045b1a1055eeb9185558ff0b">bdm::MultiModel</a> 244 , <a class="el" href="classbdm_1_1Kalman.html#383f329ff18bbe219254c8b3b916f40d">bdm::Kalman< sq_T ></a> 245 , <a class="el" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a">bdm::multiBM</a> 240 : <a class="el" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a">bdm::multiBM</a> 241 , <a class="el" href="classbdm_1_1MultiModel.html#d665551d045b1a1055eeb9185558ff0b">bdm::MultiModel</a> 246 242 , <a class="el" href="classbdm_1_1PF.html#dc049265b9086cad7071f98d00a2b9af">bdm::PF</a> 247 243 , <a class="el" href="classbdm_1_1MixEF.html#9413fb7f1836237aac807fb9f245e4f6">bdm::MixEF</a> 248 244 , <a class="el" href="classbdm_1_1ARX.html#11474a627367f81b76830cb8477cf026">bdm::ARX</a> 245 , <a class="el" href="classbdm_1_1Kalman.html#383f329ff18bbe219254c8b3b916f40d">bdm::Kalman< sq_T ></a> 249 246 <li>evalll 250 247 : <a class="el" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee">bdm::BM</a> 251 248 </ul> 252 249 <h3><a class="anchor" name="index_f">- f -</a></h3><ul> 253 <li>fix_smp254 : <a class="el" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509">bdm::merger</a>255 250 <li>frg 256 251 : <a class="el" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64">bdm::BMEF</a> … … 308 303 <li>maxlen 309 304 : <a class="el" href="classbdm_1_1memlog.html#a690ebd91430b5973855c9b4c9cf1b1d">bdm::memlog</a> 305 <li>METHOD 306 : <a class="el" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7">bdm::merger_base</a> 310 307 <li>method 311 308 : <a class="el" href="classbdm_1_1MixEF.html#a2376ddadb7573532404452d0c2dd28a">bdm::MixEF</a> 312 <li>Mix313 : <a class="el" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81">bdm::merger</a>314 309 <li>model 315 310 : <a class="el" href="classbdm_1_1ArxDS.html#0aa9d8d35792159dc9611802f6c190eb">bdm::ArxDS</a> … … 320 315 <li>mu 321 316 : <a class="el" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2">bdm::mlognorm</a> 317 , <a class="el" href="classbdm_1_1KalmanFull.html#2defb75e58892615c5f95fd844f3a666">bdm::KalmanFull</a> 322 318 , <a class="el" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7">bdm::enorm< sq_T ></a> 323 , <a class="el" href="classbdm_1_1KalmanFull.html#2defb75e58892615c5f95fd844f3a666">bdm::KalmanFull</a>324 319 </ul> 325 320 <h3><a class="anchor" name="index_n">- n -</a></h3><ul> … … 328 323 , <a class="el" href="classbdm_1_1MixEF.html#38ca1d86e977d1c38810a3c95bf074a5">bdm::MixEF</a> 329 324 , <a class="el" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">bdm::eEmp</a> 330 , <a class="el" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a">bdm::compositepdf</a>331 325 <li>names 332 326 : <a class="el" href="classbdm_1_1logger.html#68ca1f05cf3d414ba0f39211977b8d02">bdm::logger</a> 333 <li>Nc334 : <a class="el" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d">bdm::merger</a>335 327 <li>nk 336 328 : <a class="el" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20">bdm::euni</a> … … 340 332 : <a class="el" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd">bdm::egiw</a> 341 333 <li>Ns 342 : <a class="el" href="classbdm_1_1merger .html#e91b83e6d9076848c71ae27664072109">bdm::merger</a>334 : <a class="el" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd">bdm::merger_base</a> 343 335 <li>nu 344 : <a class="el" href="classbdm_1_1 egiw.html#447eacf19d4f4083872686f044814dc4">bdm::egiw</a>345 , <a class="el" href="classbdm_1_1 ARX.html#740b0582f180ba13cae91d66e9bdb67f">bdm::ARX</a>336 : <a class="el" href="classbdm_1_1ARX.html#740b0582f180ba13cae91d66e9bdb67f">bdm::ARX</a> 337 , <a class="el" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4">bdm::egiw</a> 346 338 </ul> 347 339 <h3><a class="anchor" name="index_o">- o -</a></h3><ul> … … 409 401 : <a class="el" href="classbdm_1_1Kalman.html#3fe475a1e920b20b63bb342c0e1571f7">bdm::Kalman< sq_T ></a> 410 402 <li>rvzs 411 : <a class="el" href="classbdm_1_1merger .html#135b938f841cb88ad00a8bbded818703">bdm::merger</a>403 : <a class="el" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f">bdm::merger_base</a> 412 404 </ul> 413 405 <h3><a class="anchor" name="index_s">- s -</a></h3><ul> … … 464 456 <h3><a class="anchor" name="index_z">- z -</a></h3><ul> 465 457 <li>zdls 466 : <a class="el" href="classbdm_1_1merger .html#6c48bf36ec1f3f7b52e3159cf428a193">bdm::merger</a>458 : <a class="el" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694">bdm::merger_base</a> 467 459 </ul> 468 460 </div> 469 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 461 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 470 462 <a href="http://www.doxygen.org/index.html"> 471 463 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/globals.html ¶
r375 r384 80 80 </ul> 81 81 </div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 83 83 <a href="http://www.doxygen.org/index.html"> 84 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/globals_func.html ¶
r375 r384 80 80 </ul> 81 81 </div> 82 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 82 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 83 83 <a href="http://www.doxygen.org/index.html"> 84 84 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/graph_legend.html ¶
r375 r384 122 122 </ul> 123 123 </div> 124 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:082009 for mixpp by 124 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:29 2009 for mixpp by 125 125 <a href="http://www.doxygen.org/index.html"> 126 126 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/group__math.html ¶
r375 r384 141 141 </div><p> 142 142 </div> 143 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 143 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 144 144 <a href="http://www.doxygen.org/index.html"> 145 145 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/hierarchy.html ¶
r375 r384 166 166 </div> 167 167 </div> 168 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder11', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder11', this)"/><a class="el" href="classbdm_1_1 DS.html" target="_self">bdm::DS</a></p>168 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder11', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder11', this)"/><a class="el" href="classbdm_1_1compositepdf.html" target="_self">bdm::compositepdf</a></p> 169 169 <div id="folder11"> 170 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger__base.html" target="_self">bdm::merger_base</a></p> 171 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mprod.html" target="_self">bdm::mprod</a></p> 172 </div> 173 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder12', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder12', this)"/><a class="el" href="classbdm_1_1DS.html" target="_self">bdm::DS</a></p> 174 <div id="folder12"> 170 175 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1ArxDS.html" target="_self">bdm::ArxDS</a></p> 171 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder1 2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder12', this)"/><a class="el" href="classbdm_1_1MemDS.html" target="_self">bdm::MemDS</a></p>172 <div id="folder1 2">173 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder1 3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder13', this)"/><a class="el" href="classbdm_1_1FileDS.html" target="_self">bdm::FileDS</a></p>174 <div id="folder1 3">176 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder13', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder13', this)"/><a class="el" href="classbdm_1_1MemDS.html" target="_self">bdm::MemDS</a></p> 177 <div id="folder13"> 178 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder14', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder14', this)"/><a class="el" href="classbdm_1_1FileDS.html" target="_self">bdm::FileDS</a></p> 179 <div id="folder14"> 175 180 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1CsvFileDS.html" target="_self">bdm::CsvFileDS</a></p> 176 181 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1ITppFileDS.html" target="_self">bdm::ITppFileDS</a></p> … … 178 183 </div> 179 184 </div> 180 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1 4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder14', this)"/><a class="el" href="classbdm_1_1epdf.html" target="_self">bdm::epdf</a></p>181 <div id="folder1 4">182 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1 5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder15', this)"/><a class="el" href="classbdm_1_1eEF.html" target="_self">bdm::eEF</a></p>183 <div id="folder1 5">185 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder15', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder15', this)"/><a class="el" href="classbdm_1_1epdf.html" target="_self">bdm::epdf</a></p> 186 <div id="folder15"> 187 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder16', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder16', this)"/><a class="el" href="classbdm_1_1eEF.html" target="_self">bdm::eEF</a></p> 188 <div id="folder16"> 184 189 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eDirich.html" target="_self">bdm::eDirich</a></p> 185 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1 6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder16', this)"/><a class="el" href="classbdm_1_1egamma.html" target="_self">bdm::egamma</a></p>186 <div id="folder1 6">190 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder17', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder17', this)"/><a class="el" href="classbdm_1_1egamma.html" target="_self">bdm::egamma</a></p> 191 <div id="folder17"> 187 192 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eigamma.html" target="_self">bdm::eigamma</a></p> 188 193 </div> 189 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder1 7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder17', this)"/><a class="el" href="classbdm_1_1egiw.html" target="_self">bdm::egiw</a></p>190 <div id="folder1 7">194 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder18', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder18', this)"/><a class="el" href="classbdm_1_1egiw.html" target="_self">bdm::egiw</a></p> 195 <div id="folder18"> 191 196 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1egiwmix.html" target="_self">bdm::egiwmix</a></p> 192 197 </div> … … 194 199 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1enorm.html" target="_self">bdm::enorm< chmat ></a></p> 195 200 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1enorm.html" target="_self">bdm::enorm< fsqmat ></a></p> 196 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder1 8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder18', this)"/><a class="el" href="classbdm_1_1enorm.html" target="_self">bdm::enorm< ldmat ></a></p>197 <div id="folder1 8">201 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder19', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder19', this)"/><a class="el" href="classbdm_1_1enorm.html" target="_self">bdm::enorm< ldmat ></a></p> 202 <div id="folder19"> 198 203 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1elognorm.html" target="_self">bdm::elognorm</a></p> 199 204 </div> … … 204 209 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1euni.html" target="_self">bdm::euni</a></p> 205 210 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eWishartCh.html" target="_self">bdm::eWishartCh</a></p> 206 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger .html" target="_self">bdm::merger</a></p>207 </div> 208 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder 19', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder19', this)"/><a class="el" href="classbdm_1_1fnc.html" target="_self">bdm::fnc</a></p>209 <div id="folder 19">211 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger__base.html" target="_self">bdm::merger_base</a></p> 212 </div> 213 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder20', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder20', this)"/><a class="el" href="classbdm_1_1fnc.html" target="_self">bdm::fnc</a></p> 214 <div id="folder20"> 210 215 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1constfn.html" target="_self">bdm::constfn</a></p> 211 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 0', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder20', this)"/><a class="el" href="classbdm_1_1diffbifn.html" target="_self">bdm::diffbifn</a></p>212 <div id="folder2 0">216 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder21', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder21', this)"/><a class="el" href="classbdm_1_1diffbifn.html" target="_self">bdm::diffbifn</a></p> 217 <div id="folder21"> 213 218 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1bilinfn.html" target="_self">bdm::bilinfn</a></p> 214 219 </div> 215 220 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1linfn.html" target="_self">bdm::linfn</a></p> 216 221 </div> 217 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 1', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder21', this)"/><a class="el" href="classbdm_1_1logger.html" target="_self">bdm::logger</a></p>218 <div id="folder2 1">219 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder2 2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder22', this)"/><a class="el" href="classbdm_1_1memlog.html" target="_self">bdm::memlog</a></p>220 <div id="folder2 2">222 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder22', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder22', this)"/><a class="el" href="classbdm_1_1logger.html" target="_self">bdm::logger</a></p> 223 <div id="folder22"> 224 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder23', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder23', this)"/><a class="el" href="classbdm_1_1memlog.html" target="_self">bdm::memlog</a></p> 225 <div id="folder23"> 221 226 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1dirfilelog.html" target="_self">bdm::dirfilelog</a></p> 222 227 </div> 223 228 </div> 224 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder23', this)"/><a class="el" href="classbdm_1_1mpdf.html" target="_self">bdm::mpdf</a></p>225 <div id="folder2 3">226 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder24', this)"/><a class="el" href="classbdm_1_1mEF.html" target="_self">bdm::mEF</a></p>227 <div id="folder2 4">228 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder25', this)"/><a class="el" href="classbdm_1_1mgamma.html" target="_self">bdm::mgamma</a></p>229 <div id="folder2 5">229 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder24', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder24', this)"/><a class="el" href="classbdm_1_1mpdf.html" target="_self">bdm::mpdf</a></p> 230 <div id="folder24"> 231 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder25', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder25', this)"/><a class="el" href="classbdm_1_1mEF.html" target="_self">bdm::mEF</a></p> 232 <div id="folder25"> 233 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder26', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder26', this)"/><a class="el" href="classbdm_1_1mgamma.html" target="_self">bdm::mgamma</a></p> 234 <div id="folder26"> 230 235 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgamma__fix.html" target="_self">bdm::mgamma_fix</a></p> 231 236 </div> 232 237 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgnorm.html" target="_self">bdm::mgnorm< sq_T ></a></p> 233 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder2 6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder26', this)"/><a class="el" href="classbdm_1_1migamma.html" target="_self">bdm::migamma</a></p>234 <div id="folder2 6">238 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder27', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder27', this)"/><a class="el" href="classbdm_1_1migamma.html" target="_self">bdm::migamma</a></p> 239 <div id="folder27"> 235 240 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1migamma__ref.html" target="_self">bdm::migamma_ref</a></p> 236 241 </div> 237 242 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mlnorm.html" target="_self">bdm::mlnorm< sq_T ></a></p> 238 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder2 7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder27', this)"/><a class="el" href="classbdm_1_1mlnorm.html" target="_self">bdm::mlnorm< ldmat ></a></p>239 <div id="folder2 7">243 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder28', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder28', this)"/><a class="el" href="classbdm_1_1mlnorm.html" target="_self">bdm::mlnorm< ldmat ></a></p> 244 <div id="folder28"> 240 245 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mlstudent.html" target="_self">bdm::mlstudent</a></p> 241 246 </div> … … 248 253 </div> 249 254 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1RV.html" target="_self">bdm::RV</a></p> 250 </div>251 <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder28', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder28', this)"/><a class="el" href="classbdm_1_1compositepdf.html" target="_self">bdm::compositepdf</a></p>252 <div id="folder28">253 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger.html" target="_self">bdm::merger</a></p>254 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mprod.html" target="_self">bdm::mprod</a></p>255 255 </div> 256 256 <p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder29', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder29', this)"/><a class="el" href="classbdm_1_1datalink.html" target="_self">bdm::datalink</a></p> … … 288 288 </html> 289 289 </div> 290 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 290 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 291 291 <a href="http://www.doxygen.org/index.html"> 292 292 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/inherit__graph__1.dot ¶
r354 r384 50 50 Node23 [label="bdm::KFcondR",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1KFcondR.html",tooltip="Kalman Filter with conditional diagonal matrices R and Q."]; 51 51 Node1 -> Node24 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 52 Node24 [label="bdm:: DS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1DS.html",tooltip="Abstract class for discrete-time sources of data."];52 Node24 [label="bdm::compositepdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1compositepdf.html",tooltip="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class..."]; 53 53 Node24 -> Node25 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 54 Node25 [label="bdm:: ArxDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1ArxDS.html",tooltip="Generator of ARX data."];54 Node25 [label="bdm::merger_base",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1merger__base.html",tooltip="Base class for general combination of pdfs on discrete support."]; 55 55 Node24 -> Node26 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 56 Node26 [label="bdm:: MemDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1MemDS.html",tooltip="Memory storage of off-line data column-wise."];57 Node 26-> Node27 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];58 Node27 [label="bdm:: FileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1FileDS.html"];56 Node26 [label="bdm::mprod",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mprod.html",tooltip="Chain rule decomposition of epdf."]; 57 Node1 -> Node27 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 58 Node27 [label="bdm::DS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1DS.html",tooltip="Abstract class for discrete-time sources of data."]; 59 59 Node27 -> Node28 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 60 Node28 [label="bdm:: CsvFileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1CsvFileDS.html",tooltip="CSV file data storage The constructor creates Data matrix from the records in a CSV..."];60 Node28 [label="bdm::ArxDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1ArxDS.html",tooltip="Generator of ARX data."]; 61 61 Node27 -> Node29 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 62 Node29 [label="bdm:: ITppFileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1ITppFileDS.html",tooltip="Read Data Matrix from an IT file."];63 Node 1-> Node30 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];64 Node30 [label="bdm:: epdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1epdf.html",tooltip="Probability density function with numerical statistics, e.g. posterior density."];62 Node29 [label="bdm::MemDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1MemDS.html",tooltip="Memory storage of off-line data column-wise."]; 63 Node29 -> Node30 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 64 Node30 [label="bdm::FileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1FileDS.html"]; 65 65 Node30 -> Node31 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 66 Node31 [label="bdm:: eEF",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eEF.html",tooltip="General conjugate exponential family posterior density."];67 Node3 1-> Node32 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];68 Node32 [label="bdm:: eDirich",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eDirich.html",tooltip="Dirichlet posterior density."];69 Node 31 -> Node33 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];70 Node33 [label="bdm::e gamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egamma.html",tooltip="Gammaposterior density."];66 Node31 [label="bdm::CsvFileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1CsvFileDS.html",tooltip="CSV file data storage The constructor creates Data matrix from the records in a CSV..."]; 67 Node30 -> Node32 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 68 Node32 [label="bdm::ITppFileDS",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1ITppFileDS.html",tooltip="Read Data Matrix from an IT file."]; 69 Node1 -> Node33 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 70 Node33 [label="bdm::epdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1epdf.html",tooltip="Probability density function with numerical statistics, e.g. posterior density."]; 71 71 Node33 -> Node34 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 72 Node34 [label="bdm::eigamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eigamma.html",tooltip="Inverse-Gamma posterior density."]; 73 Node31 -> Node35 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 74 Node35 [label="bdm::egiw",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egiw.html",tooltip="Gauss-inverse-Wishart density stored in LD form."]; 75 Node35 -> Node36 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 76 Node36 [label="bdm::egiwmix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egiwmix.html",tooltip="Mixture of egiws."]; 77 Node31 -> Node37 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 78 Node37 [label="bdm::enorm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html",tooltip="Gaussian density with positive definite (decomposed) covariance matrix."]; 79 Node31 -> Node38 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 80 Node38 [label="bdm::enorm\< chmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 81 Node31 -> Node39 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 82 Node39 [label="bdm::enorm\< fsqmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 83 Node31 -> Node40 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 84 Node40 [label="bdm::enorm\< ldmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 85 Node40 -> Node41 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 86 Node41 [label="bdm::elognorm",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1elognorm.html"]; 87 Node30 -> Node42 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 88 Node42 [label="bdm::eEmp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eEmp.html",tooltip="Weighted empirical density."]; 89 Node30 -> Node43 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 90 Node43 [label="bdm::emix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1emix.html",tooltip="Mixture of epdfs."]; 91 Node30 -> Node44 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 92 Node44 [label="bdm::eprod",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eprod.html",tooltip="Product of independent epdfs. For dependent pdfs, use mprod."]; 93 Node30 -> Node45 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 94 Node45 [label="bdm::euni",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1euni.html",tooltip="Uniform distributed density on a rectangular support."]; 95 Node30 -> Node46 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 96 Node46 [label="bdm::eWishartCh",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eWishartCh.html"]; 97 Node30 -> Node47 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 98 Node47 [label="bdm::merger",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1merger.html",tooltip="Function for general combination of pdfs."]; 99 Node1 -> Node48 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 100 Node48 [label="bdm::fnc",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1fnc.html",tooltip="Class representing function of variable represented by rv."]; 101 Node48 -> Node49 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 102 Node49 [label="bdm::constfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1constfn.html",tooltip="class representing function , here rv is empty"]; 103 Node48 -> Node50 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 104 Node50 [label="bdm::diffbifn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1diffbifn.html",tooltip="Class representing a differentiable function of two variables ."]; 72 Node34 [label="bdm::eEF",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eEF.html",tooltip="General conjugate exponential family posterior density."]; 73 Node34 -> Node35 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 74 Node35 [label="bdm::eDirich",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eDirich.html",tooltip="Dirichlet posterior density."]; 75 Node34 -> Node36 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 76 Node36 [label="bdm::egamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egamma.html",tooltip="Gamma posterior density."]; 77 Node36 -> Node37 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 78 Node37 [label="bdm::eigamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eigamma.html",tooltip="Inverse-Gamma posterior density."]; 79 Node34 -> Node38 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 80 Node38 [label="bdm::egiw",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egiw.html",tooltip="Gauss-inverse-Wishart density stored in LD form."]; 81 Node38 -> Node39 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 82 Node39 [label="bdm::egiwmix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1egiwmix.html",tooltip="Mixture of egiws."]; 83 Node34 -> Node40 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 84 Node40 [label="bdm::enorm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html",tooltip="Gaussian density with positive definite (decomposed) covariance matrix."]; 85 Node34 -> Node41 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 86 Node41 [label="bdm::enorm\< chmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 87 Node34 -> Node42 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 88 Node42 [label="bdm::enorm\< fsqmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 89 Node34 -> Node43 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 90 Node43 [label="bdm::enorm\< ldmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1enorm.html"]; 91 Node43 -> Node44 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 92 Node44 [label="bdm::elognorm",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1elognorm.html"]; 93 Node33 -> Node45 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 94 Node45 [label="bdm::eEmp",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eEmp.html",tooltip="Weighted empirical density."]; 95 Node33 -> Node46 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 96 Node46 [label="bdm::emix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1emix.html",tooltip="Mixture of epdfs."]; 97 Node33 -> Node47 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 98 Node47 [label="bdm::eprod",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eprod.html",tooltip="Product of independent epdfs. For dependent pdfs, use mprod."]; 99 Node33 -> Node48 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 100 Node48 [label="bdm::euni",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1euni.html",tooltip="Uniform distributed density on a rectangular support."]; 101 Node33 -> Node49 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 102 Node49 [label="bdm::eWishartCh",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1eWishartCh.html"]; 103 Node33 -> Node25 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 104 Node1 -> Node50 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 105 Node50 [label="bdm::fnc",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1fnc.html",tooltip="Class representing function of variable represented by rv."]; 105 106 Node50 -> Node51 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 106 Node51 [label="bdm:: bilinfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1bilinfn.html",tooltip="Class representing function ."];107 Node 48-> Node52 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];108 Node52 [label="bdm:: linfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1linfn.html",tooltip="Class representing function."];109 Node 1-> Node53 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];110 Node53 [label="bdm:: logger",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1logger.html",tooltip="Class for storing results (and semi-results) of an experiment."];111 Node5 3-> Node54 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];112 Node54 [label="bdm:: memlog",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1memlog.html",tooltip="Logging into matrices in data format in memory."];113 Node 54-> Node55 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];114 Node55 [label="bdm:: dirfilelog",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1dirfilelog.html",tooltip="Logging into dirfile with buffer in memory."];115 Node 1-> Node56 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];116 Node56 [label="bdm::m pdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mpdf.html",tooltip="Conditional probability density, e.g. modeling some dependencies."];107 Node51 [label="bdm::constfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1constfn.html",tooltip="class representing function , here rv is empty"]; 108 Node50 -> Node52 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 109 Node52 [label="bdm::diffbifn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1diffbifn.html",tooltip="Class representing a differentiable function of two variables ."]; 110 Node52 -> Node53 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 111 Node53 [label="bdm::bilinfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1bilinfn.html",tooltip="Class representing function ."]; 112 Node50 -> Node54 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 113 Node54 [label="bdm::linfn",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1linfn.html",tooltip="Class representing function ."]; 114 Node1 -> Node55 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 115 Node55 [label="bdm::logger",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1logger.html",tooltip="Class for storing results (and semi-results) of an experiment."]; 116 Node55 -> Node56 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 117 Node56 [label="bdm::memlog",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1memlog.html",tooltip="Logging into matrices in data format in memory."]; 117 118 Node56 -> Node57 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 118 Node57 [label="bdm:: mEF",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mEF.html",tooltip="Exponential family model."];119 Node 57-> Node58 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];120 Node58 [label="bdm::m gamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgamma.html",tooltip="Gamma random walk."];119 Node57 [label="bdm::dirfilelog",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1dirfilelog.html",tooltip="Logging into dirfile with buffer in memory."]; 120 Node1 -> Node58 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 121 Node58 [label="bdm::mpdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mpdf.html",tooltip="Conditional probability density, e.g. modeling some dependencies."]; 121 122 Node58 -> Node59 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 122 Node59 [label="bdm::m gamma_fix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgamma__fix.html",tooltip="Gamma random walk around a fixed point."];123 Node5 7-> Node60 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];124 Node60 [label="bdm::mg norm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgnorm.html",tooltip="Mpdf with general function for mean value."];125 Node 57-> Node61 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];126 Node61 [label="bdm::m igamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1migamma.html",tooltip="Inverse-Gamma random walk."];127 Node 61-> Node62 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];128 Node62 [label="bdm::m igamma_ref",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1migamma__ref.html",tooltip="Inverse-Gamma random walk around a fixed point."];129 Node5 7-> Node63 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];130 Node63 [label="bdm::m lnorm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlnorm.html",tooltip="Normal distributed linear function with linear function of mean value;."];131 Node 57-> Node64 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];132 Node64 [label="bdm::m lnorm\< ldmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlnorm.html"];133 Node 64-> Node65 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];134 Node65 [label="bdm::ml student",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlstudent.html"];135 Node5 6-> Node66 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];136 Node66 [label="bdm::m epdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mepdf.html",tooltip="Unconditional mpdf, allows using epdf in the role of mpdf."];137 Node 56 -> Node67 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];138 Node67 [label="bdm::ml ognorm",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlognorm.html",tooltip="Log-Normal random walk."];139 Node5 6-> Node68 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];140 Node68 [label="bdm::m mix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mmix.html",tooltip="Mixture of mpdfs with constant weights, all mpdfs are of equal type."];141 Node5 6-> Node69 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];142 Node69 [label="bdm::m prod",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mprod.html",tooltip="Chain rule decomposition of epdf."];143 Node5 6-> Node70 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];144 Node70 [label="bdm::m ratio",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mratio.html",tooltip="Class representing ratio of two densities which arise e.g. by applying the Bayes..."];145 Node 1 -> Node71[dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];146 Node 71 [label="bdm::RV",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1RV.html",tooltip="Class representing variables, most often random variables."];147 Node7 2 [label="bdm::compositepdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1compositepdf.html",tooltip="Abstract composition of pdfs, will be used for specific classes this abstract class..."];148 Node 72 -> Node47[dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];149 Node72 -> Node69 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"];123 Node59 [label="bdm::mEF",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mEF.html",tooltip="Exponential family model."]; 124 Node59 -> Node60 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 125 Node60 [label="bdm::mgamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgamma.html",tooltip="Gamma random walk."]; 126 Node60 -> Node61 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 127 Node61 [label="bdm::mgamma_fix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgamma__fix.html",tooltip="Gamma random walk around a fixed point."]; 128 Node59 -> Node62 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 129 Node62 [label="bdm::mgnorm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mgnorm.html",tooltip="Mpdf with general function for mean value."]; 130 Node59 -> Node63 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 131 Node63 [label="bdm::migamma",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1migamma.html",tooltip="Inverse-Gamma random walk."]; 132 Node63 -> Node64 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 133 Node64 [label="bdm::migamma_ref",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1migamma__ref.html",tooltip="Inverse-Gamma random walk around a fixed point."]; 134 Node59 -> Node65 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 135 Node65 [label="bdm::mlnorm\< sq_T \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlnorm.html",tooltip="Normal distributed linear function with linear function of mean value;."]; 136 Node59 -> Node66 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 137 Node66 [label="bdm::mlnorm\< ldmat \>",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlnorm.html"]; 138 Node66 -> Node67 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 139 Node67 [label="bdm::mlstudent",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlstudent.html"]; 140 Node58 -> Node68 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 141 Node68 [label="bdm::mepdf",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mepdf.html",tooltip="Unconditional mpdf, allows using epdf in the role of mpdf."]; 142 Node58 -> Node69 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 143 Node69 [label="bdm::mlognorm",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mlognorm.html",tooltip="Log-Normal random walk."]; 144 Node58 -> Node70 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 145 Node70 [label="bdm::mmix",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mmix.html",tooltip="Mixture of mpdfs with constant weights, all mpdfs are of equal type."]; 146 Node58 -> Node26 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 147 Node58 -> Node71 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 148 Node71 [label="bdm::mratio",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1mratio.html",tooltip="Class representing ratio of two densities which arise e.g. by applying the Bayes..."]; 149 Node1 -> Node72 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; 150 Node72 [label="bdm::RV",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1RV.html",tooltip="Class representing variables, most often random variables."]; 150 151 Node73 [label="bdm::KalmanFull",height=0.2,width=0.4,color="black", fillcolor="white", style="filled",URL="$classbdm_1_1KalmanFull.html",tooltip="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..."]; 151 152 Node73 -> Node7 [dir=back,color="midnightblue",fontsize="10",style="solid",fontname="FreeSans"]; -
TabularUnified library/doc/html/inherit__graph__1.map ¶
r354 r384 1 <area shape="rect" href="$classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5, 1183,107,1209">2 <area shape="rect" href="$classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="184,2 96,259,323">3 <area shape="rect" href="$classbdm_1_1 DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="185,600,257,627">4 <area shape="rect" href="$classbdm_1_1 epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="181,879,261,905">5 <area shape="rect" href="$classbdm_1_1 fnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="185,1360,257,1387">6 <area shape="rect" href="$classbdm_1_1 logger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="177,1411,265,1437">7 <area shape="rect" href="$classbdm_1_1 mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="180,1183,263,1209">8 <area shape="rect" href="$classbdm_1_1 RV.html" title="Class representing variables, most often random variables." alt="" coords="185,1461,257,1488">9 <area shape="rect" href="$classbdm_1_1 BMEF.html" title="Estimator for Exponential family." alt="" coords="372,68,463,95">10 <area shape="rect" href="$classbdm_1_1 EKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="369,144,465,171">11 <area shape="rect" href="$classbdm_1_1 Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="341,195,493,221">12 <area shape="rect" href="$classbdm_1_1 MultiModel.html" title="(Switching) Multiple Model The model runs several models in parallel and evaluates..." alt="" coords="359,245,476,272">13 <area shape="rect" href="$classbdm_1_1 PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="381,296,453,323">14 <area shape="rect" href="$classbdm_1_1 Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="339,347,496,373">15 <area shape="rect" href="$classbdm_1_1Kalman.html" title="bdm::Kalman\< fsqmat \>" alt="" coords="336,397,499,424">16 <area shape="rect" href="$classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="340,448,495,475">17 <area shape="rect" href="$classbdm_1_1 ARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="584,5,664,32">18 <area shape="rect" href="$classbdm_1_1 MixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="579,56,669,83">19 <area shape="rect" href="$classbdm_1_1 multiBM.html" title="Estimator for Multinomial density." alt="" coords="573,107,675,133">20 <area shape="rect" href="$classbdm_1_1 EKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="557,157,691,184">21 <area shape="rect" href="$classbdm_1_1 MPF.html" title="Marginalized Particle filter." alt="" coords="553,296,695,323">22 <area shape="rect" href="$classbdm_1_1 KalmanCh.html" title="Kalman filter in square root form." alt="" coords="567,347,681,373">23 <area shape="rect" href="$classbdm_1_1 EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="768,347,864,373">24 <area shape="rect" href="$classbdm_1_1EKFCh __chQ.html" title="Extended Kalman filter in Choleski form with unknown Q." alt="" coords="933,296,1061,323">25 <area shape="rect" href="$classbdm_1_1EKFCh__c ond.html" title="Extended Kalman filter with unknown parameters in IM." alt="" coords="932,347,1063,373">26 <area shape="rect" href="$classbdm_1_1EKFCh__ dQ.html" title="Extended Kalman filter in Choleski form with unknown diagonal Q." alt="" coords="937,397,1057,424">27 <area shape="rect" href="$classbdm_1_1EKF .html" title="Extended Kalman Filter." alt="" coords="557,397,691,424">28 <area shape="rect" href="$classbdm_1_1 KFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="565,448,683,475">29 <area shape="rect" href="$classbdm_1_1KFcond R.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="571,499,677,525">30 <area shape="rect" href="$classbdm_1_1 ArxDS.html" title="Generator of ARX data." alt="" coords="372,549,463,576">31 <area shape="rect" href="$classbdm_1_1 MemDS.html" title="Memory storage of off-line data column-wise." alt="" coords="367,600,468,627">32 <area shape="rect" href="$classbdm_1_1 FileDS.html" title="bdm::FileDS" alt="" coords="577,549,671,576">33 <area shape="rect" href="$classbdm_1_1 CsvFileDS.html" title="CSV file data storage The constructor creates Data matrix from the records in a CSV..." alt="" coords="759,524,873,551">34 <area shape="rect" href="$classbdm_1_1 ITppFileDS.html" title="Read Data Matrix from an IT file." alt="" coords="756,575,876,601">35 <area shape="rect" href="$classbdm_1_1 eEF.html" title="General conjugate exponential family posterior density." alt="" coords="379,701,456,728">36 <area shape="rect" href="$classbdm_1_1 eEmp.html" title="Weighted empirical density." alt="" coords="373,752,461,779">37 <area shape="rect" href="$classbdm_1_1 emix.html" title="Mixture of epdfs." alt="" coords="376,803,459,829">38 <area shape="rect" href="$classbdm_1_1e prod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="375,853,460,880">39 <area shape="rect" href="$classbdm_1_1e uni.html" title="Uniform distributed density on a rectangular support." alt="" coords="379,904,456,931">40 <area shape="rect" href="$classbdm_1_1e WishartCh.html" title="bdm::eWishartCh" alt="" coords="357,955,477,981">41 <area shape="rect" href="$classbdm_1_1 merger.html" title="Function for general combination of pdfs." alt="" coords="371,1005,464,1032">42 <area shape="rect" href="$classbdm_1_1e Dirich.html" title="Dirichlet posterior density." alt="" coords="577,600,671,627">43 <area shape="rect" href="$classbdm_1_1e gamma.html" title="Gamma posterior density." alt="" coords="572,651,676,677">44 <area shape="rect" href="$classbdm_1_1e giw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="584,701,664,728">45 <area shape="rect" href="$classbdm_1_1e norm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="552,752,696,779">46 <area shape="rect" href="$classbdm_1_1e norm.html" title="bdm::enorm\< chmat \>" alt="" coords="549,803,699,829">47 <area shape="rect" href="$classbdm_1_1enorm.html" title=" bdm::enorm\< fsqmat \>" alt="" coords="547,853,701,880">48 <area shape="rect" href="$classbdm_1_1enorm.html" title="bdm::enorm\< ldmat \>" alt="" coords="551,904,697,931">49 <area shape="rect" href="$classbdm_1_1e igamma.html" title="Inverse-Gamma posterior density." alt="" coords="763,651,869,677">50 <area shape="rect" href="$classbdm_1_1e giwmix.html" title="Mixture of egiws." alt="" coords="765,701,867,728">51 <area shape="rect" href="$classbdm_1_1e lognorm.html" title="bdm::elognorm" alt="" coords="763,904,869,931">52 <area shape="rect" href="$classbdm_1_1 constfn.html" title="class representing function , here rv is empty" alt="" coords="369,1360,465,1387">53 <area shape="rect" href="$classbdm_1_1 diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="372,1411,463,1437">54 <area shape="rect" href="$classbdm_1_1 linfn.html" title="Class representing function ." alt="" coords="379,1461,456,1488">55 <area shape="rect" href="$classbdm_1_1 bilinfn.html" title="Class representing function ." alt="" coords="580,1411,668,1437">56 <area shape="rect" href="$classbdm_1_1 memlog.html" title="Logging into matrices in data format in memory." alt="" coords="368,1512,467,1539">57 <area shape="rect" href="$classbdm_1_1 dirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="573,1512,675,1539">58 <area shape="rect" href="$classbdm_1_1m EF.html" title="Exponential family model." alt="" coords="376,1107,459,1133">59 <area shape="rect" href="$classbdm_1_1 mepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="372,1157,463,1184">60 <area shape="rect" href="$classbdm_1_1m lognorm.html" title="Log-Normal random walk." alt="" coords="361,1208,473,1235">61 <area shape="rect" href="$classbdm_1_1m mix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="375,1259,460,1285">62 <area shape="rect" href="$classbdm_1_1m prod.html" title="Chain rule decomposition of epdf." alt="" coords="372,1056,463,1083">63 <area shape="rect" href="$classbdm_1_1m ratio.html" title="Class representing ratio of two densities which arise e.g. by applying the Bayes..." alt="" coords="372,1309,463,1336">64 <area shape="rect" href="$classbdm_1_1m gamma.html" title="Gamma random walk." alt="" coords="571,1005,677,1032">65 <area shape="rect" href="$classbdm_1_1mg norm.html" title="Mpdf with general function for mean value." alt="" coords="547,1056,701,1083">66 <area shape="rect" href="$classbdm_1_1m igamma.html" title="Inverse-Gamma random walk." alt="" coords="568,1107,680,1133">67 <area shape="rect" href="$classbdm_1_1m lnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="549,1157,699,1184">68 <area shape="rect" href="$classbdm_1_1mlnorm.html" title=" bdm::mlnorm\< ldmat \>" alt="" coords="548,1208,700,1235">69 <area shape="rect" href="$classbdm_1_1m gamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="752,1005,880,1032">70 <area shape="rect" href="$classbdm_1_1m igamma__ref.html" title="Inverse-Gamma random walk around a fixed point." alt="" coords="749,1107,883,1133">71 <area shape="rect" href="$classbdm_1_1m lstudent.html" title="bdm::mlstudent" alt="" coords="760,1208,872,1235">72 <area shape="rect" href="$classbdm_1_1 compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class..." alt="" coords="156,1031,287,1057">73 <area shape="rect" href="$classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="161, 144,281,171">1 <area shape="rect" href="$classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,867,107,893"> 2 <area shape="rect" href="$classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="184,233,259,260"> 3 <area shape="rect" href="$classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class..." alt="" coords="156,816,287,843"> 4 <area shape="rect" href="$classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="185,1120,257,1147"> 5 <area shape="rect" href="$classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="181,639,261,665"> 6 <area shape="rect" href="$classbdm_1_1fnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="185,1247,257,1273"> 7 <area shape="rect" href="$classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="177,1335,265,1361"> 8 <area shape="rect" href="$classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="180,917,263,944"> 9 <area shape="rect" href="$classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="185,183,257,209"> 10 <area shape="rect" href="$classbdm_1_1BMEF.html" title="Estimator for Exponential family." alt="" coords="372,309,463,336"> 11 <area shape="rect" href="$classbdm_1_1EKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="369,5,465,32"> 12 <area shape="rect" href="$classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="341,56,493,83"> 13 <area shape="rect" href="$classbdm_1_1MultiModel.html" title="(Switching) Multiple Model The model runs several models in parallel and evaluates..." alt="" coords="359,107,476,133"> 14 <area shape="rect" href="$classbdm_1_1PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="381,157,453,184"> 15 <area shape="rect" href="$classbdm_1_1Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="339,208,496,235"> 16 <area shape="rect" href="$classbdm_1_1Kalman.html" title="bdm::Kalman\< fsqmat \>" alt="" coords="336,259,499,285"> 17 <area shape="rect" href="$classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="340,411,495,437"> 18 <area shape="rect" href="$classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="584,360,664,387"> 19 <area shape="rect" href="$classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="579,259,669,285"> 20 <area shape="rect" href="$classbdm_1_1multiBM.html" title="Estimator for Multinomial density." alt="" coords="573,309,675,336"> 21 <area shape="rect" href="$classbdm_1_1EKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="557,5,691,32"> 22 <area shape="rect" href="$classbdm_1_1MPF.html" title="Marginalized Particle filter." alt="" coords="553,107,695,133"> 23 <area shape="rect" href="$classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="567,157,681,184"> 24 <area shape="rect" href="$classbdm_1_1EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="768,157,864,184"> 25 <area shape="rect" href="$classbdm_1_1EKFCh__chQ.html" title="Extended Kalman filter in Choleski form with unknown Q." alt="" coords="933,107,1061,133"> 26 <area shape="rect" href="$classbdm_1_1EKFCh__cond.html" title="Extended Kalman filter with unknown parameters in IM." alt="" coords="932,157,1063,184"> 27 <area shape="rect" href="$classbdm_1_1EKFCh__dQ.html" title="Extended Kalman filter in Choleski form with unknown diagonal Q." alt="" coords="937,208,1057,235"> 28 <area shape="rect" href="$classbdm_1_1EKF.html" title="Extended Kalman Filter." alt="" coords="557,208,691,235"> 29 <area shape="rect" href="$classbdm_1_1KFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="565,411,683,437"> 30 <area shape="rect" href="$classbdm_1_1KFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="571,461,677,488"> 31 <area shape="rect" href="$classbdm_1_1merger__base.html" title="Base class for general combination of pdfs on discrete support." alt="" coords="353,765,481,792"> 32 <area shape="rect" href="$classbdm_1_1mprod.html" title="Chain rule decomposition of epdf." alt="" coords="372,816,463,843"> 33 <area shape="rect" href="$classbdm_1_1ArxDS.html" title="Generator of ARX data." alt="" coords="372,1171,463,1197"> 34 <area shape="rect" href="$classbdm_1_1MemDS.html" title="Memory storage of off-line data column-wise." alt="" coords="367,1120,468,1147"> 35 <area shape="rect" href="$classbdm_1_1FileDS.html" title="bdm::FileDS" alt="" coords="577,1120,671,1147"> 36 <area shape="rect" href="$classbdm_1_1CsvFileDS.html" title="CSV file data storage The constructor creates Data matrix from the records in a CSV..." alt="" coords="759,1171,873,1197"> 37 <area shape="rect" href="$classbdm_1_1ITppFileDS.html" title="Read Data Matrix from an IT file." alt="" coords="756,1120,876,1147"> 38 <area shape="rect" href="$classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="379,613,456,640"> 39 <area shape="rect" href="$classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="373,664,461,691"> 40 <area shape="rect" href="$classbdm_1_1emix.html" title="Mixture of epdfs." alt="" coords="376,715,459,741"> 41 <area shape="rect" href="$classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="375,461,460,488"> 42 <area shape="rect" href="$classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support." alt="" coords="379,512,456,539"> 43 <area shape="rect" href="$classbdm_1_1eWishartCh.html" title="bdm::eWishartCh" alt="" coords="357,563,477,589"> 44 <area shape="rect" href="$classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="577,664,671,691"> 45 <area shape="rect" href="$classbdm_1_1egamma.html" title="Gamma posterior density." alt="" coords="572,715,676,741"> 46 <area shape="rect" href="$classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="584,765,664,792"> 47 <area shape="rect" href="$classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="552,816,696,843"> 48 <area shape="rect" href="$classbdm_1_1enorm.html" title="bdm::enorm\< chmat \>" alt="" coords="549,512,699,539"> 49 <area shape="rect" href="$classbdm_1_1enorm.html" title="bdm::enorm\< fsqmat \>" alt="" coords="547,563,701,589"> 50 <area shape="rect" href="$classbdm_1_1enorm.html" title="bdm::enorm\< ldmat \>" alt="" coords="551,613,697,640"> 51 <area shape="rect" href="$classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density." alt="" coords="763,715,869,741"> 52 <area shape="rect" href="$classbdm_1_1egiwmix.html" title="Mixture of egiws." alt="" coords="765,765,867,792"> 53 <area shape="rect" href="$classbdm_1_1elognorm.html" title="bdm::elognorm" alt="" coords="763,613,869,640"> 54 <area shape="rect" href="$classbdm_1_1constfn.html" title="class representing function , here rv is empty" alt="" coords="369,1221,465,1248"> 55 <area shape="rect" href="$classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="372,1272,463,1299"> 56 <area shape="rect" href="$classbdm_1_1linfn.html" title="Class representing function ." alt="" coords="379,1323,456,1349"> 57 <area shape="rect" href="$classbdm_1_1bilinfn.html" title="Class representing function ." alt="" coords="580,1272,668,1299"> 58 <area shape="rect" href="$classbdm_1_1memlog.html" title="Logging into matrices in data format in memory." alt="" coords="368,1373,467,1400"> 59 <area shape="rect" href="$classbdm_1_1dirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="573,1373,675,1400"> 60 <area shape="rect" href="$classbdm_1_1mEF.html" title="Exponential family model." alt="" coords="376,968,459,995"> 61 <area shape="rect" href="$classbdm_1_1mepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="372,1019,463,1045"> 62 <area shape="rect" href="$classbdm_1_1mlognorm.html" title="Log-Normal random walk." alt="" coords="361,1069,473,1096"> 63 <area shape="rect" href="$classbdm_1_1mmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="375,867,460,893"> 64 <area shape="rect" href="$classbdm_1_1mratio.html" title="Class representing ratio of two densities which arise e.g. by applying the Bayes..." alt="" coords="372,917,463,944"> 65 <area shape="rect" href="$classbdm_1_1mgamma.html" title="Gamma random walk." alt="" coords="571,1069,677,1096"> 66 <area shape="rect" href="$classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value." alt="" coords="547,867,701,893"> 67 <area shape="rect" href="$classbdm_1_1migamma.html" title="Inverse-Gamma random walk." alt="" coords="568,917,680,944"> 68 <area shape="rect" href="$classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="549,968,699,995"> 69 <area shape="rect" href="$classbdm_1_1mlnorm.html" title="bdm::mlnorm\< ldmat \>" alt="" coords="548,1019,700,1045"> 70 <area shape="rect" href="$classbdm_1_1mgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="752,1069,880,1096"> 71 <area shape="rect" href="$classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point." alt="" coords="749,917,883,944"> 72 <area shape="rect" href="$classbdm_1_1mlstudent.html" title="bdm::mlstudent" alt="" coords="760,1019,872,1045"> 73 <area shape="rect" href="$classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="161,5,281,32"> -
TabularUnified library/doc/html/inherit__graph__1.md5 ¶
r354 r384 1 1eb590365354b6fb5ad9dfb08e320c81 1 924eb42d94620f27791e4f274e90f247 -
TabularUnified library/doc/html/inherits.html ¶
r375 r384 75 75 <tr><td><img src="inherit__graph__1.png" border="0" alt="" usemap="#bdm_1_1KalmanFull_map"> 76 76 <map name="bdm_1_1KalmanFull_map"> 77 <area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5, 1183,107,1209"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="184,296,259,323"><area shape="rect" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="185,600,257,627"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="181,879,261,905"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="185,1360,257,1387"><area shape="rect" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="177,1411,265,1437"><area shape="rect" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="180,1183,263,1209"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="185,1461,257,1488"><area shape="rect" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family." alt="" coords="372,68,463,95"><area shape="rect" href="classbdm_1_1EKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="369,144,465,171"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="341,195,493,221"><area shape="rect" href="classbdm_1_1MultiModel.html" title="(Switching) Multiple Model The model runs several models in parallel and evaluates..." alt="" coords="359,245,476,272"><area shape="rect" href="classbdm_1_1PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="381,296,453,323"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="339,347,496,373"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< fsqmat \>" alt="" coords="336,397,499,424"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="340,448,495,475"><area shape="rect" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="584,5,664,32"><area shape="rect" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="579,56,669,83"><area shape="rect" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density." alt="" coords="573,107,675,133"><area shape="rect" href="classbdm_1_1EKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="557,157,691,184"><area shape="rect" href="classbdm_1_1MPF.html" title="Marginalized Particle filter." alt="" coords="553,296,695,323"><area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="567,347,681,373"><area shape="rect" href="classbdm_1_1EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="768,347,864,373"><area shape="rect" href="classbdm_1_1EKFCh__chQ.html" title="Extended Kalman filter in Choleski form with unknown Q." alt="" coords="933,296,1061,323"><area shape="rect" href="classbdm_1_1EKFCh__cond.html" title="Extended Kalman filter with unknown parameters in IM." alt="" coords="932,347,1063,373"><area shape="rect" href="classbdm_1_1EKFCh__dQ.html" title="Extended Kalman filter in Choleski form with unknown diagonal Q." alt="" coords="937,397,1057,424"><area shape="rect" href="classbdm_1_1EKF.html" title="Extended Kalman Filter." alt="" coords="557,397,691,424"><area shape="rect" href="classbdm_1_1KFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="565,448,683,475"><area shape="rect" href="classbdm_1_1KFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="571,499,677,525"><area shape="rect" href="classbdm_1_1ArxDS.html" title="Generator of ARX data." alt="" coords="372,549,463,576"><area shape="rect" href="classbdm_1_1MemDS.html" title="Memory storage of off-line data column-wise." alt="" coords="367,600,468,627"><area shape="rect" href="classbdm_1_1FileDS.html" title="bdm::FileDS" alt="" coords="577,549,671,576"><area shape="rect" href="classbdm_1_1CsvFileDS.html" title="CSV file data storage The constructor creates Data matrix from the records in a CSV..." alt="" coords="759,524,873,551"><area shape="rect" href="classbdm_1_1ITppFileDS.html" title="Read Data Matrix from an IT file." alt="" coords="756,575,876,601"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="379,701,456,728"><area shape="rect" href="classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="373,752,461,779"><area shape="rect" href="classbdm_1_1emix.html" title="Mixture of epdfs." alt="" coords="376,803,459,829"><area shape="rect" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="375,853,460,880"><area shape="rect" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support." alt="" coords="379,904,456,931"><area shape="rect" href="classbdm_1_1eWishartCh.html" title="bdm::eWishartCh" alt="" coords="357,955,477,981"><area shape="rect" href="classbdm_1_1merger.html" title="Function for general combination of pdfs." alt="" coords="371,1005,464,1032"><area shape="rect" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="577,600,671,627"><area shape="rect" href="classbdm_1_1egamma.html" title="Gamma posterior density." alt="" coords="572,651,676,677"><area shape="rect" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="584,701,664,728"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="552,752,696,779"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< chmat \>" alt="" coords="549,803,699,829"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< fsqmat \>" alt="" coords="547,853,701,880"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< ldmat \>" alt="" coords="551,904,697,931"><area shape="rect" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density." alt="" coords="763,651,869,677"><area shape="rect" href="classbdm_1_1egiwmix.html" title="Mixture of egiws." alt="" coords="765,701,867,728"><area shape="rect" href="classbdm_1_1elognorm.html" title="bdm::elognorm" alt="" coords="763,904,869,931"><area shape="rect" href="classbdm_1_1constfn.html" title="class representing function , here rv is empty" alt="" coords="369,1360,465,1387"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="372,1411,463,1437"><area shape="rect" href="classbdm_1_1linfn.html" title="Class representing function ." alt="" coords="379,1461,456,1488"><area shape="rect" href="classbdm_1_1bilinfn.html" title="Class representing function ." alt="" coords="580,1411,668,1437"><area shape="rect" href="classbdm_1_1memlog.html" title="Logging into matrices in data format in memory." alt="" coords="368,1512,467,1539"><area shape="rect" href="classbdm_1_1dirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="573,1512,675,1539"><area shape="rect" href="classbdm_1_1mEF.html" title="Exponential family model." alt="" coords="376,1107,459,1133"><area shape="rect" href="classbdm_1_1mepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="372,1157,463,1184"><area shape="rect" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk." alt="" coords="361,1208,473,1235"><area shape="rect" href="classbdm_1_1mmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="375,1259,460,1285"><area shape="rect" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf." alt="" coords="372,1056,463,1083"><area shape="rect" href="classbdm_1_1mratio.html" title="Class representing ratio of two densities which arise e.g. by applying the Bayes..." alt="" coords="372,1309,463,1336"><area shape="rect" href="classbdm_1_1mgamma.html" title="Gamma random walk." alt="" coords="571,1005,677,1032"><area shape="rect" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value." alt="" coords="547,1056,701,1083"><area shape="rect" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk." alt="" coords="568,1107,680,1133"><area shape="rect" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="549,1157,699,1184"><area shape="rect" href="classbdm_1_1mlnorm.html" title="bdm::mlnorm\< ldmat \>" alt="" coords="548,1208,700,1235"><area shape="rect" href="classbdm_1_1mgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="752,1005,880,1032"><area shape="rect" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point." alt="" coords="749,1107,883,1133"><area shape="rect" href="classbdm_1_1mlstudent.html" title="bdm::mlstudent" alt="" coords="760,1208,872,1235"><area shape="rect" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class..." alt="" coords="156,1031,287,1057"><area shape="rect" href="classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="161,144,281,171"></map></td></tr>77 <area shape="rect" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects." alt="" coords="5,867,107,893"><area shape="rect" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities." alt="" coords="184,233,259,260"><area shape="rect" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class..." alt="" coords="156,816,287,843"><area shape="rect" href="classbdm_1_1DS.html" title="Abstract class for discrete-time sources of data." alt="" coords="185,1120,257,1147"><area shape="rect" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="181,639,261,665"><area shape="rect" href="classbdm_1_1fnc.html" title="Class representing function  of variable  represented by rv." alt="" coords="185,1247,257,1273"><area shape="rect" href="classbdm_1_1logger.html" title="Class for storing results (and semi-results) of an experiment." alt="" coords="177,1335,265,1361"><area shape="rect" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="180,917,263,944"><area shape="rect" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables." alt="" coords="185,183,257,209"><area shape="rect" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family." alt="" coords="372,309,463,336"><area shape="rect" href="classbdm_1_1EKFfull.html" title="Extended Kalman Filter in full matrices." alt="" coords="369,5,465,32"><area shape="rect" href="classbdm_1_1Kalman.html" title="Kalman filter with covariance matrices in square root form." alt="" coords="341,56,493,83"><area shape="rect" href="classbdm_1_1MultiModel.html" title="(Switching) Multiple Model The model runs several models in parallel and evaluates..." alt="" coords="359,107,476,133"><area shape="rect" href="classbdm_1_1PF.html" title="Trivial particle filter with proposal density equal to parameter evolution model..." alt="" coords="381,157,453,184"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< chmat \>" alt="" coords="339,208,496,235"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< fsqmat \>" alt="" coords="336,259,499,285"><area shape="rect" href="classbdm_1_1Kalman.html" title="bdm::Kalman\< ldmat \>" alt="" coords="340,411,495,437"><area shape="rect" href="classbdm_1_1ARX.html" title="Linear Autoregressive model with Gaussian noise." alt="" coords="584,360,664,387"><area shape="rect" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities." alt="" coords="579,259,669,285"><area shape="rect" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density." alt="" coords="573,309,675,336"><area shape="rect" href="classbdm_1_1EKFful__unQR.html" title="Extended Kalman filter with unknown Q and R." alt="" coords="557,5,691,32"><area shape="rect" href="classbdm_1_1MPF.html" title="Marginalized Particle filter." alt="" coords="553,107,695,133"><area shape="rect" href="classbdm_1_1KalmanCh.html" title="Kalman filter in square root form." alt="" coords="567,157,681,184"><area shape="rect" href="classbdm_1_1EKFCh.html" title="Extended Kalman Filter in Square root." alt="" coords="768,157,864,184"><area shape="rect" href="classbdm_1_1EKFCh__chQ.html" title="Extended Kalman filter in Choleski form with unknown Q." alt="" coords="933,107,1061,133"><area shape="rect" href="classbdm_1_1EKFCh__cond.html" title="Extended Kalman filter with unknown parameters in IM." alt="" coords="932,157,1063,184"><area shape="rect" href="classbdm_1_1EKFCh__dQ.html" title="Extended Kalman filter in Choleski form with unknown diagonal Q." alt="" coords="937,208,1057,235"><area shape="rect" href="classbdm_1_1EKF.html" title="Extended Kalman Filter." alt="" coords="557,208,691,235"><area shape="rect" href="classbdm_1_1KFcondQR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="565,411,683,437"><area shape="rect" href="classbdm_1_1KFcondR.html" title="Kalman Filter with conditional diagonal matrices R and Q." alt="" coords="571,461,677,488"><area shape="rect" href="classbdm_1_1merger__base.html" title="Base class for general combination of pdfs on discrete support." alt="" coords="353,765,481,792"><area shape="rect" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf." alt="" coords="372,816,463,843"><area shape="rect" href="classbdm_1_1ArxDS.html" title="Generator of ARX data." alt="" coords="372,1171,463,1197"><area shape="rect" href="classbdm_1_1MemDS.html" title="Memory storage of off-line data column-wise." alt="" coords="367,1120,468,1147"><area shape="rect" href="classbdm_1_1FileDS.html" title="bdm::FileDS" alt="" coords="577,1120,671,1147"><area shape="rect" href="classbdm_1_1CsvFileDS.html" title="CSV file data storage The constructor creates Data matrix from the records in a CSV..." alt="" coords="759,1171,873,1197"><area shape="rect" href="classbdm_1_1ITppFileDS.html" title="Read Data Matrix from an IT file." alt="" coords="756,1120,876,1147"><area shape="rect" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density." alt="" coords="379,613,456,640"><area shape="rect" href="classbdm_1_1eEmp.html" title="Weighted empirical density." alt="" coords="373,664,461,691"><area shape="rect" href="classbdm_1_1emix.html" title="Mixture of epdfs." alt="" coords="376,715,459,741"><area shape="rect" href="classbdm_1_1eprod.html" title="Product of independent epdfs. For dependent pdfs, use mprod." alt="" coords="375,461,460,488"><area shape="rect" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support." alt="" coords="379,512,456,539"><area shape="rect" href="classbdm_1_1eWishartCh.html" title="bdm::eWishartCh" alt="" coords="357,563,477,589"><area shape="rect" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density." alt="" coords="577,664,671,691"><area shape="rect" href="classbdm_1_1egamma.html" title="Gamma posterior density." alt="" coords="572,715,676,741"><area shape="rect" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form." alt="" coords="584,765,664,792"><area shape="rect" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="552,816,696,843"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< chmat \>" alt="" coords="549,512,699,539"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< fsqmat \>" alt="" coords="547,563,701,589"><area shape="rect" href="classbdm_1_1enorm.html" title="bdm::enorm\< ldmat \>" alt="" coords="551,613,697,640"><area shape="rect" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density." alt="" coords="763,715,869,741"><area shape="rect" href="classbdm_1_1egiwmix.html" title="Mixture of egiws." alt="" coords="765,765,867,792"><area shape="rect" href="classbdm_1_1elognorm.html" title="bdm::elognorm" alt="" coords="763,613,869,640"><area shape="rect" href="classbdm_1_1constfn.html" title="class representing function , here rv is empty" alt="" coords="369,1221,465,1248"><area shape="rect" href="classbdm_1_1diffbifn.html" title="Class representing a differentiable function of two variables ." alt="" coords="372,1272,463,1299"><area shape="rect" href="classbdm_1_1linfn.html" title="Class representing function ." alt="" coords="379,1323,456,1349"><area shape="rect" href="classbdm_1_1bilinfn.html" title="Class representing function ." alt="" coords="580,1272,668,1299"><area shape="rect" href="classbdm_1_1memlog.html" title="Logging into matrices in data format in memory." alt="" coords="368,1373,467,1400"><area shape="rect" href="classbdm_1_1dirfilelog.html" title="Logging into dirfile with buffer in memory." alt="" coords="573,1373,675,1400"><area shape="rect" href="classbdm_1_1mEF.html" title="Exponential family model." alt="" coords="376,968,459,995"><area shape="rect" href="classbdm_1_1mepdf.html" title="Unconditional mpdf, allows using epdf in the role of mpdf." alt="" coords="372,1019,463,1045"><area shape="rect" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk." alt="" coords="361,1069,473,1096"><area shape="rect" href="classbdm_1_1mmix.html" title="Mixture of mpdfs with constant weights, all mpdfs are of equal type." alt="" coords="375,867,460,893"><area shape="rect" href="classbdm_1_1mratio.html" title="Class representing ratio of two densities which arise e.g. by applying the Bayes..." alt="" coords="372,917,463,944"><area shape="rect" href="classbdm_1_1mgamma.html" title="Gamma random walk." alt="" coords="571,1069,677,1096"><area shape="rect" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value." alt="" coords="547,867,701,893"><area shape="rect" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk." alt="" coords="568,917,680,944"><area shape="rect" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="549,968,699,995"><area shape="rect" href="classbdm_1_1mlnorm.html" title="bdm::mlnorm\< ldmat \>" alt="" coords="548,1019,700,1045"><area shape="rect" href="classbdm_1_1mgamma__fix.html" title="Gamma random walk around a fixed point." alt="" coords="752,1069,880,1096"><area shape="rect" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point." alt="" coords="749,917,883,944"><area shape="rect" href="classbdm_1_1mlstudent.html" title="bdm::mlstudent" alt="" coords="760,1019,872,1045"><area shape="rect" href="classbdm_1_1KalmanFull.html" title="Basic Kalman filter with full matrices (education purpose only)! Will be deleted..." alt="" coords="161,5,281,32"></map></td></tr> 78 78 <tr><td><img src="inherit__graph__2.png" border="0" alt="" usemap="#bdm_1_1str_map"> 79 79 <map name="bdm_1_1str_map"> … … 96 96 </table> 97 97 </div> 98 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 98 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 99 99 <a href="http://www.doxygen.org/index.html"> 100 100 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/install.html ¶
r375 r384 99 99 The default cmake configuration is looking for itpp in directory mac/itpp, make sure you have symlinks to this directory.<p> 100 100 If itpp compilation is successfull, you can run Cmake. Fill in the paths to your BDM directory, run Configure followed by Create. Configuration files for your favourite build environment should be created in the BDM directory. </div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/intro.html ¶
r375 r384 115 115 In our setup, <img class="formulaInl" alt="$ f(a|b,c) $" src="form_97.png"> is represented by an <code>mpdf</code> while <img class="formulaInl" alt="$ f(b) $" src="form_98.png"> and <img class="formulaInl" alt="$ f(c) $" src="form_99.png"> by two <code>epdfs</code>. We need to distinguish the latter two from each other and to deside in which order they should be added to the mpdf. This distinction is facilitated by the class <code>RV</code> which uniquely identify a random varibale.<p> 116 116 Therefore, each pdf keeps record on which RVs it represents; <code>epdf</code> needs to know only one <code>RV</code> stored in the attribute <code>rv</code>; <code>mpdf</code> needs to keep two <code>RVs</code>, one for variable on which it is defined (<code>rv</code>) and one for variable incondition which is stored in attribute <code>rvc</code>. </div> 117 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 117 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 118 118 <a href="http://www.doxygen.org/index.html"> 119 119 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/itfile.html ¶
r375 r384 105 105 a = [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20] 106 106 </pre></div> </div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/itpp__ext_8h-source.html ¶
r375 r384 136 136 <a name="l00089"></a>00089 <span class="preprocessor">#endif //ITEX_H</span> 137 137 </pre></div></div> 138 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 138 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 139 139 <a href="http://www.doxygen.org/index.html"> 140 140 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/kalman.html ¶
r375 r384 114 114 } 115 115 </pre></div> </div> 116 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 116 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 117 117 <a href="http://www.doxygen.org/index.html"> 118 118 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libBM_8h-source.html ¶
r375 r384 379 379 <a name="l00554"></a>00554 }; 380 380 <a name="l00555"></a>00555 381 <a name="l00558"></a><a class="code" href="classbdm_1_1compositepdf.html">00558</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1compositepdf.html" title=" Abstract composition of pdfs, will be used for specific classes this abstract class...">compositepdf</a>{381 <a name="l00558"></a><a class="code" href="classbdm_1_1compositepdf.html">00558</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class...">compositepdf</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>{ 382 382 <a name="l00559"></a>00559 <span class="keyword">protected</span>: 383 <a name="l00561"></a><a class="code" href="classbdm_1_1compositepdf.html# 7ca3cd8ed92a7154f5b9ff13b1e9d52a">00561</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a>;384 <a name="l0056 3"></a><a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">00563</a> Array<mpdf*> <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>;385 <a name="l0056 4"></a>00564 <span class="keyword">public</span>:386 <a name="l0056 5"></a>00565 <a class="code" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class...">compositepdf</a> ( Array<mpdf*> A0 ) : <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ( A0.length() ), <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( A0 ) {};387 <a name="l0056 7"></a>00567 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a><a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> ( <span class="keywordtype">bool</span> checkoverlap=<span class="keyword">false</span> );388 <a name="l0056 9"></a>00569 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rv, <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>&rvc );383 <a name="l00561"></a><a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a">00561</a> Array<mpdf*> <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>; 384 <a name="l00562"></a>00562 <span class="keyword">public</span>: 385 <a name="l00563"></a>00563 <a class="code" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class...">compositepdf</a>():<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>(0){}; 386 <a name="l00564"></a>00564 <span class="keywordtype">void</span> set_elements (<span class="keyword">const</span> Array<mpdf*> A0 ) { <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> = A0;}; 387 <a name="l00566"></a>00566 RV <a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> ( <span class="keywordtype">bool</span> checkoverlap=<span class="keyword">false</span> ); 388 <a name="l00568"></a>00568 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <span class="keyword">const</span> RV &rv, RV &rvc ); 389 389 <a name="l00570"></a>00570 }; 390 390 <a name="l00571"></a>00571 … … 444 444 <a name="l00684"></a>00684 445 445 <a name="l00686"></a><a class="code" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba">00686</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* <a class="code" href="classbdm_1_1BM.html#688d7a2aced1e06aa1c468d73a9e5eba" title="Constructs a predictive density .">epredictor</a> ( )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> NULL;}; 446 <a name="l00688"></a><a class="code" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">00688</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912" title="Constructs a conditional density 1-step ahead predictor .">predictor</a> ( )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> NULL;};446 <a name="l00688"></a><a class="code" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912">00688</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1BM.html#598b25e3f3d96a5bc00a5faeb5b3c912" title="Constructs a conditional density 1-step ahead predictor .">predictor</a> ( )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> NULL;}; 447 447 <a name="l00690"></a>00690 448 448 <a name="l00695"></a>00695 … … 500 500 <a name="l00761"></a>00761 <span class="preprocessor">#endif // BM_H</span> 501 501 </pre></div></div> 502 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 502 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 503 503 <a href="http://www.doxygen.org/index.html"> 504 504 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libBM_8h.html ¶
r375 r384 108 108 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1compositepdf.html">bdm::compositepdf</a></td></tr> 109 109 110 <tr><td class="mdescLeft"> </td><td class="mdescRight"> Abstract composition of pdfs, will be used for specific classesthis abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. <a href="classbdm_1_1compositepdf.html#_details">More...</a><br></td></tr>110 <tr><td class="mdescLeft"> </td><td class="mdescRight">Chain rule of pdfs - abstract part common for <a class="el" href="classbdm_1_1mprod.html" title="Chain rule decomposition of epdf.">mprod</a> and merger. this abstract class is common to <a class="el" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> and <a class="el" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>. <a href="classbdm_1_1compositepdf.html#_details">More...</a><br></td></tr> 111 111 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1DS.html">bdm::DS</a></td></tr> 112 112 … … 141 141 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 142 142 Using IT++ for numerical operations ----------------------------------- </div> 143 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 143 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 144 144 <a href="http://www.doxygen.org/index.html"> 145 145 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libDC_8h-source.html ¶
r375 r384 221 221 <a name="l00293"></a>00293 <span class="preprocessor">#endif // DC_H</span> 222 222 </pre></div></div> 223 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 223 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 224 224 <a href="http://www.doxygen.org/index.html"> 225 225 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libDC_8h.html ¶
r375 r384 99 99 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 100 100 Using IT++ for numerical operations ----------------------------------- </div> 101 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 101 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 102 102 <a href="http://www.doxygen.org/index.html"> 103 103 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libDS_8h-source.html ¶
r375 r384 267 267 <a name="l00328"></a>00328 <span class="preprocessor">#endif // DS_H</span> 268 268 </pre></div></div> 269 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 269 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 270 270 <a href="http://www.doxygen.org/index.html"> 271 271 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libDS_8h.html ¶
r375 r384 109 109 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 110 110 Using IT++ for numerical operations ----------------------------------- </div> 111 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 111 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 112 112 <a href="http://www.doxygen.org/index.html"> 113 113 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libEF_8h-source.html ¶
r375 r384 137 137 <a name="l00125"></a>00125 <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a> ( <span class="keyword">const</span> vec &<a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a> ) {set_parameters ( mu,R );} 138 138 <a name="l00126"></a>00126 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &<a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>,<span class="keyword">const</span> sq_T &<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a> ); 139 <a name="l0012 8"></a>00128140 <a name="l001 31"></a>00131141 <a name="l0013 3"></a>00133 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2" title="dupdate in exponential form (not really handy)">dupdate</a> ( mat &v,<span class="keywordtype">double</span> nu=1.0 );142 <a name="l00134"></a>00134 143 <a name="l00135"></a>00135 vec <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;144 <a name="l00136"></a>00136 mat <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">sample</a> ( <span class="keywordtype">int</span> N) <span class="keyword">const</span>;145 <a name="l00137"></a>00137 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3" title="Evaluate normalized log-probability.">evallog_nn</a> ( <span class="keyword">const</span> vec &val) <span class="keyword">const</span>;146 <a name="l00138"></a>00138 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html# 25785343aff102cc5df1cab08ba16d32" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;147 <a name="l00139"></a> <a class="code" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600">00139</a> vec <a class="code" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>;}148 <a name="l00140"></a><a class="code" href="classbdm_1_1enorm.html# 729c75ef0fa8abae03d58ad1f81e6773">00140</a> vec <a class="code" href="classbdm_1_1enorm.html#729c75ef0fa8abae03d58ad1f81e6773" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> diag ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.to_mat() );}149 <a name="l00141"></a> 00141 <span class="comment">// mlnorm<sq_T>* condition ( const RV &rvn ) const ; <=========== fails to cmpile. Why?</span>150 <a name="l00142"></a>00142 <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26" title="Return conditional density on the given RV, the remaining rvs will be in conditioning...">condition</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn ) <span class="keyword">const</span> ;151 <a name="l00143"></a>00143 <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* <a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80" title="Return marginal density on the given RV, the remainig rvs are intergrated out.">marginal</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ) <span class="keyword">const</span>;152 <a name="l00144"></a>00144 <span class="comment">// epdf* marginal ( const RV &rv ) const;</span>153 <a name="l0014 6"></a>00146 <span class="comment"></span>154 <a name="l0014 9"></a>00149155 <a name="l00150"></a>00150 vec& _mu() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>;}156 <a name="l00151"></a>00151 <span class="keywordtype">void</span> set_mu ( <span class="keyword">const</span> vec mu0 ) { <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>=mu0;}157 <a name="l00152"></a>00152 sq_T& _R() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>;}158 <a name="l00153"></a>00153 <span class="keyword">const</span> sq_T& _R()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>;}159 <a name="l0015 5"></a>00155160 <a name="l00156"></a>00156 };161 <a name="l00157"></a>00157 162 <a name="l001 64"></a><a class="code" href="classbdm_1_1egiw.html">00164</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>163 <a name="l00165"></a> 00165 {164 <a name="l00166"></a>00166 <span class="keyword">protected</span>:165 <a name="l0016 8"></a><a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52">00168</a> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> <a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52" title="Extended information matrix of sufficient statistics.">V</a>;166 <a name="l001 70"></a><a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4">00170</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;167 <a name="l0017 2"></a><a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a">00172</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>;168 <a name="l0017 4"></a><a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd">00174</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a>;169 <a name="l00175"></a> 00175 <span class="keyword">public</span>:170 <a name="l0017 8"></a>00178 <a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a>() :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>() {};171 <a name="l00179"></a>00179 <a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> ( <span class="keywordtype">int</span> dimx0, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0=-1.0 ) :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>() {set_parameters ( dimx0,V0, nu0 );};172 <a name="l00180"></a>00180 173 <a name="l00181"></a>00181 <span class="keywordtype">void</span> set_parameters ( <span class="keywordtype">int</span> dimx0, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0=-1.0 )174 <a name="l00182"></a>00182 {175 <a name="l00183"></a>00183 <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>=dimx0;176 <a name="l00184"></a>00184 <a class="code" href="classbdm_1_1egiw.html# 322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> = V0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>;177 <a name="l00185"></a>00185 <a class="code" href="classbdm_1_1e pdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>* ( <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>+<a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> ); <span class="comment">// size(R) + size(Theta)</span>178 <a name="l00186"></a>00186 179 <a name="l00187"></a>00187 <a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52" title="Extended information matrix of sufficient statistics.">V</a>=V0;180 <a name="l00188"></a>00188 < span class="keywordflow">if</span> ( nu0<0 )181 <a name="l00189"></a>00189 {182 <a name="l00190"></a>00190 <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> = 0.1 +<a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> +2*<a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a> +2; <span class="comment">// +2 assures finite expected value of R</span>183 <a name="l00191"></a>00191 < span class="comment">// terms before that are sufficient for finite normalization</span>184 <a name="l00192"></a>00192 }185 <a name="l00193"></a>00193 <span class="keywordflow">else</span>186 <a name="l00194"></a>00194 {187 <a name="l00195"></a>00195 <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>=nu0;188 <a name="l00196"></a>00196 }189 <a name="l00197"></a>00197 }190 <a name="l0019 9"></a>00199191 <a name="l00200"></a>00200 vec <a class="code" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;192 <a name="l00201"></a>00201 vec <a class="code" href="classbdm_1_1egiw.html# df70c05f918c3a6f86d60f10c1fd6ba2" title="return expected value">mean</a>() <span class="keyword">const</span>;193 <a name="l00202"></a>00202 vec <a class="code" href="classbdm_1_1egiw.html# c1ecc406613cc2341225dc10c3d3b46a" title="return expected variance (not covariance!)">variance</a>() <span class="keyword">const</span>;194 <a name="l00203"></a>00203 195 <a name="l0020 5"></a>00205 vec <a class="code" href="classbdm_1_1egiw.html#66d2ba9295c306012b309efcc9e516f0" title="LS estimate of .">est_theta</a>() <span class="keyword">const</span>;196 <a name="l00206"></a>00206 197 <a name="l0020 8"></a>00208 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> <a class="code" href="classbdm_1_1egiw.html#88c321a2051d1afdbb31a098896a717b" title="Covariance of the LS estimate.">est_theta_cov</a>() <span class="keyword">const</span>;198 <a name="l00209"></a>00209 199 <a name="l00210"></a>00210 <span class="keywordtype">void</span> mean_mat ( mat &M, mat&R ) <span class="keyword">const</span>;200 <a name="l0021 2"></a>00212 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html#bfb8e7c619b34ad804a73bff71742b5e" title="In this instance, val= [theta, r]. For multivariate instances, it is stored columnwise...">evallog_nn</a> ( <span class="keyword">const</span> vec &val) <span class="keyword">const</span>;201 <a name="l00213"></a>00213 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html# 41d72ba7b2abc8a9a4209ffa98ed5633" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;202 <a name="l00214"></a> <a class="code" href="classbdm_1_1egiw.html#8e610e95401a11baf34f65e16ecd87be">00214</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1egiw.html#8e610e95401a11baf34f65e16ecd87be" title="Power of the density, used e.g. to flatten the density.">pow</a> ( <span class="keywordtype">double</span> p ) {V*=p;<a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>*=p;};203 <a name="l00215"></a> 00215204 <a name="l0021 8"></a>00218205 <a name="l00219"></a>00219 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& _V() {<span class="keywordflow">return</span> V;}206 <a name="l00220"></a>00220 < span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& _V()<span class="keyword"> const </span>{<span class="keywordflow">return</span> V;}207 <a name="l00221"></a>00221 <span class="keyword type">double</span>& _nu() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;}208 <a name="l00222"></a>00222 <span class="keyword ">const</span> <span class="keywordtype">double</span>& _nu()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;}209 <a name="l0022 4"></a>00224 };210 <a name="l00225"></a>00225 211 <a name="l002 34"></a><a class="code" href="classbdm_1_1eDirich.html">00234</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>212 <a name="l00235"></a> 00235 {213 <a name="l00236"></a>00236 <span class="keyword">protected</span>:214 <a name="l0023 8"></a><a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2">00238</a> vec <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>;215 <a name="l00239"></a> 00239 <span class="keyword">public</span>:216 <a name="l0024 2"></a>00242217 <a name="l00243"></a>00243 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> () : <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( ) {};218 <a name="l00244"></a>00244 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> &D0 ) : <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> () {set_parameters ( D0.<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> );};219 <a name="l00245"></a>00245 eDirich ( <span class="keyword">const</span> vec &beta0 ) {set_parameters ( beta0);};220 <a name="l00246"></a>00246 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &beta0 )221 <a name="l00247"></a>00247 {222 <a name="l00248"></a>00248 <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>= beta0;223 <a name="l00249"></a>00249 <a class="code" href="classbdm_1_1e pdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>.length();224 <a name="l00250"></a>00250 }225 <a name="l0025 2"></a>00252226 <a name="l00253"></a> <a class="code" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc">00253</a> vec <a class="code" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> vec_1 ( 0.0 );};227 <a name="l00254"></a><a class="code" href="classbdm_1_1eDirich.html# cb343355ec791298bb5a3404cd482fb6">00254</a> vec <a class="code" href="classbdm_1_1eDirich.html#cb343355ec791298bb5a3404cd482fb6" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>/sum(<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>);};228 <a name="l00255"></a><a class="code" href="classbdm_1_1eDirich.html# 43c547a2507e233706f92712d8c2aacc">00255</a> vec <a class="code" href="classbdm_1_1eDirich.html#43c547a2507e233706f92712d8c2aacc" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordtype">double</span> gamma =sum(<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>); <span class="keywordflow">return</span> elem_mult ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>, ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>+1 ) ) / ( gamma* ( gamma+1 ) );}229 <a name="l0025 7"></a><a class="code" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318">00257</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318" title="In this instance, val is ...">evallog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const</span>230 <a name="l00258"></a> 00258 <span class="keyword"> </span>{231 <a name="l00259"></a>00259 <span class="keywordtype">double</span> tmp; tmp= ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>-1 ) *log ( val ); it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite value"</span> );232 <a name="l00260"></a>00260 <span class="keyword flow">return</span> tmp;233 <a name="l00261"></a>00261 };234 <a name="l00262"></a> <a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2">00262</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a> ()<span class="keyword"> const</span>235 <a name="l00263"></a> 00263 <span class="keyword"> </span>{236 <a name="l00264"></a>00264 <span class="keywordtype">double</span> tmp;237 <a name="l00265"></a>00265 <span class="keywordtype">double</span> gam=sum ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> );238 <a name="l00266"></a>00266 <span class="keywordtype">double</span> lgb=0.0;239 <a name="l00267"></a>00267 <span class="keyword flow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>.length();i++ ) {lgb+=lgamma ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> ( i ) );}240 <a name="l00268"></a>00268 tmp= lgb-lgamma ( gam );241 <a name="l00269"></a>00269 it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite value"</span>);242 <a name="l00270"></a>00270 <span class="keywordflow">return</span> tmp;243 <a name="l00271"></a>00271 };244 <a name="l0027 3"></a><a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324">00273</a> vec& <a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324" title="access function">_beta</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>;}245 <a name="l0027 5"></a>00275 };246 <a name="l00276"></a>00276 247 <a name="l0027 8"></a><a class="code" href="classbdm_1_1multiBM.html">00278</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>248 <a name="l00279"></a> 00279 {249 <a name="l00280"></a>00280 <span class="keyword">protected</span>:250 <a name="l0028 2"></a><a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a">00282</a> <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>;251 <a name="l0028 4"></a><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25">00284</a> vec &<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>;252 <a name="l00285"></a> 00285 <span class="keyword">public</span>:253 <a name="l0028 7"></a><a class="code" href="classbdm_1_1multiBM.html#c4dd6d9522a8a605776d21bac9bd9daf">00287</a> <a class="code" href="classbdm_1_1multiBM.html#c4dd6d9522a8a605776d21bac9bd9daf" title="Default constructor.">multiBM</a> ( ) : <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( ),<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ( ),<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>._beta() )254 <a name="l00288"></a> 00288 {255 <a name="l00289"></a>00289 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>.length() >0 ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();}256 <a name="l00290"></a>00290 <span class="keywordflow"> else</span>{<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=0.0;}257 <a name="l00291"></a>00291 }258 <a name="l0029 3"></a><a class="code" href="classbdm_1_1multiBM.html#c4378cf8037f6bed29c74eea63344b31">00293</a> <a class="code" href="classbdm_1_1multiBM.html#c4378cf8037f6bed29c74eea63344b31" title="Copy constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> &B ) : <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( B ),<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ( B.<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ),<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>._beta() ) {}259 <a name="l0029 5"></a><a class="code" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52">00295</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52" title="Sets sufficient statistics to match that of givefrom mB0.">set_statistics</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a>* mB0 ) {<span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>* mB=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( mB0 ); <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>=mB-><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>;}260 <a name="l00296"></a><a class="code" href="classbdm_1_1multiBM.html# 1e4bf41b61937fd80f34049742e23f95">00296</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#1e4bf41b61937fd80f34049742e23f95" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt )261 <a name="l00297"></a> 00297 {262 <a name="l00298"></a>00298 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a><1.0 ) {<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>*=<a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a>;<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();}263 <a name="l00299"></a>00299 < a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>+=dt;264 <a name="l00300"></a>00300 < span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a" title="Logarithm of marginalized data likelihood.">ll</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>()-<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;}265 <a name="l00301"></a>00301 }266 <a name="l00302"></a> <a class="code" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">00302</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">logpred</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const</span>267 <a name="l00303"></a> 00303 <span class="keyword"> </span>{268 <a name="l00304"></a>00304 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> pred ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> );269 <a name="l00305"></a>00305 vec &<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> = pred.<a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324" title="access function">_beta</a>();270 <a name="l00306"></a>00306 271 <a name="l00307"></a>00307 <span class="keywordtype">double</span> lll;272 <a name="l00308"></a>00308 <span class="keyword flow">if</span> ( <a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a><1.0 )273 <a name="l00309"></a>00309 {beta*=<a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a>;lll=pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();}274 <a name="l00310"></a>00310 <span class="keywordflow">else</span>275 <a name="l00311"></a>00311 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {lll=<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;}276 <a name="l00312"></a>00312 <span class="keywordflow"> else</span>{lll=pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();}277 <a name="l00313"></a>00313 278 <a name="l00314"></a>00314 beta+=dt;279 <a name="l00315"></a>00315 <span class="keywordflow">return</span> pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>()-lll;280 <a name="l00316"></a>00316 }281 <a name="l00317"></a> <a class="code" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732">00317</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732" title="Flatten the posterior according to the given BMEF (of the same type!).">flatten</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>* B )282 <a name="l00318"></a> 00318 {283 <a name="l00319"></a>00319 <span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>* E=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( B );284 <a name="l00320"></a>00320 <span class=" comment">// sum(beta) should be equal to sum(B.beta)</span>285 <a name="l00321"></a>00321 <span class=" keyword">const</span> vec &Eb=E-><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>;<span class="comment">//const_cast<multiBM*> ( E )->_beta();</span>286 <a name="l00322"></a>00322 < a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>*= ( sum ( Eb ) /sum ( <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ) );287 <a name="l00323"></a>00323 < span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();}288 <a name="l00324"></a>00324 }289 <a name="l00325"></a>00325 <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& posterior()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>;};290 <a name="l00326"></a>00326 <span class="keyword">const</span> eDirich* _e()<span class="keyword"> const </span>{<span class="keywordflow">return</span> &<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>;};291 <a name="l00327"></a>00327 <span class="keyword type">void</span> set_parameters ( <span class="keyword">const</span> vec &beta0 )292 <a name="l00328"></a>00328 {293 <a name="l00329"></a>00329 <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.set_parameters ( beta0 );294 <a name="l00330"></a>00330 < span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.lognc();}295 <a name="l00331"></a>00331 }296 <a name="l00332"></a>00332 };297 <a name="l00333"></a>00333 298 <a name="l003 43"></a><a class="code" href="classbdm_1_1egamma.html">00343</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>299 <a name="l00344"></a> 00344 {300 <a name="l00345"></a>00345 <span class="keyword">protected</span>:301 <a name="l0034 7"></a><a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa">00347</a> vec <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>;302 <a name="l0034 9"></a><a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1">00349</a> vec <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>;303 <a name="l00350"></a> 00350 <span class="keyword">public</span> :304 <a name="l0035 3"></a>00353 <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> ( ) :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( ), <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a> ( 0 ), <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a> ( 0 ) {};305 <a name="l00354"></a>00354 <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {set_parameters ( a, b );};306 <a name="l00355"></a>00355 < span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>=a,<a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>=b;<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>.length();};307 <a name="l0035 7"></a>00357308 <a name="l00358"></a>00358 vec <a class="code" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>;309 <a name="l003 60"></a>00360 <span class="comment">// mat sample ( int N ) const;</span>310 <a name="l00361"></a>00361 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egamma.html#a8e11e5a580ff42a1b205974c60768c6" title="TODO: is it used anywhere?">evallog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>;311 <a name="l00362"></a>00362 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egamma.html# 9a66cbd100e8520c769ccb3c451f86f8" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>;312 <a name="l0036 4"></a><a class="code" href="classbdm_1_1egamma.html#0865cb3d6339fdc7410806cf70a329ed">00364</a> vec& <a class="code" href="classbdm_1_1egamma.html#0865cb3d6339fdc7410806cf70a329ed" title="Returns poiter to alpha and beta. Potentially dengerous: use with care!">_alpha</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>;}313 <a name="l00365"></a> 00365 vec& _beta() {<span class="keywordflow">return</span> beta;}314 <a name="l00366"></a> <a class="code" href="classbdm_1_1egamma.html#49d256c42cce14c6faa56ec242b57e85">00366</a> vec <a class="code" href="classbdm_1_1egamma.html#49d256c42cce14c6faa56ec242b57e85" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>,beta );}315 <a name="l00367"></a><a class="code" href="classbdm_1_1egamma.html# 36986cc01917cd0796fadc17125bdec1">00367</a> vec <a class="code" href="classbdm_1_1egamma.html#36986cc01917cd0796fadc17125bdec1" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>,elem_mult ( beta,beta ) );}316 <a name="l00368"></a> 00368 };317 <a name="l00369"></a>00369 318 <a name="l003 86"></a><a class="code" href="classbdm_1_1eigamma.html">00386</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density.">eigamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a>319 <a name="l00387"></a> 00387 {320 <a name="l00388"></a>00388 <span class="keyword">protected</span>:321 <a name="l00389"></a>00389 <span class="keyword">p ublic</span>:322 <a name="l0039 4"></a>00394323 <a name="l00395"></a> <a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">00395</a> vec <a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> 1.0/<a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f" title="Returns a sample, from density .">egamma::sample</a>();};324 <a name="l0039 7"></a><a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb">00397</a> vec <a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb" title="Returns poiter to alpha and beta. Potentially dangerous: use with care!">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>,<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>-1 );}325 <a name="l00398"></a><a class="code" href="classbdm_1_1eigamma.html# c2c696f8c668e9f65392c9449f6a5133">00398</a> vec <a class="code" href="classbdm_1_1eigamma.html#c2c696f8c668e9f65392c9449f6a5133" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{vec mea=<a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb" title="Returns poiter to alpha and beta. Potentially dangerous: use with care!">mean</a>(); <span class="keywordflow">return</span> elem_div ( elem_mult ( mea,mea ),<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>-2);}326 <a name="l00399"></a> 00399 };327 <a name="l00400"></a>00400 <span class="comment">/*</span>328 <a name="l0040 2"></a>00402 <span class="comment"> class emix : public epdf {</span>329 <a name="l00403"></a>00403 <span class="comment"> protected:</span>330 <a name="l00404"></a>00404 <span class="comment"> int n;</span>331 <a name="l00405"></a>00405 <span class="comment"> vec &w;</span>332 <a name="l00406"></a>00406 <span class="comment"> Array<epdf*> Coms;</span>333 <a name="l00407"></a>00407 <span class="comment"> public:</span>334 <a name="l0040 9"></a>00409 <span class="comment"> emix ( const RV &rv, vec &w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span>335 <a name="l00410"></a>00410 <span class="comment"> void set_parameters( int &i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span>336 <a name="l00411"></a>00411 <span class="comment"> v ec mean(){vec pom; for(int i=0;i<n;i++){pom+=Coms(i)->mean()*w(i);} return pom;};</span>337 <a name="l00412"></a>00412 <span class="comment"> vec sample() {it_error ( "Not implemented" );return 0;}</span>338 <a name="l00413"></a>00413 <span class="comment"> };</span>339 <a name="l00414"></a>00414 <span class="comment"> */</span>340 <a name="l00415"></a>00415 341 <a name="l0041 7"></a>00417342 <a name="l00418"></a> <a class="code" href="classbdm_1_1euni.html">00418</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>343 <a name="l00419"></a> 00419 {344 <a name="l00420"></a>00420 <span class="keyword">protected</span>:345 <a name="l0042 2"></a><a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32">00422</a> vec <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>;346 <a name="l0042 4"></a><a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1">00424</a> vec <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>;347 <a name="l0042 6"></a><a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c">00426</a> vec <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a>;348 <a name="l0042 8"></a><a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20">00428</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a>;349 <a name="l004 30"></a><a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476">00430</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a>;350 <a name="l00431"></a> 00431 <span class="keyword">public</span>:351 <a name="l0043 4"></a>00434 <a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a> ( ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ) {}352 <a name="l00435"></a>00435 <a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a> ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 ) {set_parameters ( low0,high0 );}353 <a name="l00436"></a>00436 < span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 )354 <a name="l00437"></a>00437 {355 <a name="l00438"></a>00438 <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> = high0-low0;356 <a name="l00439"></a>00439 it_assert_debug ( min ( <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> ) >0.0,<span class="stringliteral">"bad support"</span> );357 <a name="l00440"></a>00440 <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> = low0;358 <a name="l00441"></a>00441 <a class="code" href="classbdm_1_1euni.html# cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a> = high0;359 <a name="l00442"></a>00442 <a class="code" href="classbdm_1_1euni.html# 31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a> = prod ( 1.0/<a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> );360 <a name="l00443"></a>00443 <a class="code" href="classbdm_1_1euni.html#3 e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a> = log ( <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a> );361 <a name="l00444"></a>00444 <a class="code" href="classbdm_1_1e pdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>.length();362 <a name="l00445"></a>00445 }363 <a name="l0044 7"></a>00447364 <a name="l00448"></a>00448 <span class="keywordtype">double</span> eval ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a>;}365 <a name="l00449"></a> <a class="code" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">00449</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81" title="Compute log-probability of argument val.">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a>;}366 <a name="l00450"></a><a class="code" href="classbdm_1_1euni.html# fc5df80359ead2918384b2004ce67194">00450</a> vec <a class="code" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const</span>367 <a name="l00451"></a> 00451 <span class="keyword"> </span>{368 <a name="l00452"></a>00452 vec smp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );369 <a name="l00453"></a>00453 <span class="preprocessor">#pragma omp critical</span>370 <a name="l00454"></a>00454 <span class="preprocessor"> </span> UniRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ,smp );371 <a name="l00455"></a>00455 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>+elem_mult ( <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a>,smp );372 <a name="l00456"></a>00456 }373 <a name="l0045 8"></a><a class="code" href="classbdm_1_1euni.html#46caa8c13aba2e6228f964208918b226">00458</a> vec <a class="code" href="classbdm_1_1euni.html#46caa8c13aba2e6228f964208918b226" title="set values of low and high ">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>-<a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> ) /2.0;}374 <a name="l00459"></a><a class="code" href="classbdm_1_1euni.html# 951f932155111f6053c980f672b4c22c">00459</a> vec <a class="code" href="classbdm_1_1euni.html#951f932155111f6053c980f672b4c22c" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( pow ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>,2 ) +pow ( <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>,2 ) +elem_mult ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>,<a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> ) ) /3.0;}375 <a name="l00460"></a> 00460 };376 <a name="l00461"></a>00461 139 <a name="l00127"></a>00127 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6" title="This method arrange instance properties according the data stored in the Setting...">from_setting</a>(<span class="keyword">const</span> Setting &root); 140 <a name="l00129"></a>00129 141 <a name="l00132"></a>00132 142 <a name="l00134"></a>00134 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2" title="dupdate in exponential form (not really handy)">dupdate</a> ( mat &v,<span class="keywordtype">double</span> nu=1.0 ); 143 <a name="l00135"></a>00135 144 <a name="l00136"></a>00136 vec <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 145 <a name="l00137"></a>00137 mat <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">sample</a> ( <span class="keywordtype">int</span> N ) <span class="keyword">const</span>; 146 <a name="l00138"></a>00138 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3" title="Evaluate normalized log-probability.">evallog_nn</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 147 <a name="l00139"></a>00139 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 148 <a name="l00140"></a><a class="code" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600">00140</a> vec <a class="code" href="classbdm_1_1enorm.html#b2fa2915c35366392fe9bb022ca1a600" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>;} 149 <a name="l00141"></a><a class="code" href="classbdm_1_1enorm.html#729c75ef0fa8abae03d58ad1f81e6773">00141</a> vec <a class="code" href="classbdm_1_1enorm.html#729c75ef0fa8abae03d58ad1f81e6773" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> diag ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.to_mat() );} 150 <a name="l00142"></a>00142 <span class="comment">// mlnorm<sq_T>* condition ( const RV &rvn ) const ; <=========== fails to cmpile. Why?</span> 151 <a name="l00143"></a>00143 <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26" title="Return conditional density on the given RV, the remaining rvs will be in conditioning...">condition</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn ) <span class="keyword">const</span> ; 152 <a name="l00144"></a>00144 <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* <a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80" title="Return marginal density on the given RV, the remainig rvs are intergrated out.">marginal</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ) <span class="keyword">const</span>; 153 <a name="l00145"></a>00145 <span class="comment">// epdf* marginal ( const RV &rv ) const;</span> 154 <a name="l00147"></a>00147 <span class="comment"></span> 155 <a name="l00150"></a>00150 156 <a name="l00151"></a>00151 vec& _mu() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>;} 157 <a name="l00152"></a>00152 <span class="keywordtype">void</span> set_mu ( <span class="keyword">const</span> vec mu0 ) { <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>=mu0;} 158 <a name="l00153"></a>00153 sq_T& _R() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>;} 159 <a name="l00154"></a>00154 <span class="keyword">const</span> sq_T& _R()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>;} 160 <a name="l00156"></a>00156 161 <a name="l00157"></a>00157 }; 162 <a name="l00158"></a>00158 163 <a name="l00165"></a><a class="code" href="classbdm_1_1egiw.html">00165</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> 164 <a name="l00166"></a>00166 { 165 <a name="l00167"></a>00167 <span class="keyword">protected</span>: 166 <a name="l00169"></a><a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52">00169</a> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> <a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52" title="Extended information matrix of sufficient statistics.">V</a>; 167 <a name="l00171"></a><a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4">00171</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>; 168 <a name="l00173"></a><a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a">00173</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>; 169 <a name="l00175"></a><a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd">00175</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a>; 170 <a name="l00176"></a>00176 <span class="keyword">public</span>: 171 <a name="l00179"></a>00179 <a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a>() :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>() {}; 172 <a name="l00180"></a>00180 <a class="code" href="classbdm_1_1egiw.html" title="Gauss-inverse-Wishart density stored in LD form.">egiw</a> ( <span class="keywordtype">int</span> dimx0, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0=-1.0 ) :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a>() {set_parameters ( dimx0,V0, nu0 );}; 173 <a name="l00181"></a>00181 174 <a name="l00182"></a>00182 <span class="keywordtype">void</span> set_parameters ( <span class="keywordtype">int</span> dimx0, <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> V0, <span class="keywordtype">double</span> nu0=-1.0 ) 175 <a name="l00183"></a>00183 { 176 <a name="l00184"></a>00184 <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>=dimx0; 177 <a name="l00185"></a>00185 <a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> = V0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>()-<a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>; 178 <a name="l00186"></a>00186 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>* ( <a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a>+<a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> ); <span class="comment">// size(R) + size(Theta)</span> 179 <a name="l00187"></a>00187 180 <a name="l00188"></a>00188 <a class="code" href="classbdm_1_1egiw.html#ae56852845c6af176fd9017dbebbbd52" title="Extended information matrix of sufficient statistics.">V</a>=V0; 181 <a name="l00189"></a>00189 <span class="keywordflow">if</span> ( nu0<0 ) 182 <a name="l00190"></a>00190 { 183 <a name="l00191"></a>00191 <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a> = 0.1 +<a class="code" href="classbdm_1_1egiw.html#322414c32d9a21a006a5aab0311f64fd" title="Dimension of the regressor.">nPsi</a> +2*<a class="code" href="classbdm_1_1egiw.html#23e4d78bea7e98840f3da30e76a2b57a" title="Dimension of the output.">dimx</a> +2; <span class="comment">// +2 assures finite expected value of R</span> 184 <a name="l00192"></a>00192 <span class="comment">// terms before that are sufficient for finite normalization</span> 185 <a name="l00193"></a>00193 } 186 <a name="l00194"></a>00194 <span class="keywordflow">else</span> 187 <a name="l00195"></a>00195 { 188 <a name="l00196"></a>00196 <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>=nu0; 189 <a name="l00197"></a>00197 } 190 <a name="l00198"></a>00198 } 191 <a name="l00200"></a>00200 192 <a name="l00201"></a>00201 vec <a class="code" href="classbdm_1_1egiw.html#920f21548b7a3723923dd108fe514c61" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 193 <a name="l00202"></a>00202 vec <a class="code" href="classbdm_1_1egiw.html#df70c05f918c3a6f86d60f10c1fd6ba2" title="return expected value">mean</a>() <span class="keyword">const</span>; 194 <a name="l00203"></a>00203 vec <a class="code" href="classbdm_1_1egiw.html#c1ecc406613cc2341225dc10c3d3b46a" title="return expected variance (not covariance!)">variance</a>() <span class="keyword">const</span>; 195 <a name="l00204"></a>00204 196 <a name="l00206"></a>00206 vec <a class="code" href="classbdm_1_1egiw.html#66d2ba9295c306012b309efcc9e516f0" title="LS estimate of .">est_theta</a>() <span class="keyword">const</span>; 197 <a name="l00207"></a>00207 198 <a name="l00209"></a>00209 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> <a class="code" href="classbdm_1_1egiw.html#88c321a2051d1afdbb31a098896a717b" title="Covariance of the LS estimate.">est_theta_cov</a>() <span class="keyword">const</span>; 199 <a name="l00210"></a>00210 200 <a name="l00211"></a>00211 <span class="keywordtype">void</span> mean_mat ( mat &M, mat&R ) <span class="keyword">const</span>; 201 <a name="l00213"></a>00213 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html#bfb8e7c619b34ad804a73bff71742b5e" title="In this instance, val= [theta, r]. For multivariate instances, it is stored columnwise...">evallog_nn</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 202 <a name="l00214"></a>00214 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egiw.html#41d72ba7b2abc8a9a4209ffa98ed5633" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 203 <a name="l00215"></a><a class="code" href="classbdm_1_1egiw.html#8e610e95401a11baf34f65e16ecd87be">00215</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1egiw.html#8e610e95401a11baf34f65e16ecd87be" title="Power of the density, used e.g. to flatten the density.">pow</a> ( <span class="keywordtype">double</span> p ) {V*=p;<a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>*=p;}; 204 <a name="l00216"></a>00216 205 <a name="l00219"></a>00219 206 <a name="l00220"></a>00220 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& _V() {<span class="keywordflow">return</span> V;} 207 <a name="l00221"></a>00221 <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& _V()<span class="keyword"> const </span>{<span class="keywordflow">return</span> V;} 208 <a name="l00222"></a>00222 <span class="keywordtype">double</span>& _nu() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;} 209 <a name="l00223"></a>00223 <span class="keyword">const</span> <span class="keywordtype">double</span>& _nu()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egiw.html#447eacf19d4f4083872686f044814dc4" title="Number of data records (degrees of freedom) of sufficient statistics.">nu</a>;} 210 <a name="l00225"></a>00225 }; 211 <a name="l00226"></a>00226 212 <a name="l00235"></a><a class="code" href="classbdm_1_1eDirich.html">00235</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> 213 <a name="l00236"></a>00236 { 214 <a name="l00237"></a>00237 <span class="keyword">protected</span>: 215 <a name="l00239"></a><a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2">00239</a> vec <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>; 216 <a name="l00240"></a>00240 <span class="keyword">public</span>: 217 <a name="l00243"></a>00243 218 <a name="l00244"></a>00244 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> () : <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( ) {}; 219 <a name="l00245"></a>00245 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> &D0 ) : <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> () {set_parameters ( D0.<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> );}; 220 <a name="l00246"></a>00246 eDirich ( <span class="keyword">const</span> vec &beta0 ) {set_parameters ( beta0 );}; 221 <a name="l00247"></a>00247 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &beta0 ) 222 <a name="l00248"></a>00248 { 223 <a name="l00249"></a>00249 <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>= beta0; 224 <a name="l00250"></a>00250 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>.length(); 225 <a name="l00251"></a>00251 } 226 <a name="l00253"></a>00253 227 <a name="l00254"></a><a class="code" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc">00254</a> vec <a class="code" href="classbdm_1_1eDirich.html#3290613d31d58daa8a45a54b003871fc" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> vec_1 ( 0.0 );}; 228 <a name="l00255"></a><a class="code" href="classbdm_1_1eDirich.html#cb343355ec791298bb5a3404cd482fb6">00255</a> vec <a class="code" href="classbdm_1_1eDirich.html#cb343355ec791298bb5a3404cd482fb6" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>/sum(<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>);}; 229 <a name="l00256"></a><a class="code" href="classbdm_1_1eDirich.html#43c547a2507e233706f92712d8c2aacc">00256</a> vec <a class="code" href="classbdm_1_1eDirich.html#43c547a2507e233706f92712d8c2aacc" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordtype">double</span> gamma =sum(<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>); <span class="keywordflow">return</span> elem_mult ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>, ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>+1 ) ) / ( gamma* ( gamma+1 ) );} 230 <a name="l00258"></a><a class="code" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318">00258</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eDirich.html#e09a24938e80c3d94b0ee842d1552318" title="In this instance, val is ...">evallog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const</span> 231 <a name="l00259"></a>00259 <span class="keyword"> </span>{ 232 <a name="l00260"></a>00260 <span class="keywordtype">double</span> tmp; tmp= ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>-1 ) *log ( val ); it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite value"</span> ); 233 <a name="l00261"></a>00261 <span class="keywordflow">return</span> tmp; 234 <a name="l00262"></a>00262 }; 235 <a name="l00263"></a><a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2">00263</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a> ()<span class="keyword"> const</span> 236 <a name="l00264"></a>00264 <span class="keyword"> </span>{ 237 <a name="l00265"></a>00265 <span class="keywordtype">double</span> tmp; 238 <a name="l00266"></a>00266 <span class="keywordtype">double</span> gam=sum ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> ); 239 <a name="l00267"></a>00267 <span class="keywordtype">double</span> lgb=0.0; 240 <a name="l00268"></a>00268 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>.length();i++ ) {lgb+=lgamma ( <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a> ( i ) );} 241 <a name="l00269"></a>00269 tmp= lgb-lgamma ( gam ); 242 <a name="l00270"></a>00270 it_assert_debug ( std::isfinite ( tmp ),<span class="stringliteral">"Infinite value"</span> ); 243 <a name="l00271"></a>00271 <span class="keywordflow">return</span> tmp; 244 <a name="l00272"></a>00272 }; 245 <a name="l00274"></a><a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324">00274</a> vec& <a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324" title="access function">_beta</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eDirich.html#f25886a49b4667af61245de81c83b5d2" title="sufficient statistics">beta</a>;} 246 <a name="l00276"></a>00276 }; 247 <a name="l00277"></a>00277 248 <a name="l00279"></a><a class="code" href="classbdm_1_1multiBM.html">00279</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> 249 <a name="l00280"></a>00280 { 250 <a name="l00281"></a>00281 <span class="keyword">protected</span>: 251 <a name="l00283"></a><a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a">00283</a> <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>; 252 <a name="l00285"></a><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25">00285</a> vec &<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>; 253 <a name="l00286"></a>00286 <span class="keyword">public</span>: 254 <a name="l00288"></a><a class="code" href="classbdm_1_1multiBM.html#c4dd6d9522a8a605776d21bac9bd9daf">00288</a> <a class="code" href="classbdm_1_1multiBM.html#c4dd6d9522a8a605776d21bac9bd9daf" title="Default constructor.">multiBM</a> ( ) : <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( ),<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ( ),<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>._beta() ) 255 <a name="l00289"></a>00289 { 256 <a name="l00290"></a>00290 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>.length() >0 ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();} 257 <a name="l00291"></a>00291 <span class="keywordflow">else</span>{<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=0.0;} 258 <a name="l00292"></a>00292 } 259 <a name="l00294"></a><a class="code" href="classbdm_1_1multiBM.html#c4378cf8037f6bed29c74eea63344b31">00294</a> <a class="code" href="classbdm_1_1multiBM.html#c4378cf8037f6bed29c74eea63344b31" title="Copy constructor.">multiBM</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a> &B ) : <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a> ( B ),<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ( B.<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ),<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>._beta() ) {} 260 <a name="l00296"></a><a class="code" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52">00296</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#dbe6b90d410dc062a233d1dc09eeba52" title="Sets sufficient statistics to match that of givefrom mB0.">set_statistics</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1BM.html" title="Bayesian Model of a system, i.e. all uncertainty is modeled by probabilities.">BM</a>* mB0 ) {<span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>* mB=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( mB0 ); <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>=mB-><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>;} 261 <a name="l00297"></a><a class="code" href="classbdm_1_1multiBM.html#1e4bf41b61937fd80f34049742e23f95">00297</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#1e4bf41b61937fd80f34049742e23f95" title="Incremental Bayes rule.">bayes</a> ( <span class="keyword">const</span> vec &dt ) 262 <a name="l00298"></a>00298 { 263 <a name="l00299"></a>00299 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a><1.0 ) {<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>*=<a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a>;<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();} 264 <a name="l00300"></a>00300 <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>+=dt; 265 <a name="l00301"></a>00301 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BM.html#4064b6559d962633e4372b12f4cd204a" title="Logarithm of marginalized data likelihood.">ll</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>()-<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;} 266 <a name="l00302"></a>00302 } 267 <a name="l00303"></a><a class="code" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">00303</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1multiBM.html#e157b607c1e3fa91d42aeea44458e2bf">logpred</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const</span> 268 <a name="l00304"></a>00304 <span class="keyword"> </span>{ 269 <a name="l00305"></a>00305 <a class="code" href="classbdm_1_1eDirich.html" title="Dirichlet posterior density.">eDirich</a> pred ( <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a> ); 270 <a name="l00306"></a>00306 vec &<a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> = pred.<a class="code" href="classbdm_1_1eDirich.html#175e0add26d2105c28d8121eefb9e324" title="access function">_beta</a>(); 271 <a name="l00307"></a>00307 272 <a name="l00308"></a>00308 <span class="keywordtype">double</span> lll; 273 <a name="l00309"></a>00309 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a><1.0 ) 274 <a name="l00310"></a>00310 {beta*=<a class="code" href="classbdm_1_1BMEF.html#1331865e10fb1ccef65bb4c47fa3be64" title="forgetting factor">frg</a>;lll=pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();} 275 <a name="l00311"></a>00311 <span class="keywordflow">else</span> 276 <a name="l00312"></a>00312 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {lll=<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>;} 277 <a name="l00313"></a>00313 <span class="keywordflow">else</span>{lll=pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();} 278 <a name="l00314"></a>00314 279 <a name="l00315"></a>00315 beta+=dt; 280 <a name="l00316"></a>00316 <span class="keywordflow">return</span> pred.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>()-lll; 281 <a name="l00317"></a>00317 } 282 <a name="l00318"></a><a class="code" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732">00318</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1multiBM.html#aaeb18c989088feb8d26d300e4971732" title="Flatten the posterior according to the given BMEF (of the same type!).">flatten</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>* B ) 283 <a name="l00319"></a>00319 { 284 <a name="l00320"></a>00320 <span class="keyword">const</span> <a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>* E=<span class="keyword">dynamic_cast<</span><span class="keyword">const </span><a class="code" href="classbdm_1_1multiBM.html" title="Estimator for Multinomial density.">multiBM</a>*<span class="keyword">></span> ( B ); 285 <a name="l00321"></a>00321 <span class="comment">// sum(beta) should be equal to sum(B.beta)</span> 286 <a name="l00322"></a>00322 <span class="keyword">const</span> vec &Eb=E-><a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>;<span class="comment">//const_cast<multiBM*> ( E )->_beta();</span> 287 <a name="l00323"></a>00323 <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a>*= ( sum ( Eb ) /sum ( <a class="code" href="classbdm_1_1multiBM.html#044263356944c92209eecd39a5187d25" title="Pointer inside est to sufficient statistics.">beta</a> ) ); 288 <a name="l00324"></a>00324 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.<a class="code" href="classbdm_1_1eDirich.html#279a99f6266c82fe2273e83841f19eb2" title="logarithm of the normalizing constant, ">lognc</a>();} 289 <a name="l00325"></a>00325 } 290 <a name="l00326"></a>00326 <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>& posterior()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>;}; 291 <a name="l00327"></a>00327 <span class="keyword">const</span> eDirich* _e()<span class="keyword"> const </span>{<span class="keywordflow">return</span> &<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>;}; 292 <a name="l00328"></a>00328 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &beta0 ) 293 <a name="l00329"></a>00329 { 294 <a name="l00330"></a>00330 <a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.set_parameters ( beta0 ); 295 <a name="l00331"></a>00331 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1BM.html#faff0ad12556fe7dc0e2807d4fd938ee" title="If true, the filter will compute likelihood of the data record and store it in ll...">evalll</a> ) {<a class="code" href="classbdm_1_1BMEF.html#06e7b3ac03e10017d4288c76888e2865" title="cached value of lognc() in the previous step (used in evaluation of ll )">last_lognc</a>=<a class="code" href="classbdm_1_1multiBM.html#9ecc6878abbd20eb8d8e43b6ab3f941a" title="Conjugate prior and posterior.">est</a>.lognc();} 296 <a name="l00332"></a>00332 } 297 <a name="l00333"></a>00333 }; 298 <a name="l00334"></a>00334 299 <a name="l00344"></a><a class="code" href="classbdm_1_1egamma.html">00344</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> 300 <a name="l00345"></a>00345 { 301 <a name="l00346"></a>00346 <span class="keyword">protected</span>: 302 <a name="l00348"></a><a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa">00348</a> vec <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>; 303 <a name="l00350"></a><a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1">00350</a> vec <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>; 304 <a name="l00351"></a>00351 <span class="keyword">public</span> : 305 <a name="l00354"></a>00354 <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> ( ) :<a class="code" href="classbdm_1_1eEF.html" title="General conjugate exponential family posterior density.">eEF</a> ( ), <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a> ( 0 ), <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a> ( 0 ) {}; 306 <a name="l00355"></a>00355 <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {set_parameters ( a, b );}; 307 <a name="l00356"></a>00356 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &a, <span class="keyword">const</span> vec &b ) {<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>=a,<a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>=b;<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>.length();}; 308 <a name="l00358"></a>00358 309 <a name="l00359"></a>00359 vec <a class="code" href="classbdm_1_1egamma.html#6ed82f0fd05f6002487256d8e75a0bbd" title="Returns a sample, from density .">sample</a>() <span class="keyword">const</span>; 310 <a name="l00361"></a>00361 <span class="comment">// mat sample ( int N ) const;</span> 311 <a name="l00362"></a>00362 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egamma.html#a8e11e5a580ff42a1b205974c60768c6" title="TODO: is it used anywhere?">evallog</a> ( <span class="keyword">const</span> vec &val ) <span class="keyword">const</span>; 312 <a name="l00363"></a>00363 <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1egamma.html#9a66cbd100e8520c769ccb3c451f86f8" title="logarithm of the normalizing constant, ">lognc</a> () <span class="keyword">const</span>; 313 <a name="l00365"></a><a class="code" href="classbdm_1_1egamma.html#0865cb3d6339fdc7410806cf70a329ed">00365</a> vec& <a class="code" href="classbdm_1_1egamma.html#0865cb3d6339fdc7410806cf70a329ed" title="Returns poiter to alpha and beta. Potentially dengerous: use with care!">_alpha</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>;} 314 <a name="l00366"></a>00366 vec& _beta() {<span class="keywordflow">return</span> beta;} 315 <a name="l00367"></a><a class="code" href="classbdm_1_1egamma.html#49d256c42cce14c6faa56ec242b57e85">00367</a> vec <a class="code" href="classbdm_1_1egamma.html#49d256c42cce14c6faa56ec242b57e85" title="return expected value">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>,beta );} 316 <a name="l00368"></a><a class="code" href="classbdm_1_1egamma.html#36986cc01917cd0796fadc17125bdec1">00368</a> vec <a class="code" href="classbdm_1_1egamma.html#36986cc01917cd0796fadc17125bdec1" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>,elem_mult ( beta,beta ) ); } 317 <a name="l00369"></a>00369 }; 318 <a name="l00370"></a>00370 319 <a name="l00387"></a><a class="code" href="classbdm_1_1eigamma.html">00387</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density.">eigamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> 320 <a name="l00388"></a>00388 { 321 <a name="l00389"></a>00389 <span class="keyword">protected</span>: 322 <a name="l00390"></a>00390 <span class="keyword">public</span> : 323 <a name="l00395"></a>00395 324 <a name="l00396"></a><a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f">00396</a> vec <a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> 1.0/<a class="code" href="classbdm_1_1eigamma.html#3aff7bf25ddac27731c60826fcfd878f" title="Returns a sample, from density .">egamma::sample</a>();}; 325 <a name="l00398"></a><a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb">00398</a> vec <a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb" title="Returns poiter to alpha and beta. Potentially dangerous: use with care!">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> elem_div ( <a class="code" href="classbdm_1_1egamma.html#457bfb1ccb2057df85073e519a15ccc1" title="Vector .">beta</a>,<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>-1 );} 326 <a name="l00399"></a><a class="code" href="classbdm_1_1eigamma.html#c2c696f8c668e9f65392c9449f6a5133">00399</a> vec <a class="code" href="classbdm_1_1eigamma.html#c2c696f8c668e9f65392c9449f6a5133" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{vec mea=<a class="code" href="classbdm_1_1eigamma.html#46cecb295edbabd28120cb0f6f572bcb" title="Returns poiter to alpha and beta. Potentially dangerous: use with care!">mean</a>(); <span class="keywordflow">return</span> elem_div ( elem_mult ( mea,mea ),<a class="code" href="classbdm_1_1egamma.html#0901ec983e66b8337aaa506e13b122fa" title="Vector .">alpha</a>-2 );} 327 <a name="l00400"></a>00400 }; 328 <a name="l00401"></a>00401 <span class="comment">/*</span> 329 <a name="l00403"></a>00403 <span class="comment"> class emix : public epdf {</span> 330 <a name="l00404"></a>00404 <span class="comment"> protected:</span> 331 <a name="l00405"></a>00405 <span class="comment"> int n;</span> 332 <a name="l00406"></a>00406 <span class="comment"> vec &w;</span> 333 <a name="l00407"></a>00407 <span class="comment"> Array<epdf*> Coms;</span> 334 <a name="l00408"></a>00408 <span class="comment"> public:</span> 335 <a name="l00410"></a>00410 <span class="comment"> emix ( const RV &rv, vec &w0): epdf(rv), n(w0.length()), w(w0), Coms(n) {};</span> 336 <a name="l00411"></a>00411 <span class="comment"> void set_parameters( int &i, double wi, epdf* ep){w(i)=wi;Coms(i)=ep;}</span> 337 <a name="l00412"></a>00412 <span class="comment"> vec mean(){vec pom; for(int i=0;i<n;i++){pom+=Coms(i)->mean()*w(i);} return pom;};</span> 338 <a name="l00413"></a>00413 <span class="comment"> vec sample() {it_error ( "Not implemented" );return 0;}</span> 339 <a name="l00414"></a>00414 <span class="comment"> };</span> 340 <a name="l00415"></a>00415 <span class="comment"> */</span> 341 <a name="l00416"></a>00416 342 <a name="l00418"></a>00418 343 <a name="l00419"></a><a class="code" href="classbdm_1_1euni.html">00419</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> 344 <a name="l00420"></a>00420 { 345 <a name="l00421"></a>00421 <span class="keyword">protected</span>: 346 <a name="l00423"></a><a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32">00423</a> vec <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>; 347 <a name="l00425"></a><a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1">00425</a> vec <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>; 348 <a name="l00427"></a><a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c">00427</a> vec <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a>; 349 <a name="l00429"></a><a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20">00429</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a>; 350 <a name="l00431"></a><a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476">00431</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a>; 351 <a name="l00432"></a>00432 <span class="keyword">public</span>: 352 <a name="l00435"></a>00435 <a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a> ( ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ) {} 353 <a name="l00436"></a>00436 <a class="code" href="classbdm_1_1euni.html" title="Uniform distributed density on a rectangular support.">euni</a> ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 ) {set_parameters ( low0,high0 );} 354 <a name="l00437"></a>00437 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> vec &low0, <span class="keyword">const</span> vec &high0 ) 355 <a name="l00438"></a>00438 { 356 <a name="l00439"></a>00439 <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> = high0-low0; 357 <a name="l00440"></a>00440 it_assert_debug ( min ( <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> ) >0.0,<span class="stringliteral">"bad support"</span> ); 358 <a name="l00441"></a>00441 <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> = low0; 359 <a name="l00442"></a>00442 <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a> = high0; 360 <a name="l00443"></a>00443 <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a> = prod ( 1.0/<a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a> ); 361 <a name="l00444"></a>00444 <a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a> = log ( <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a> ); 362 <a name="l00445"></a>00445 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>.length(); 363 <a name="l00446"></a>00446 } 364 <a name="l00448"></a>00448 365 <a name="l00449"></a>00449 <span class="keywordtype">double</span> eval ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#31bb13e8449a8eff35246d46dae35c20" title="normalizing coefficients">nk</a>;} 366 <a name="l00450"></a><a class="code" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81">00450</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1euni.html#caa07b8307bd793d5339d6583e0aba81" title="Compute log-probability of argument val.">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#3e63be48dd58659663ca60cd18700476" title="cache of log( nk )">lnk</a>;} 367 <a name="l00451"></a><a class="code" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194">00451</a> vec <a class="code" href="classbdm_1_1euni.html#fc5df80359ead2918384b2004ce67194" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const</span> 368 <a name="l00452"></a>00452 <span class="keyword"> </span>{ 369 <a name="l00453"></a>00453 vec smp ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 370 <a name="l00454"></a>00454 <span class="preprocessor">#pragma omp critical</span> 371 <a name="l00455"></a>00455 <span class="preprocessor"></span> UniRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ,smp ); 372 <a name="l00456"></a>00456 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>+elem_mult ( <a class="code" href="classbdm_1_1euni.html#d3c27e331f90c754d80228108de8ed4c" title="internal">distance</a>,smp ); 373 <a name="l00457"></a>00457 } 374 <a name="l00459"></a><a class="code" href="classbdm_1_1euni.html#46caa8c13aba2e6228f964208918b226">00459</a> vec <a class="code" href="classbdm_1_1euni.html#46caa8c13aba2e6228f964208918b226" title="set values of low and high ">mean</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>-<a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> ) /2.0;} 375 <a name="l00460"></a><a class="code" href="classbdm_1_1euni.html#951f932155111f6053c980f672b4c22c">00460</a> vec <a class="code" href="classbdm_1_1euni.html#951f932155111f6053c980f672b4c22c" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> ( pow ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>,2 ) +pow ( <a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a>,2 ) +elem_mult ( <a class="code" href="classbdm_1_1euni.html#cfad2dea4a62db6872bda8abd75f0de1" title="upper bound on support">high</a>,<a class="code" href="classbdm_1_1euni.html#ff7ce6a2ef5ef0015bbd1398bed12f32" title="lower bound on support">low</a> ) ) /3.0;} 376 <a name="l00461"></a>00461 }; 377 377 <a name="l00462"></a>00462 378 <a name="l0046 8"></a>00468 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>379 <a name="l00469"></a> <a class="code" href="classbdm_1_1mlnorm.html">00469</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a>380 <a name="l00470"></a> 00470 {381 <a name="l00471"></a>00471 <span class="keyword">protected</span>:382 <a name="l0047 3"></a><a class="code" href="classbdm_1_1mlnorm.html#150ad6acb223b0a0abeaf92346686dcd">00473</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;383 <a name="l00474"></a> 00474 mat A;384 <a name="l00475"></a>00475 vec mu_const;385 <a name="l00476"></a>00476 vec & _mu; <span class="comment">//cached epdf.mu;</span>386 <a name="l00477"></a>00477 <span class="keyword">public</span>:387 <a name="l004 80"></a>00480 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> ( ) :<a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (),<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),A ( ),_mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> =&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; };388 <a name="l00481"></a>00481 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),_mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() )389 <a name="l00482"></a>00482 {390 <a name="l00483"></a>00483 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> =&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a> ( A,mu0,R );391 <a name="l00484"></a>00484 };392 <a name="l0048 6"></a>00486 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R );393 <a name="l0048 9"></a>00489 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">condition</a> ( <span class="keyword">const</span> vec &cond);394 <a name="l00490"></a>00490 395 <a name="l0049 2"></a><a class="code" href="classbdm_1_1mlnorm.html#56e587952f94fcac6cfc999eae6dbced">00492</a> vec& <a class="code" href="classbdm_1_1mlnorm.html#56e587952f94fcac6cfc999eae6dbced" title="access function">_mu_const</a>() {<span class="keywordflow">return</span> mu_const;}396 <a name="l0049 4"></a><a class="code" href="classbdm_1_1mlnorm.html#262a2a486bff585f34bb6a5005b02614">00494</a> mat& <a class="code" href="classbdm_1_1mlnorm.html#262a2a486bff585f34bb6a5005b02614" title="access function">_A</a>() {<span class="keywordflow">return</span> A;}397 <a name="l0049 6"></a><a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604">00496</a> mat <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._R().to_mat();}398 <a name="l00497"></a> 00497399 <a name="l00498"></a>00498 <span class="keyword">template</span><<span class="keyword">class</span> sq_M>400 <a name="l00499"></a>00499 <span class="keyword"> friend</span> std::ostream &operator<< ( std::ostream &os, mlnorm<sq_M> &ml );401 <a name="l00500"></a>00500 };402 <a name="l00501"></a>00501 403 <a name="l0050 3"></a>00503 <span class="keyword">template</span><<span class="keyword">class</span> sq_T>404 <a name="l00504"></a> <a class="code" href="classbdm_1_1mgnorm.html">00504</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value.">mgnorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a>405 <a name="l00505"></a> 00505 {406 <a name="l00506"></a>00506 <span class="keyword">protected</span>:407 <a name="l0050 8"></a><a class="code" href="classbdm_1_1mgnorm.html#8f7a376a1d2197e0634557e88e03104a">00508</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;408 <a name="l00509"></a> 00509 vec &mu;409 <a name="l00510"></a>00510 <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g;410 <a name="l00511"></a>00511 <span class="keyword">public</span>:411 <a name="l0051 3"></a><a class="code" href="classbdm_1_1mgnorm.html#1b014915d74470d3efab74e07cacb97d">00513</a> <a class="code" href="classbdm_1_1mgnorm.html#1b014915d74470d3efab74e07cacb97d" title="default constructor">mgnorm</a>() :mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;}412 <a name="l0051 5"></a><a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564">00515</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564" title="set mean function">set_parameters</a> ( <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g0, <span class="keyword">const</span> sq_T &R0 ) {g=g0; <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( g-><a class="code" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341" title="access function">dimension</a>() ), R0 );}413 <a name="l00516"></a><a class="code" href="classbdm_1_1mgnorm.html# b31d63472cf6a1030cd8dbd8094c1f6d">00516</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#b31d63472cf6a1030cd8dbd8094c1f6d" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) {mu=g-><a class="code" href="classbdm_1_1fnc.html#6277b11d7fffc7ef8a2fa3e84ae5bad4" title="function evaluates numerical value of at cond ">eval</a> ( cond );};414 <a name="l00517"></a> 00517378 <a name="l00463"></a>00463 379 <a name="l00469"></a>00469 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 380 <a name="l00470"></a><a class="code" href="classbdm_1_1mlnorm.html">00470</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> 381 <a name="l00471"></a>00471 { 382 <a name="l00472"></a>00472 <span class="keyword">protected</span>: 383 <a name="l00474"></a><a class="code" href="classbdm_1_1mlnorm.html#150ad6acb223b0a0abeaf92346686dcd">00474</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 384 <a name="l00475"></a>00475 mat A; 385 <a name="l00476"></a>00476 vec mu_const; 386 <a name="l00477"></a>00477 vec& _mu; <span class="comment">//cached epdf.mu;</span> 387 <a name="l00478"></a>00478 <span class="keyword">public</span>: 388 <a name="l00481"></a>00481 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> ( ) :<a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (),<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),A ( ),_mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> =&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; }; 389 <a name="l00482"></a>00482 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),_mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() ) 390 <a name="l00483"></a>00483 { 391 <a name="l00484"></a>00484 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a> =&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a> ( A,mu0,R ); 392 <a name="l00485"></a>00485 }; 393 <a name="l00487"></a>00487 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">set_parameters</a> ( <span class="keyword">const</span> mat &A, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R ); 394 <a name="l00490"></a>00490 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">condition</a> ( <span class="keyword">const</span> vec &cond ); 395 <a name="l00491"></a>00491 396 <a name="l00493"></a><a class="code" href="classbdm_1_1mlnorm.html#56e587952f94fcac6cfc999eae6dbced">00493</a> vec& <a class="code" href="classbdm_1_1mlnorm.html#56e587952f94fcac6cfc999eae6dbced" title="access function">_mu_const</a>() {<span class="keywordflow">return</span> mu_const;} 397 <a name="l00495"></a><a class="code" href="classbdm_1_1mlnorm.html#262a2a486bff585f34bb6a5005b02614">00495</a> mat& <a class="code" href="classbdm_1_1mlnorm.html#262a2a486bff585f34bb6a5005b02614" title="access function">_A</a>() {<span class="keywordflow">return</span> A;} 398 <a name="l00497"></a><a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604">00497</a> mat <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._R().to_mat();} 399 <a name="l00498"></a>00498 400 <a name="l00499"></a>00499 <span class="keyword">template</span><<span class="keyword">class</span> sq_M> 401 <a name="l00500"></a>00500 <span class="keyword">friend</span> std::ostream &operator<< ( std::ostream &os, mlnorm<sq_M> &ml ); 402 <a name="l00501"></a>00501 }; 403 <a name="l00502"></a>00502 404 <a name="l00504"></a>00504 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 405 <a name="l00505"></a><a class="code" href="classbdm_1_1mgnorm.html">00505</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgnorm.html" title="Mpdf with general function for mean value.">mgnorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> 406 <a name="l00506"></a>00506 { 407 <a name="l00507"></a>00507 <span class="keyword">protected</span>: 408 <a name="l00509"></a><a class="code" href="classbdm_1_1mgnorm.html#8f7a376a1d2197e0634557e88e03104a">00509</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 409 <a name="l00510"></a>00510 vec &mu; 410 <a name="l00511"></a>00511 <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g; 411 <a name="l00512"></a>00512 <span class="keyword">public</span>: 412 <a name="l00514"></a><a class="code" href="classbdm_1_1mgnorm.html#1b014915d74470d3efab74e07cacb97d">00514</a> <a class="code" href="classbdm_1_1mgnorm.html#1b014915d74470d3efab74e07cacb97d" title="default constructor">mgnorm</a>() :mu ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;} 413 <a name="l00516"></a><a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564">00516</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564" title="set mean function">set_parameters</a> ( <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g0, <span class="keyword">const</span> sq_T &R0 ) {g=g0; <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( g-><a class="code" href="classbdm_1_1fnc.html#083832294da9d1e40804158b979c4341" title="access function">dimension</a>() ), R0 );} 414 <a name="l00517"></a><a class="code" href="classbdm_1_1mgnorm.html#b31d63472cf6a1030cd8dbd8094c1f6d">00517</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#b31d63472cf6a1030cd8dbd8094c1f6d" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &cond ) {mu=g-><a class="code" href="classbdm_1_1fnc.html#6277b11d7fffc7ef8a2fa3e84ae5bad4" title="function evaluates numerical value of at cond ">eval</a> ( cond );}; 415 415 <a name="l00518"></a>00518 416 <a name="l005 46"></a><a class="code" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">00546</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">from_setting</a>( <span class="keyword">const</span> Setting &root )417 <a name="l00547"></a> 00547 {418 <a name="l00548"></a>00548 <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g = UI::build<fnc>( root, <span class="stringliteral">"g"</span> );419 <a name="l00549"></a>00549 420 <a name="l00550"></a>00550 mat R;421 <a name="l00551"></a>00551 <span class="keywordflow">if</span> ( root.exists( <span class="stringliteral">"dR"</span> ) )422 <a name="l00552"></a>00552 {423 <a name="l00553"></a>00553 vec dR;424 <a name="l00554"></a>00554 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>( dR, root, <span class="stringliteral">"dR"</span> );425 <a name="l00555"></a>00555 R=diag(dR);426 <a name="l00556"></a>00556 }427 <a name="l00557"></a>00557 <span class="keywordflow">else</span>428 <a name="l00558"></a>00558 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>( R, root, <span class="stringliteral">"R"</span>);429 <a name="l00559"></a>00559 430 <a name="l00560"></a>00560 <a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564" title="set mean function">set_parameters</a>(g,R);431 <a name="l00561"></a>00561 }432 <a name="l00562"></a>00562 433 <a name="l00563"></a>00563 <span class="comment">/*void mgnorm::to_setting( Setting &root ) const</span>434 <a name="l00564"></a>00564 <span class="comment"> {</span>435 <a name="l00565"></a>00565 <span class="comment"> Transport::to_setting( root );</span>436 <a name="l00566"></a>00566 <span class="comment"> </span>437 <a name="l00567"></a>00567 <span class="comment"> Setting &kilometers_setting = root.add("kilometers", Setting::TypeInt );</span>438 <a name="l00568"></a>00568 <span class="comment"> kilometers_setting = kilometers;</span>439 <a name="l00569"></a>00569 <span class="comment"> </span>440 <a name="l00570"></a>00570 <span class="comment"> UI::save( passengers, root, "passengers" );</span>441 <a name="l00571"></a>00571 <span class="comment"> }*/</span>442 <a name="l00572"></a>00572 443 <a name="l00573"></a>00573 };444 <a name="l00574"></a>00574 445 <a name="l00575"></a>00575 UIREGISTER(mgnorm<chmat>);446 <a name="l00576"></a>00576 416 <a name="l00519"></a>00519 417 <a name="l00547"></a><a class="code" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">00547</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgnorm.html#d23d2c9b147c01785d5a4239c118ddf1">from_setting</a>( <span class="keyword">const</span> Setting &root ) 418 <a name="l00548"></a>00548 { 419 <a name="l00549"></a>00549 <a class="code" href="classbdm_1_1fnc.html" title="Class representing function of variable represented by rv.">fnc</a>* g = UI::build<fnc>( root, <span class="stringliteral">"g"</span> ); 420 <a name="l00550"></a>00550 421 <a name="l00551"></a>00551 mat R; 422 <a name="l00552"></a>00552 <span class="keywordflow">if</span> ( root.exists( <span class="stringliteral">"dR"</span> ) ) 423 <a name="l00553"></a>00553 { 424 <a name="l00554"></a>00554 vec dR; 425 <a name="l00555"></a>00555 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>( dR, root, <span class="stringliteral">"dR"</span> ); 426 <a name="l00556"></a>00556 R=diag(dR); 427 <a name="l00557"></a>00557 } 428 <a name="l00558"></a>00558 <span class="keywordflow">else</span> 429 <a name="l00559"></a>00559 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>( R, root, <span class="stringliteral">"R"</span>); 430 <a name="l00560"></a>00560 431 <a name="l00561"></a>00561 <a class="code" href="classbdm_1_1mgnorm.html#578e02458e2a0d17f3864826b6ebd564" title="set mean function">set_parameters</a>(g,R); 432 <a name="l00562"></a>00562 } 433 <a name="l00563"></a>00563 434 <a name="l00564"></a>00564 <span class="comment">/*void mgnorm::to_setting( Setting &root ) const</span> 435 <a name="l00565"></a>00565 <span class="comment"> { </span> 436 <a name="l00566"></a>00566 <span class="comment"> Transport::to_setting( root );</span> 437 <a name="l00567"></a>00567 <span class="comment"></span> 438 <a name="l00568"></a>00568 <span class="comment"> Setting &kilometers_setting = root.add("kilometers", Setting::TypeInt );</span> 439 <a name="l00569"></a>00569 <span class="comment"> kilometers_setting = kilometers;</span> 440 <a name="l00570"></a>00570 <span class="comment"></span> 441 <a name="l00571"></a>00571 <span class="comment"> UI::save( passengers, root, "passengers" );</span> 442 <a name="l00572"></a>00572 <span class="comment"> }*/</span> 443 <a name="l00573"></a>00573 444 <a name="l00574"></a>00574 }; 445 <a name="l00575"></a>00575 446 <a name="l00576"></a>00576 UIREGISTER(mgnorm<chmat>); 447 447 <a name="l00577"></a>00577 448 <a name="l005 85"></a><a class="code" href="classbdm_1_1mlstudent.html">00585</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlstudent.html">mlstudent</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a><ldmat>449 <a name="l00586"></a> 00586 {450 <a name="l00587"></a>00587 <span class="keyword">protected</span>:451 <a name="l00588"></a>00588 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> Lambda;452 <a name="l00589"></a>00589 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &<a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a>;453 <a name="l00590"></a>00590 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> Re;454 <a name="l00591"></a>00591 <span class="keyword">public</span>:455 <a name="l00592"></a>00592 <a class="code" href="classbdm_1_1mlstudent.html">mlstudent</a> ( ) :<a class="code" href="classbdm_1_1mlnorm.html">mlnorm<ldmat></a> (),456 <a name="l00593"></a>00593 Lambda (), <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._R() ) {}457 <a name="l00594"></a>00594 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &R0, <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& Lambda0 )458 <a name="l00595"></a>00595 {459 <a name="l00596"></a>00596 it_assert_debug ( A0.rows() ==mu0.length(),<span class="stringliteral">""</span> );460 <a name="l00597"></a>00597 it_assert_debug ( R0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>() ==A0.rows(),<span class="stringliteral">""</span> );461 <a name="l00598"></a>00598 462 <a name="l00599"></a>00599 <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( mu0,Lambda ); <span class="comment">//</span>463 <a name="l00600"></a>00600 A = A0;464 <a name="l00601"></a>00601 mu_const = mu0;465 <a name="l00602"></a>00602 Re=R0;466 <a name="l00603"></a>00603 Lambda = Lambda0;467 <a name="l00604"></a>00604 }468 <a name="l00605"></a> <a class="code" href="classbdm_1_1mlstudent.html#efd37560585c8613897f30d3c2f58d0d">00605</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlstudent.html#efd37560585c8613897f30d3c2f58d0d">condition</a> ( <span class="keyword">const</span> vec &cond )469 <a name="l00606"></a> 00606 {470 <a name="l00607"></a>00607 _mu = A*cond + mu_const;471 <a name="l00608"></a>00608 <span class="keywordtype">double</span> zeta;472 <a name="l00609"></a>00609 <span class=" comment">//ugly hack!</span>473 <a name="l00610"></a>00610 <span class=" keywordflow">if</span> ( ( cond.length() +1 ) ==Lambda.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>() )474 <a name="l00611"></a>00611 {475 <a name="l00612"></a>00612 zeta = Lambda.<a class="code" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14" title="Evaluates quadratic form ;.">invqform</a> ( concat ( cond, vec_1 ( 1.0 ) ) );476 <a name="l00613"></a>00613 }477 <a name="l00614"></a>00614 <span class="keywordflow">else</span>478 <a name="l00615"></a>00615 {479 <a name="l00616"></a>00616 zeta = Lambda.<a class="code" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14" title="Evaluates quadratic form ;.">invqform</a> ( cond );480 <a name="l00617"></a>00617 }481 <a name="l00618"></a>00618 <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a> = Re;482 <a name="l00619"></a>00619 <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a> *= ( 1+zeta );<span class="comment">// / ( nu ); << nu is in Re!!!!!!</span>483 <a name="l00620"></a>00620 };484 <a name="l00621"></a>00621 485 <a name="l00622"></a>00622 };486 <a name="l006 32"></a><a class="code" href="classbdm_1_1mgamma.html">00632</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a>487 <a name="l00633"></a> 00633 {488 <a name="l00634"></a>00634 <span class="keyword">protected</span>:489 <a name="l0063 6"></a><a class="code" href="classbdm_1_1mgamma.html#bdc9f1e9e03c09e91103fee269864438">00636</a> <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;490 <a name="l0063 8"></a><a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09">00638</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>;491 <a name="l006 40"></a><a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312">00640</a> vec &<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>;492 <a name="l00641"></a> 00641493 <a name="l00642"></a>00642 <span class="keyword">public</span>:494 <a name="l0064 4"></a><a class="code" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1">00644</a> <a class="code" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1" title="Constructor.">mgamma</a> ( ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> ( ), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> (), <a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;};495 <a name="l0064 6"></a>00646 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma.html#a0f21c2557b233a85838b497d040ab14" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>, <span class="keyword">const</span> vec &beta0 );496 <a name="l00647"></a> <a class="code" href="classbdm_1_1mgamma.html#8996500f1885e39cde30221b20900bff">00647</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma.html#8996500f1885e39cde30221b20900bff" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>=<a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>/val;};497 <a name="l00648"></a> 00648};498 <a name="l00649"></a>00649 499 <a name="l0065 9"></a><a class="code" href="classbdm_1_1migamma.html">00659</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a>500 <a name="l00660"></a> 00660 {501 <a name="l00661"></a>00661 <span class="keyword">protected</span>:502 <a name="l0066 3"></a><a class="code" href="classbdm_1_1migamma.html#a31b39d4179551b593c9e0d7d756783a">00663</a> <a class="code" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density.">eigamma</a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;503 <a name="l0066 5"></a><a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c">00665</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>;504 <a name="l0066 7"></a><a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc">00667</a> vec &<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>;505 <a name="l0066 9"></a><a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5">00669</a> vec &<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>;506 <a name="l00670"></a> 00670507 <a name="l00671"></a>00671 <span class="keyword">public</span>:508 <a name="l0067 4"></a>00674 <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> ( ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ), <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>() ), <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;};509 <a name="l00675"></a>00675 <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> &m ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( m.<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>), <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>() ), <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;};510 <a name="l0067 7"></a>00677511 <a name="l0067 9"></a><a class="code" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151">00679</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">int</span> len, <span class="keywordtype">double</span> k0 )512 <a name="l00680"></a> 00680 {513 <a name="l00681"></a>00681 <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>=k0;514 <a name="l00682"></a>00682 <a class="code" href="classbdm_1_1 epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( ( 1.0/ ( <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>*<a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a> ) +2.0 ) *ones ( len ) <span class="comment">/*alpha*/</span>, ones ( len ) <span class="comment">/*beta*/</span> );515 <a name="l00683"></a>00683 <a class="code" href="classbdm_1_1 mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = dimension();516 <a name="l00684"></a>00684 };517 <a name="l00685"></a> <a class="code" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c">00685</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val )518 <a name="l00686"></a> 00686 {519 <a name="l00687"></a>00687 <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>=elem_mult ( val, ( <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>-1.0 ) );520 <a name="l00688"></a>00688 };521 <a name="l00689"></a>00689 };522 <a name="l00690"></a>00690 448 <a name="l00578"></a>00578 449 <a name="l00586"></a><a class="code" href="classbdm_1_1mlstudent.html">00586</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlstudent.html">mlstudent</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm</a><ldmat> 450 <a name="l00587"></a>00587 { 451 <a name="l00588"></a>00588 <span class="keyword">protected</span>: 452 <a name="l00589"></a>00589 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> Lambda; 453 <a name="l00590"></a>00590 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &<a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a>; 454 <a name="l00591"></a>00591 <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> Re; 455 <a name="l00592"></a>00592 <span class="keyword">public</span>: 456 <a name="l00593"></a>00593 <a class="code" href="classbdm_1_1mlstudent.html">mlstudent</a> ( ) :<a class="code" href="classbdm_1_1mlnorm.html">mlnorm<ldmat></a> (), 457 <a name="l00594"></a>00594 Lambda (), <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>._R() ) {} 458 <a name="l00595"></a>00595 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a> &R0, <span class="keyword">const</span> <a class="code" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD).">ldmat</a>& Lambda0 ) 459 <a name="l00596"></a>00596 { 460 <a name="l00597"></a>00597 it_assert_debug ( A0.rows() ==mu0.length(),<span class="stringliteral">""</span> ); 461 <a name="l00598"></a>00598 it_assert_debug ( R0.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>() ==A0.rows(),<span class="stringliteral">""</span> ); 462 <a name="l00599"></a>00599 463 <a name="l00600"></a>00600 <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( mu0,Lambda ); <span class="comment">//</span> 464 <a name="l00601"></a>00601 A = A0; 465 <a name="l00602"></a>00602 mu_const = mu0; 466 <a name="l00603"></a>00603 Re=R0; 467 <a name="l00604"></a>00604 Lambda = Lambda0; 468 <a name="l00605"></a>00605 } 469 <a name="l00606"></a><a class="code" href="classbdm_1_1mlstudent.html#efd37560585c8613897f30d3c2f58d0d">00606</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlstudent.html#efd37560585c8613897f30d3c2f58d0d">condition</a> ( <span class="keyword">const</span> vec &cond ) 470 <a name="l00607"></a>00607 { 471 <a name="l00608"></a>00608 _mu = A*cond + mu_const; 472 <a name="l00609"></a>00609 <span class="keywordtype">double</span> zeta; 473 <a name="l00610"></a>00610 <span class="comment">//ugly hack!</span> 474 <a name="l00611"></a>00611 <span class="keywordflow">if</span> ( ( cond.length() +1 ) ==Lambda.<a class="code" href="group__math.html#g96dfb21865db4f5bd36fa70f9b0b1163" title="access function">rows</a>() ) 475 <a name="l00612"></a>00612 { 476 <a name="l00613"></a>00613 zeta = Lambda.<a class="code" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14" title="Evaluates quadratic form ;.">invqform</a> ( concat ( cond, vec_1 ( 1.0 ) ) ); 477 <a name="l00614"></a>00614 } 478 <a name="l00615"></a>00615 <span class="keywordflow">else</span> 479 <a name="l00616"></a>00616 { 480 <a name="l00617"></a>00617 zeta = Lambda.<a class="code" href="classldmat.html#d876c5f83e02b3e809b35c9de5068f14" title="Evaluates quadratic form ;.">invqform</a> ( cond ); 481 <a name="l00618"></a>00618 } 482 <a name="l00619"></a>00619 <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a> = Re; 483 <a name="l00620"></a>00620 <a class="code" href="classbdm_1_1mlnorm.html#78120ecd1c2b1d7e80124b4603504604" title="access function">_R</a>*= ( 1+zeta );<span class="comment">// / ( nu ); << nu is in Re!!!!!!</span> 484 <a name="l00621"></a>00621 }; 485 <a name="l00622"></a>00622 486 <a name="l00623"></a>00623 }; 487 <a name="l00633"></a><a class="code" href="classbdm_1_1mgamma.html">00633</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> 488 <a name="l00634"></a>00634 { 489 <a name="l00635"></a>00635 <span class="keyword">protected</span>: 490 <a name="l00637"></a><a class="code" href="classbdm_1_1mgamma.html#bdc9f1e9e03c09e91103fee269864438">00637</a> <a class="code" href="classbdm_1_1egamma.html" title="Gamma posterior density.">egamma</a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 491 <a name="l00639"></a><a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09">00639</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>; 492 <a name="l00641"></a><a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312">00641</a> vec &<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>; 493 <a name="l00642"></a>00642 494 <a name="l00643"></a>00643 <span class="keyword">public</span>: 495 <a name="l00645"></a><a class="code" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1">00645</a> <a class="code" href="classbdm_1_1mgamma.html#1a9dc8661e5b214a8185d6e6b9956eb1" title="Constructor.">mgamma</a> ( ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> ( ), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> (), <a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;}; 496 <a name="l00647"></a>00647 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma.html#a0f21c2557b233a85838b497d040ab14" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>, <span class="keyword">const</span> vec &beta0 ); 497 <a name="l00648"></a><a class="code" href="classbdm_1_1mgamma.html#8996500f1885e39cde30221b20900bff">00648</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma.html#8996500f1885e39cde30221b20900bff" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {<a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>=<a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>/val;}; 498 <a name="l00649"></a>00649 }; 499 <a name="l00650"></a>00650 500 <a name="l00660"></a><a class="code" href="classbdm_1_1migamma.html">00660</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> 501 <a name="l00661"></a>00661 { 502 <a name="l00662"></a>00662 <span class="keyword">protected</span>: 503 <a name="l00664"></a><a class="code" href="classbdm_1_1migamma.html#a31b39d4179551b593c9e0d7d756783a">00664</a> <a class="code" href="classbdm_1_1eigamma.html" title="Inverse-Gamma posterior density.">eigamma</a> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>; 504 <a name="l00666"></a><a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c">00666</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>; 505 <a name="l00668"></a><a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc">00668</a> vec &<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>; 506 <a name="l00670"></a><a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5">00670</a> vec &<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>; 507 <a name="l00671"></a>00671 508 <a name="l00672"></a>00672 <span class="keyword">public</span>: 509 <a name="l00675"></a>00675 <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> ( ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ), <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>() ), <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;}; 510 <a name="l00676"></a>00676 <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> &m ) : <a class="code" href="classbdm_1_1mEF.html" title="Exponential family model.">mEF</a> (), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( m.<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ), <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>() ), <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a> ( <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.<a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>;}; 511 <a name="l00678"></a>00678 512 <a name="l00680"></a><a class="code" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151">00680</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma.html#8b10ab922e2a7bae2fb6bb3efc7b6151" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">int</span> len, <span class="keywordtype">double</span> k0 ) 513 <a name="l00681"></a>00681 { 514 <a name="l00682"></a>00682 <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>=k0; 515 <a name="l00683"></a>00683 <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( ( 1.0/ ( <a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a>*<a class="code" href="classbdm_1_1migamma.html#dc56bc9da542e0103ec16b9be8e5e38c" title="Constant .">k</a> ) +2.0 ) *ones ( len ) <span class="comment">/*alpha*/</span>, ones ( len ) <span class="comment">/*beta*/</span> ); 516 <a name="l00684"></a>00684 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = dimension(); 517 <a name="l00685"></a>00685 }; 518 <a name="l00686"></a><a class="code" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c">00686</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma.html#7a34b1e2e3aa2250d7c0ed7df1665b8c" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) 519 <a name="l00687"></a>00687 { 520 <a name="l00688"></a>00688 <a class="code" href="classbdm_1_1migamma.html#0d854c047001b5465cf1ba21f52904b5" title="cache of epdf.beta">_beta</a>=elem_mult ( val, ( <a class="code" href="classbdm_1_1migamma.html#c9847093da59a9ba0ebb68d2c592f5dc" title="cache of epdf.alpha">_alpha</a>-1.0 ) ); 521 <a name="l00689"></a>00689 }; 522 <a name="l00690"></a>00690 }; 523 523 <a name="l00691"></a>00691 524 <a name="l00 703"></a><a class="code" href="classbdm_1_1mgamma__fix.html">00703</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgamma__fix.html" title="Gamma random walk around a fixed point.">mgamma_fix</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a>525 <a name="l00704"></a> 00704 {526 <a name="l00705"></a>00705 <span class="keyword">protected</span>:527 <a name="l0070 7"></a><a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa">00707</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a>;528 <a name="l0070 9"></a><a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2">00709</a> vec <a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>;529 <a name="l00710"></a> 00710 <span class="keyword">public</span>:530 <a name="l0071 2"></a><a class="code" href="classbdm_1_1mgamma__fix.html#9a31bc9b4b60188a18a2a6b588dc4b2d">00712</a> <a class="code" href="classbdm_1_1mgamma__fix.html#9a31bc9b4b60188a18a2a6b588dc4b2d" title="Constructor.">mgamma_fix</a> ( ) : <a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a> ( ),<a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a> () {};531 <a name="l0071 4"></a><a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2">00714</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 )532 <a name="l00715"></a> 00715 {533 <a name="l00716"></a>00716 <a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2" title="Set value of k.">mgamma::set_parameters</a> ( k0, ref0 );534 <a name="l00717"></a>00717 <a class="code" href="classbdm_1_1mgamma__fix.html# 018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>=pow ( ref0,1.0-l0 );<a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a>=l0;535 <a name="l00718"></a>00718 <a class="code" href="classbdm_1_1m pdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=dimension();536 <a name="l00719"></a>00719 };537 <a name="l00720"></a>00720 538 <a name="l00721"></a> <a class="code" href="classbdm_1_1mgamma__fix.html#1d539591deb7a38bb3403c2b396c8ff7">00721</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1d539591deb7a38bb3403c2b396c8ff7" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {vec mean=elem_mult ( <a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>,pow ( val,<a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a> ) ); <a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>=<a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>/mean;};539 <a name="l00722"></a> 00722};540 <a name="l00723"></a>00723 524 <a name="l00692"></a>00692 525 <a name="l00704"></a><a class="code" href="classbdm_1_1mgamma__fix.html">00704</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mgamma__fix.html" title="Gamma random walk around a fixed point.">mgamma_fix</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a> 526 <a name="l00705"></a>00705 { 527 <a name="l00706"></a>00706 <span class="keyword">protected</span>: 528 <a name="l00708"></a><a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa">00708</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a>; 529 <a name="l00710"></a><a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2">00710</a> vec <a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>; 530 <a name="l00711"></a>00711 <span class="keyword">public</span>: 531 <a name="l00713"></a><a class="code" href="classbdm_1_1mgamma__fix.html#9a31bc9b4b60188a18a2a6b588dc4b2d">00713</a> <a class="code" href="classbdm_1_1mgamma__fix.html#9a31bc9b4b60188a18a2a6b588dc4b2d" title="Constructor.">mgamma_fix</a> ( ) : <a class="code" href="classbdm_1_1mgamma.html" title="Gamma random walk.">mgamma</a> ( ),<a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a> () {}; 532 <a name="l00715"></a><a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2">00715</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 ) 533 <a name="l00716"></a>00716 { 534 <a name="l00717"></a>00717 <a class="code" href="classbdm_1_1mgamma__fix.html#1bfd30e90db9dc1fbda4a9fbb0b716b2" title="Set value of k.">mgamma::set_parameters</a> ( k0, ref0 ); 535 <a name="l00718"></a>00718 <a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>=pow ( ref0,1.0-l0 );<a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a>=l0; 536 <a name="l00719"></a>00719 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=dimension(); 537 <a name="l00720"></a>00720 }; 538 <a name="l00721"></a>00721 539 <a name="l00722"></a><a class="code" href="classbdm_1_1mgamma__fix.html#1d539591deb7a38bb3403c2b396c8ff7">00722</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mgamma__fix.html#1d539591deb7a38bb3403c2b396c8ff7" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) {vec mean=elem_mult ( <a class="code" href="classbdm_1_1mgamma__fix.html#018c6f901a04e419455308a07eb3b0b2" title="reference vector">refl</a>,pow ( val,<a class="code" href="classbdm_1_1mgamma__fix.html#1eb701506aabb2e6af007e487212d6fa" title="parameter l">l</a> ) ); <a class="code" href="classbdm_1_1mgamma.html#3d95f4dde9214ff6dba265e18af60312" title="cache of epdf.beta">_beta</a>=<a class="code" href="classbdm_1_1mgamma.html#b20cf88cca1fe9b0b8f2a412608bfd09" title="Constant .">k</a>/mean;}; 540 <a name="l00723"></a>00723 }; 541 541 <a name="l00724"></a>00724 542 <a name="l007 37"></a><a class="code" href="classbdm_1_1migamma__ref.html">00737</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point.">migamma_ref</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a>543 <a name="l00738"></a> 00738 {544 <a name="l00739"></a>00739 <span class="keyword">protected</span>:545 <a name="l0074 1"></a><a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d">00741</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a>;546 <a name="l0074 3"></a><a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6">00743</a> vec <a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>;547 <a name="l00744"></a> 00744 <span class="keyword">public</span>:548 <a name="l0074 6"></a><a class="code" href="classbdm_1_1migamma__ref.html#f45b15a10f084991ba6b48295f10421f">00746</a> <a class="code" href="classbdm_1_1migamma__ref.html#f45b15a10f084991ba6b48295f10421f" title="Constructor.">migamma_ref</a> ( ) : <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> (),<a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a> ( ) {};549 <a name="l0074 8"></a><a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800">00748</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 )550 <a name="l00749"></a> 00749 {551 <a name="l00750"></a>00750 <a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800" title="Set value of k.">migamma::set_parameters</a> ( ref0.length(), k0 );552 <a name="l00751"></a>00751 <a class="code" href="classbdm_1_1migamma__ref.html# 3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>=pow ( ref0,1.0-l0 );553 <a name="l00752"></a>00752 <a class="code" href="classbdm_1_1migamma__ref.html# cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a>=l0;554 <a name="l00753"></a>00753 <a class="code" href="classbdm_1_1m pdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = dimension();555 <a name="l00754"></a>00754 };556 <a name="l00755"></a>00755 557 <a name="l00756"></a> <a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a">00756</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val )558 <a name="l00757"></a> 00757 {559 <a name="l00758"></a>00758 vec mean=elem_mult ( <a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>,pow ( val,<a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a> ) );560 <a name="l00759"></a>00759 <a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">migamma::condition</a> ( mean);561 <a name="l00760"></a>00760 };562 <a name="l00761"></a>00761 563 <a name="l007 82"></a>00782 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">from_setting</a>( <span class="keyword">const</span> Setting &root );564 <a name="l00783"></a>00783 565 <a name="l00784"></a>00784 <span class="comment">// TODO dodelat void to_setting( Setting &root ) const;</span>566 <a name="l00785"></a>00785 };567 <a name="l00786"></a>00786 542 <a name="l00725"></a>00725 543 <a name="l00738"></a><a class="code" href="classbdm_1_1migamma__ref.html">00738</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1migamma__ref.html" title="Inverse-Gamma random walk around a fixed point.">migamma_ref</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> 544 <a name="l00739"></a>00739 { 545 <a name="l00740"></a>00740 <span class="keyword">protected</span>: 546 <a name="l00742"></a><a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d">00742</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a>; 547 <a name="l00744"></a><a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6">00744</a> vec <a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>; 548 <a name="l00745"></a>00745 <span class="keyword">public</span>: 549 <a name="l00747"></a><a class="code" href="classbdm_1_1migamma__ref.html#f45b15a10f084991ba6b48295f10421f">00747</a> <a class="code" href="classbdm_1_1migamma__ref.html#f45b15a10f084991ba6b48295f10421f" title="Constructor.">migamma_ref</a> ( ) : <a class="code" href="classbdm_1_1migamma.html" title="Inverse-Gamma random walk.">migamma</a> (),<a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a> ( ) {}; 550 <a name="l00749"></a><a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800">00749</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">double</span> k0 , vec ref0, <span class="keywordtype">double</span> l0 ) 551 <a name="l00750"></a>00750 { 552 <a name="l00751"></a>00751 <a class="code" href="classbdm_1_1migamma__ref.html#b0b4eb278ef5d0831ec4954ba7bd2800" title="Set value of k.">migamma::set_parameters</a> ( ref0.length(), k0 ); 553 <a name="l00752"></a>00752 <a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>=pow ( ref0,1.0-l0 ); 554 <a name="l00753"></a>00753 <a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a>=l0; 555 <a name="l00754"></a>00754 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = dimension(); 556 <a name="l00755"></a>00755 }; 557 <a name="l00756"></a>00756 558 <a name="l00757"></a><a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a">00757</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) 559 <a name="l00758"></a>00758 { 560 <a name="l00759"></a>00759 vec mean=elem_mult ( <a class="code" href="classbdm_1_1migamma__ref.html#3692dc67caf4367e15564d37f45476f6" title="reference vector">refl</a>,pow ( val,<a class="code" href="classbdm_1_1migamma__ref.html#cdc1345ba8375fbdb18a69322d2f841d" title="parameter l">l</a> ) ); 561 <a name="l00760"></a>00760 <a class="code" href="classbdm_1_1migamma__ref.html#ae86b2e4ff963d62e05d4e130514634a" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">migamma::condition</a> ( mean ); 562 <a name="l00761"></a>00761 }; 563 <a name="l00762"></a>00762 564 <a name="l00783"></a>00783 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1migamma__ref.html#6ab1cf56dd7b718c285ee65d8953cf3e">from_setting</a>( <span class="keyword">const</span> Setting &root ); 565 <a name="l00784"></a>00784 566 <a name="l00785"></a>00785 <span class="comment">// TODO dodelat void to_setting( Setting &root ) const;</span> 567 <a name="l00786"></a>00786 }; 568 568 <a name="l00787"></a>00787 569 <a name="l00788"></a>00788 UIREGISTER(migamma_ref);570 <a name="l00789"></a>00789 571 <a name="l0079 9"></a><a class="code" href="classbdm_1_1elognorm.html">00799</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1elognorm.html">elognorm</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a><ldmat>572 <a name="l00800"></a> 00800 {573 <a name="l00801"></a>00801 <span class="keyword">public</span>:574 <a name="l00802"></a> <a class="code" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">00802</a> vec <a class="code" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<ldmat>::sample</a>() );};575 <a name="l00803"></a><a class="code" href="classbdm_1_1elognorm.html# adb41e4f4d6600dec6f8c1dbc5ed9eea">00803</a> vec <a class="code" href="classbdm_1_1elognorm.html#adb41e4f4d6600dec6f8c1dbc5ed9eea" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec var=<a class="code" href="classbdm_1_1enorm.html#729c75ef0fa8abae03d58ad1f81e6773" title="return expected variance (not covariance!)">enorm<ldmat>::variance</a>();<span class="keywordflow">return</span> exp ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> - 0.5*var);};576 <a name="l00804"></a> 00804577 <a name="l00805"></a>00805 };578 <a name="l00806"></a>00806 579 <a name="l008 18"></a><a class="code" href="classbdm_1_1mlognorm.html">00818</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk.">mlognorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>580 <a name="l00819"></a> 00819 {581 <a name="l00820"></a>00820 <span class="keyword">protected</span>:582 <a name="l00821"></a>00821 <a class="code" href="classbdm_1_1elognorm.html">elognorm</a> eno;583 <a name="l0082 3"></a><a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a">00823</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>;584 <a name="l0082 5"></a><a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2">00825</a> vec &<a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a>;585 <a name="l00826"></a> 00826 <span class="keyword">public</span>:586 <a name="l0082 8"></a><a class="code" href="classbdm_1_1mlognorm.html#a5d6eb2688d02e0348b96c4fbd7bde41">00828</a> <a class="code" href="classbdm_1_1mlognorm.html#a5d6eb2688d02e0348b96c4fbd7bde41" title="Constructor.">mlognorm</a> ( ) : eno (), <a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a> ( eno._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&eno;};587 <a name="l008 30"></a><a class="code" href="classbdm_1_1mlognorm.html#604cab0e8a76f9041dc3c606043bb39f">00830</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#604cab0e8a76f9041dc3c606043bb39f" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">int</span> size, <span class="keywordtype">double</span> k )588 <a name="l00831"></a> 00831 {589 <a name="l00832"></a>00832 <a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a> = 0.5*log ( k*k+1 );590 <a name="l00833"></a>00833 eno.<a class="code" href="classbdm_1_1enorm.html#b8322f2c11560871dd922c660f4771bb">set_parameters</a> ( zeros ( size ),2*<a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>*eye ( size ));591 <a name="l00834"></a>00834 592 <a name="l00835"></a>00835 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = size;593 <a name="l00836"></a>00836 };594 <a name="l00837"></a>00837 595 <a name="l00838"></a> <a class="code" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e">00838</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val )596 <a name="l00839"></a> 00839 {597 <a name="l00840"></a>00840 <a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a>=log ( val )-<a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>;<span class="comment">//elem_mult ( refl,pow ( val,l ) );</span>598 <a name="l00841"></a>00841 };599 <a name="l00842"></a>00842 600 <a name="l008 61"></a>00861 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#3a130457942be64ee9544e8dff00d09b">from_setting</a>( <span class="keyword">const</span> Setting &root );601 <a name="l00862"></a>00862 602 <a name="l00863"></a>00863 <span class="comment">// TODO dodelat void to_setting( Setting &root ) const;</span>603 <a name="l00864"></a>00864 604 <a name="l00865"></a>00865 };605 <a name="l00866"></a>00866 606 <a name="l00867"></a>00867 UIREGISTER(mlognorm);607 <a name="l00868"></a>00868 608 <a name="l008 72"></a><a class="code" href="classbdm_1_1eWishartCh.html">00872</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eWishartCh.html">eWishartCh</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>609 <a name="l00873"></a> 00873 {610 <a name="l00874"></a>00874 <span class="keyword">protected</span>:611 <a name="l0087 6"></a><a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490">00876</a> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>;612 <a name="l0087 8"></a><a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f">00878</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>;613 <a name="l008 80"></a><a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3">00880</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>;614 <a name="l00881"></a> 00881 <span class="keyword">public</span>:615 <a name="l00882"></a>00882 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &Y0, <span class="keyword">const</span> <span class="keywordtype">double</span> delta0 ) {<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>=<a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> ( Y0 );<a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>=delta0; <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>=<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646" title="Reimplementing common functions of mat: cols().">rows</a>(); <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>*<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>; }616 <a name="l00883"></a>00883 mat sample_mat()<span class="keyword"> const</span>617 <a name="l00884"></a>00884 <span class="keyword"> </span>{618 <a name="l00885"></a>00885 mat X=zeros ( <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>,<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a> );619 <a name="l00886"></a>00886 620 <a name="l00887"></a>00887 <span class="comment">//sample diagonal</span>621 <a name="l00888"></a>00888 <span class=" keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>;i++ )622 <a name="l00889"></a>00889 {623 <a name="l00890"></a>00890 GamRNG.setup ( 0.5* ( <a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>-i ) , 0.5 ); <span class="comment">// no +1 !! index if from 0</span>624 <a name="l00891"></a>00891 <span class="preprocessor">#pragma omp critical</span>625 <a name="l00892"></a>00892 <span class="preprocessor"> </span> X ( i,i ) =sqrt ( GamRNG() );626 <a name="l00893"></a>00893 }627 <a name="l00894"></a>00894 <span class="comment">//do the rest</span>628 <a name="l00895"></a>00895 <span class=" keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<p;i++ )629 <a name="l00896"></a>00896 {630 <a name="l00897"></a>00897 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> j=i+1;j<p;j++ )631 <a name="l00898"></a>00898 {632 <a name="l00899"></a>00899 <span class="preprocessor">#pragma omp critical</span>633 <a name="l00900"></a>00900 <span class="preprocessor"> </span> X ( i,j ) =NorRNG.sample();634 <a name="l00901"></a>00901 }635 <a name="l00902"></a>00902 }636 <a name="l00903"></a>00903 <span class="keywordflow">return</span> X*<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>();<span class="comment">// return upper triangular part of the decomposition</span>637 <a name="l00904"></a>00904 }638 <a name="l00905"></a> <a class="code" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">00905</a> vec <a class="code" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a" title="Returns a sample, from density .">sample</a> ()<span class="keyword"> const</span>639 <a name="l00906"></a> 00906 <span class="keyword"> </span>{640 <a name="l00907"></a>00907 <span class="keywordflow">return</span> vec ( sample_mat()._data(),p*p );641 <a name="l00908"></a>00908 }642 <a name="l009 10"></a><a class="code" href="classbdm_1_1eWishartCh.html#4eee757c0535c2a88bb20f0767c64981">00910</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eWishartCh.html#4eee757c0535c2a88bb20f0767c64981" title="fast access function y0 will be copied into Y.Ch.">setY</a> ( <span class="keyword">const</span> mat &Ch0 ) {copy_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,Ch0._data(), <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>()._data() );}643 <a name="l0091 2"></a><a class="code" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a">00912</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a" title="fast access function y0 will be copied into Y.Ch.">_setY</a> ( <span class="keyword">const</span> vec &ch0 ) {copy_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>, ch0._data(), <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>()._data() );}644 <a name="l0091 4"></a><a class="code" href="classbdm_1_1eWishartCh.html#1708cacb5d8cb1b96395d35f5327cb7e">00914</a> <span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>& <a class="code" href="classbdm_1_1eWishartCh.html#1708cacb5d8cb1b96395d35f5327cb7e" title="access function">getY</a>()<span class="keyword">const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>;}645 <a name="l00915"></a> 00915 };646 <a name="l00916"></a>00916 647 <a name="l00917"></a>00917 <span class="keyword">class </span>eiWishartCh: <span class="keyword">public</span> epdf648 <a name="l00918"></a>00918 {649 <a name="l00919"></a>00919 <span class="keyword">protected</span>:650 <a name="l00920"></a>00920 eWishartCh W;651 <a name="l00921"></a>00921 <span class="keywordtype">int</span> p;652 <a name="l00922"></a>00922 <span class="keywordtype"> double</span> delta;653 <a name="l00923"></a>00923 <span class="keyword">public</span>:654 <a name="l00924"></a>00924 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &Y0, <span class="keyword">const</span> <span class="keywordtype">double</span> delta0) {655 <a name="l00925"></a>00925 delta = delta0;656 <a name="l00926"></a>00926 W.set_parameters ( inv ( Y0 ),delta0 );657 <a name="l00927"></a>00927 dim = W.dimension(); p=Y0.rows();658 <a name="l00928"></a>00928 }659 <a name="l00929"></a>00929 vec sample()<span class="keyword"> const </span>{mat iCh; iCh=inv ( W.sample_mat() ); <span class="keywordflow">return</span> vec ( iCh._data(),<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );}660 <a name="l00930"></a>00930 <span class="keywordtype">void</span> _setY ( <span class="keyword">const</span> vec &y0 )661 <a name="l00931"></a>00931 {662 <a name="l00932"></a>00932 mat Ch ( p,p );663 <a name="l00933"></a>00933 mat iCh ( p,p );664 <a name="l00934"></a>00934 copy_vector ( dim, y0._data(), Ch._data());665 <a name="l00935"></a>00935 666 <a name="l00936"></a>00936 iCh=inv ( Ch );667 <a name="l00937"></a>00937 W.setY ( iCh );668 <a name="l00938"></a>00938 }669 <a name="l00939"></a>00939 <span class="keyword">virtual</span> <span class="keywordtype">double</span> evallog ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{670 <a name="l00940"></a>00940 <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> X(p);671 <a name="l00941"></a>00941 < span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>& Y=W.getY();672 <a name="l00942"></a>00942 673 <a name="l00943"></a>00943 copy_vector(p*p,val._data(),X._Ch()._data());674 <a name="l00944"></a>00944 <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> iX(p);X.inv(iX);675 <a name="l00945"></a>00945 < span class="comment">// compute </span>676 <a name="l00946"></a>00946 <span class="comment">// \frac{ |\Psi|^{m/2}|X|^{-(m+p+1)/2}e^{-tr(\Psi X^{-1})/2} }{ 2^{mp/2}\Gamma_p(m/2)},</span>677 <a name="l00947"></a>00947 mat M=Y.<a class="code" href="classchmat.html#045addd685f8d978efda232d7dcb070e" title="Conversion to full matrix.">to_mat</a>()*iX.to_mat();678 <a name="l00948"></a>00948 679 <a name="l00949"></a>00949 <span class="keywordtype">double</span> log1 = 0.5*p*(2*Y.<a class="code" href="classchmat.html#b504ca818203b13e667cb3c503980382" title="Logarithm of a determinant.">logdet</a>())-0.5*(delta+p+1)*(2*X.logdet())-0.5*trace(M);680 <a name="l00950"></a>00950 <span class=" comment">//Fixme! Multivariate gamma omitted!! it is ok for sampling, but not otherwise!!</span>681 <a name="l00951"></a>00951 682 <a name="l00952"></a>00952 <span class="comment">/* if (0) {</span>683 <a name="l00953"></a>00953 <span class="comment"> mat XX=X.to_mat();</span>684 <a name="l00954"></a>00954 <span class="comment"> mat YY=Y.to_mat();</span>685 <a name="l00955"></a>00955 <span class="comment"> </span>686 <a name="l00956"></a>00956 <span class="comment"> double log2 = 0.5*p*log(det(YY))-0.5*(delta+p+1)*log(det(XX))-0.5*trace(YY*inv(XX));</span>687 <a name="l00957"></a>00957 <span class="comment"> cout << log1 << "," << log2 << endl;</span>688 <a name="l00958"></a>00958 <span class="comment"> }*/</span>689 <a name="l00959"></a>00959 <span class="keywordflow">return</span> log1;690 <a name="l00960"></a>00960 };691 <a name="l00961"></a>00961 692 <a name="l00962"></a>00962 };693 <a name="l00963"></a>00963 694 <a name="l00964"></a>00964 <span class="keyword">class </span>rwiWishartCh : <span class="keyword">public</span> mpdf695 <a name="l00965"></a>00965 {696 <a name="l00966"></a>00966 <span class="keyword">protected</span>:697 <a name="l00967"></a>00967 eiWishartCh eiW;698 <a name="l0096 9"></a>00969 <span class="keywordtype">double</span> sqd;699 <a name="l00970"></a>00970 <span class=" comment">//reference point for diagonal</span>700 <a name="l00971"></a>00971 vec refl;701 <a name="l00972"></a>00972 <span class="keywordtype">double</span>l;702 <a name="l00973"></a>00973 <span class="keywordtype"> int</span> p;703 <a name="l00974"></a>00974 <span class="keyword">public</span>:704 <a name="l00975"></a>00975 <span class="keywordtype">void</span> set_parameters ( <span class="keywordtype">int</span> p0, <span class="keywordtype">double</span> k, vec ref0, <span class="keywordtype">double</span> l0 )705 <a name="l00976"></a>00976 {706 <a name="l00977"></a>00977 p=p0;707 <a name="l00978"></a>00978 <span class="keywordtype">double</span> delta = 2/(k*k)+p+3;708 <a name="l00979"></a>00979 sqd=sqrt ( delta-p-1 );709 <a name="l00980"></a>00980 l=l0;710 <a name="l00981"></a>00981 refl=pow(ref0,1-l);711 <a name="l00982"></a>00982 712 <a name="l00983"></a>00983 eiW.set_parameters ( eye ( p ),delta );713 <a name="l00984"></a>00984 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&eiW;714 <a name="l00985"></a>00985 <a class="code" href="classbdm_1_1mpdf.html# 7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=eiW.dimension();715 <a name="l00986"></a>00986 }716 <a name="l00987"></a>00987 <span class="keywordtype">void</span> condition ( <span class="keyword">const</span> vec &c ) {717 <a name="l00988"></a>00988 vec z=c;718 <a name="l00989"></a>00989 <span class="keywordtype">int</span> ri=0;719 <a name="l00990"></a>00990 <span class="keyword flow">for</span>(<span class="keywordtype">int</span> i=0;i<p*p;i+=(p+1)){<span class="comment">//trace diagonal element</span>720 <a name="l00991"></a>00991 z(i) = pow(z(i),l)*refl(ri);721 <a name="l00992"></a>00992 ri++;722 <a name="l00993"></a>00993 }723 <a name="l00994"></a>00994 724 <a name="l00995"></a>00995 eiW._setY ( sqd*z );725 <a name="l00996"></a>00996 }726 <a name="l00997"></a>00997 };727 <a name="l00998"></a>00998 728 <a name="l0 1000"></a>01000 <span class="keyword">enum</span> RESAMPLING_METHOD { MULTINOMIAL = 0, STRATIFIED = 1, SYSTEMATIC = 3 };729 <a name="l0100 6"></a><a class="code" href="classbdm_1_1eEmp.html">01006</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>730 <a name="l01007"></a> 01007 {731 <a name="l01008"></a>01008 <span class="keyword">protected</span> :732 <a name="l010 10"></a><a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">01010</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;733 <a name="l0101 2"></a><a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d">01012</a> vec <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>;734 <a name="l0101 4"></a><a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3">01014</a> Array<vec> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>;735 <a name="l01015"></a> 01015 <span class="keyword">public</span>:736 <a name="l0101 8"></a>01018 <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> ( ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( ),<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( ) {};737 <a name="l01019"></a>01019 <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> &e ) : <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( e ), <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( e.<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ), <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( e.<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>) {};738 <a name="l01021"></a> 01021739 <a name="l01023"></a>01023 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#7cfd383180b486fe4526bdf0179350c0" title="Set samples and weights.">set_statistics</a> ( <span class="keyword">const</span> vec &w0, <span class="keyword">const</span> epdf* pdf0 );740 <a name="l01025"></a> <a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7">01025</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7" title="Set samples and weights.">set_statistics</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 , <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a> ) {<a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7" title="Set samples and weights.">set_statistics</a> ( ones ( n ) /n,pdf0 );};741 <a name="l01027"></a> 01027 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#b62d802b8ef39f7c4dcbeb366c90951a" title="Set sample.">set_samples</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 );742 <a name="l01029"></a> <a class="code" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1">01029</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters</a> ( <span class="keywordtype">int</span> n0, <span class="keywordtype">bool</span> copy=<span class="keyword">true</span> ) {<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>=n0; <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>.set_size ( n0,copy );<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>.set_size ( n0,copy );};743 <a name="l01031"></a><a class="code" href="classbdm_1_1eEmp.html# d7f83cc0415cd44ae7cc8b4bdad93aef">01031</a> vec& <a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>;};744 <a name="l01033"></a><a class="code" href="classbdm_1_1eEmp.html# b7d7106f486e3fad38590914a693d714">01033</a> <span class="keyword">const</span> vec& <a class="code" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714" title="Potentially dangerous, use with care.">_w</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>;};745 <a name="l01035"></a><a class="code" href="classbdm_1_1eEmp.html# c24966b0aaeb767bc8a6b4fd60931be2">01035</a> Array<vec>& <a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>;};746 <a name="l01037"></a><a class="code" href="classbdm_1_1eEmp.html# b59af0efdb009d98ea8ebfa965e74ae2">01037</a> <span class="keyword">const</span> Array<vec>& <a class="code" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2" title="access function">_samples</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>;};747 <a name="l01039"></a> 01039 ivec <a class="code" href="classbdm_1_1eEmp.html#f06ce255de5dbb2313f52ee51f82ba3d" title="Function performs resampling, i.e. removal of low-weight samples and duplication...">resample</a> ( RESAMPLING_METHOD method=SYSTEMATIC );748 <a name="l01041"></a> <a class="code" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">01041</a> vec <a class="code" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270" title="inherited operation : NOT implemneted">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0;}749 <a name="l01043"></a><a class="code" href="classbdm_1_1eEmp.html# 01654c014d3aa068f8d4ecba4be86d09">01043</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09" title="inherited operation : NOT implemneted">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;}750 <a name="l0104 4"></a><a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9">01044</a> vec <a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9" title="return expected value">mean</a>()<span class="keyword"> const</span>751 <a name="l0104 5"></a>01045 <span class="keyword"> </span>{752 <a name="l0104 6"></a>01046 vec pom=zeros ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );753 <a name="l0104 7"></a>01047 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ ) {pom+=<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) *<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( i );}754 <a name="l0104 8"></a>01048 <span class="keywordflow">return</span> pom;755 <a name="l010 49"></a>01049 }756 <a name="l0105 0"></a><a class="code" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87">01050</a> vec <a class="code" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const</span>757 <a name="l0105 1"></a>01051 <span class="keyword"> </span>{758 <a name="l0105 2"></a>01052 vec pom=zeros ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );759 <a name="l0105 3"></a>01053 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ ) {pom+=pow ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ),2 ) *<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( i );}760 <a name="l0105 4"></a>01054 <span class="keywordflow">return</span> pom-pow ( <a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9" title="return expected value">mean</a>(),2 );761 <a name="l0105 5"></a>01055 }762 <a name="l01057"></a> <a class="code" href="classbdm_1_1eEmp.html#b1c9df656144edf79ba2d885613f661f">01057</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#b1c9df656144edf79ba2d885613f661f" title="For this class, qbounds are minimum and maximum value of the population!">qbounds</a> ( vec &lb, vec &ub, <span class="keywordtype">double</span> perc=0.95 )<span class="keyword"> const</span>763 <a name="l0105 8"></a>01058 <span class="keyword"> </span>{764 <a name="l010 59"></a>01059 <span class="comment">// lb in inf so than it will be pushed below;</span>765 <a name="l0106 0"></a>01060 lb.set_size ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );766 <a name="l0106 1"></a>01061 ub.set_size ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );767 <a name="l0106 2"></a>01062 lb = std::numeric_limits<double>::infinity();768 <a name="l0106 3"></a>01063 ub = -std::numeric_limits<double>::infinity();769 <a name="l0106 4"></a>01064 <span class="keywordtype">int</span> j;770 <a name="l0106 5"></a>01065 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ )771 <a name="l0106 6"></a>01066 {772 <a name="l0106 7"></a>01067 <span class="keywordflow">for</span> ( j=0;j<<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>; j++ )773 <a name="l0106 8"></a>01068 {774 <a name="l010 69"></a>01069 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j ) <lb ( j ) ) {lb ( j ) =<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j );}775 <a name="l0107 0"></a>01070 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j ) >ub ( j ) ) {ub ( j ) =<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j );}776 <a name="l0107 1"></a>01071}777 <a name="l0107 2"></a>01072}778 <a name="l0107 3"></a>01073}779 <a name="l0107 4"></a>01074 };780 <a name="l0107 5"></a>01075781 <a name="l0107 6"></a>01076569 <a name="l00788"></a>00788 570 <a name="l00789"></a>00789 UIREGISTER(migamma_ref); 571 <a name="l00790"></a>00790 572 <a name="l00800"></a><a class="code" href="classbdm_1_1elognorm.html">00800</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1elognorm.html">elognorm</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm</a><ldmat> 573 <a name="l00801"></a>00801 { 574 <a name="l00802"></a>00802 <span class="keyword">public</span>: 575 <a name="l00803"></a><a class="code" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba">00803</a> vec <a class="code" href="classbdm_1_1elognorm.html#8b948e2bce1253765a2542199913aaba" title="Returns a sample, from density .">sample</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> exp ( <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<ldmat>::sample</a>() );}; 576 <a name="l00804"></a><a class="code" href="classbdm_1_1elognorm.html#adb41e4f4d6600dec6f8c1dbc5ed9eea">00804</a> vec <a class="code" href="classbdm_1_1elognorm.html#adb41e4f4d6600dec6f8c1dbc5ed9eea" title="return expected value">mean</a>()<span class="keyword"> const </span>{vec var=<a class="code" href="classbdm_1_1enorm.html#729c75ef0fa8abae03d58ad1f81e6773" title="return expected variance (not covariance!)">enorm<ldmat>::variance</a>();<span class="keywordflow">return</span> exp ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> - 0.5*var );}; 577 <a name="l00805"></a>00805 578 <a name="l00806"></a>00806 }; 579 <a name="l00807"></a>00807 580 <a name="l00819"></a><a class="code" href="classbdm_1_1mlognorm.html">00819</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1mlognorm.html" title="Log-Normal random walk.">mlognorm</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> 581 <a name="l00820"></a>00820 { 582 <a name="l00821"></a>00821 <span class="keyword">protected</span>: 583 <a name="l00822"></a>00822 <a class="code" href="classbdm_1_1elognorm.html">elognorm</a> eno; 584 <a name="l00824"></a><a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a">00824</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>; 585 <a name="l00826"></a><a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2">00826</a> vec &<a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a>; 586 <a name="l00827"></a>00827 <span class="keyword">public</span>: 587 <a name="l00829"></a><a class="code" href="classbdm_1_1mlognorm.html#a5d6eb2688d02e0348b96c4fbd7bde41">00829</a> <a class="code" href="classbdm_1_1mlognorm.html#a5d6eb2688d02e0348b96c4fbd7bde41" title="Constructor.">mlognorm</a> ( ) : eno (), <a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a> ( eno._mu() ) {<a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&eno;}; 588 <a name="l00831"></a><a class="code" href="classbdm_1_1mlognorm.html#604cab0e8a76f9041dc3c606043bb39f">00831</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#604cab0e8a76f9041dc3c606043bb39f" title="Set value of k.">set_parameters</a> ( <span class="keywordtype">int</span> size, <span class="keywordtype">double</span> k ) 589 <a name="l00832"></a>00832 { 590 <a name="l00833"></a>00833 <a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a> = 0.5*log ( k*k+1 ); 591 <a name="l00834"></a>00834 eno.<a class="code" href="classbdm_1_1enorm.html#b8322f2c11560871dd922c660f4771bb">set_parameters</a> ( zeros ( size ),2*<a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>*eye ( size ) ); 592 <a name="l00835"></a>00835 593 <a name="l00836"></a>00836 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a> = size; 594 <a name="l00837"></a>00837 }; 595 <a name="l00838"></a>00838 596 <a name="l00839"></a><a class="code" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e">00839</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#9106d8fd8bdf2b6be675ffd8f3ca584e" title="Update ep so that it represents this mpdf conditioned on rvc = cond.">condition</a> ( <span class="keyword">const</span> vec &val ) 597 <a name="l00840"></a>00840 { 598 <a name="l00841"></a>00841 <a class="code" href="classbdm_1_1mlognorm.html#7d0063f77d899ef22e8c5edd642176d2" title="access">mu</a>=log ( val )-<a class="code" href="classbdm_1_1mlognorm.html#a51128a2e503b8b2ce698244b9e0db1a" title="parameter 1/2*sigma^2">sig2</a>;<span class="comment">//elem_mult ( refl,pow ( val,l ) );</span> 599 <a name="l00842"></a>00842 }; 600 <a name="l00843"></a>00843 601 <a name="l00862"></a>00862 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlognorm.html#3a130457942be64ee9544e8dff00d09b">from_setting</a>( <span class="keyword">const</span> Setting &root ); 602 <a name="l00863"></a>00863 603 <a name="l00864"></a>00864 <span class="comment">// TODO dodelat void to_setting( Setting &root ) const;</span> 604 <a name="l00865"></a>00865 605 <a name="l00866"></a>00866 }; 606 <a name="l00867"></a>00867 607 <a name="l00868"></a>00868 UIREGISTER(mlognorm); 608 <a name="l00869"></a>00869 609 <a name="l00873"></a><a class="code" href="classbdm_1_1eWishartCh.html">00873</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eWishartCh.html">eWishartCh</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> 610 <a name="l00874"></a>00874 { 611 <a name="l00875"></a>00875 <span class="keyword">protected</span>: 612 <a name="l00877"></a><a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490">00877</a> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>; 613 <a name="l00879"></a><a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f">00879</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>; 614 <a name="l00881"></a><a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3">00881</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>; 615 <a name="l00882"></a>00882 <span class="keyword">public</span>: 616 <a name="l00883"></a>00883 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &Y0, <span class="keyword">const</span> <span class="keywordtype">double</span> delta0 ) {<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>=<a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> ( Y0 );<a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>=delta0; <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>=<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classsqmat.html#071e80ced9cc3b8cbb360fa7462eb646" title="Reimplementing common functions of mat: cols().">rows</a>(); <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>*<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>; } 617 <a name="l00884"></a>00884 mat sample_mat()<span class="keyword"> const</span> 618 <a name="l00885"></a>00885 <span class="keyword"> </span>{ 619 <a name="l00886"></a>00886 mat X=zeros ( <a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>,<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a> ); 620 <a name="l00887"></a>00887 621 <a name="l00888"></a>00888 <span class="comment">//sample diagonal</span> 622 <a name="l00889"></a>00889 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eWishartCh.html#b745c73faef785009484180582050a1f" title="dimension of matrix ">p</a>;i++ ) 623 <a name="l00890"></a>00890 { 624 <a name="l00891"></a>00891 GamRNG.setup ( 0.5* ( <a class="code" href="classbdm_1_1eWishartCh.html#1879a14d7d2bb05062523b189baa11c3" title="degrees of freedom ">delta</a>-i ) , 0.5 ); <span class="comment">// no +1 !! index if from 0</span> 625 <a name="l00892"></a>00892 <span class="preprocessor">#pragma omp critical</span> 626 <a name="l00893"></a>00893 <span class="preprocessor"></span> X ( i,i ) =sqrt ( GamRNG() ); 627 <a name="l00894"></a>00894 } 628 <a name="l00895"></a>00895 <span class="comment">//do the rest</span> 629 <a name="l00896"></a>00896 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<p;i++ ) 630 <a name="l00897"></a>00897 { 631 <a name="l00898"></a>00898 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> j=i+1;j<p;j++ ) 632 <a name="l00899"></a>00899 { 633 <a name="l00900"></a>00900 <span class="preprocessor">#pragma omp critical</span> 634 <a name="l00901"></a>00901 <span class="preprocessor"></span> X ( i,j ) =NorRNG.sample(); 635 <a name="l00902"></a>00902 } 636 <a name="l00903"></a>00903 } 637 <a name="l00904"></a>00904 <span class="keywordflow">return</span> X*<a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>();<span class="comment">// return upper triangular part of the decomposition</span> 638 <a name="l00905"></a>00905 } 639 <a name="l00906"></a><a class="code" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a">00906</a> vec <a class="code" href="classbdm_1_1eWishartCh.html#8f2154b8b5be8f4c5788f261b6d57b9a" title="Returns a sample, from density .">sample</a> ()<span class="keyword"> const</span> 640 <a name="l00907"></a>00907 <span class="keyword"> </span>{ 641 <a name="l00908"></a>00908 <span class="keywordflow">return</span> vec ( sample_mat()._data(),p*p ); 642 <a name="l00909"></a>00909 } 643 <a name="l00911"></a><a class="code" href="classbdm_1_1eWishartCh.html#4eee757c0535c2a88bb20f0767c64981">00911</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eWishartCh.html#4eee757c0535c2a88bb20f0767c64981" title="fast access function y0 will be copied into Y.Ch.">setY</a> ( <span class="keyword">const</span> mat &Ch0 ) {copy_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,Ch0._data(), <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>()._data() );} 644 <a name="l00913"></a><a class="code" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a">00913</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eWishartCh.html#7eac414ec10b85aa5536b0092c57bc4a" title="fast access function y0 will be copied into Y.Ch.">_setY</a> ( <span class="keyword">const</span> vec &ch0 ) {copy_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>, ch0._data(), <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>.<a class="code" href="classchmat.html#9c50d31c999d85d8e9d8cf2b69b6ac8c" title="Access function.">_Ch</a>()._data() ); } 645 <a name="l00915"></a><a class="code" href="classbdm_1_1eWishartCh.html#1708cacb5d8cb1b96395d35f5327cb7e">00915</a> <span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>& <a class="code" href="classbdm_1_1eWishartCh.html#1708cacb5d8cb1b96395d35f5327cb7e" title="access function">getY</a>()<span class="keyword">const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eWishartCh.html#1b42f9284a32f23b0b253a628cda7490" title="Upper-Triagle of Choleski decomposition of .">Y</a>;} 646 <a name="l00916"></a>00916 }; 647 <a name="l00917"></a>00917 648 <a name="l00918"></a>00918 <span class="keyword">class </span>eiWishartCh: <span class="keyword">public</span> epdf 649 <a name="l00919"></a>00919 { 650 <a name="l00920"></a>00920 <span class="keyword">protected</span>: 651 <a name="l00921"></a>00921 eWishartCh W; 652 <a name="l00922"></a>00922 <span class="keywordtype">int</span> p; 653 <a name="l00923"></a>00923 <span class="keywordtype">double</span> delta; 654 <a name="l00924"></a>00924 <span class="keyword">public</span>: 655 <a name="l00925"></a>00925 <span class="keywordtype">void</span> set_parameters ( <span class="keyword">const</span> mat &Y0, <span class="keyword">const</span> <span class="keywordtype">double</span> delta0) { 656 <a name="l00926"></a>00926 delta = delta0; 657 <a name="l00927"></a>00927 W.set_parameters ( inv ( Y0 ),delta0 ); 658 <a name="l00928"></a>00928 dim = W.dimension(); p=Y0.rows(); 659 <a name="l00929"></a>00929 } 660 <a name="l00930"></a>00930 vec sample()<span class="keyword"> const </span>{mat iCh; iCh=inv ( W.sample_mat() ); <span class="keywordflow">return</span> vec ( iCh._data(),<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> );} 661 <a name="l00931"></a>00931 <span class="keywordtype">void</span> _setY ( <span class="keyword">const</span> vec &y0 ) 662 <a name="l00932"></a>00932 { 663 <a name="l00933"></a>00933 mat Ch ( p,p ); 664 <a name="l00934"></a>00934 mat iCh ( p,p ); 665 <a name="l00935"></a>00935 copy_vector ( dim, y0._data(), Ch._data() ); 666 <a name="l00936"></a>00936 667 <a name="l00937"></a>00937 iCh=inv ( Ch ); 668 <a name="l00938"></a>00938 W.setY ( iCh ); 669 <a name="l00939"></a>00939 } 670 <a name="l00940"></a>00940 <span class="keyword">virtual</span> <span class="keywordtype">double</span> evallog ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{ 671 <a name="l00941"></a>00941 <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> X(p); 672 <a name="l00942"></a>00942 <span class="keyword">const</span> <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a>& Y=W.getY(); 673 <a name="l00943"></a>00943 674 <a name="l00944"></a>00944 copy_vector(p*p,val._data(),X._Ch()._data()); 675 <a name="l00945"></a>00945 <a class="code" href="classchmat.html" title="Symmetric matrix stored in square root decomposition using upper cholesky.">chmat</a> iX(p);X.inv(iX); 676 <a name="l00946"></a>00946 <span class="comment">// compute </span> 677 <a name="l00947"></a>00947 <span class="comment">// \frac{ |\Psi|^{m/2}|X|^{-(m+p+1)/2}e^{-tr(\Psi X^{-1})/2} }{ 2^{mp/2}\Gamma_p(m/2)},</span> 678 <a name="l00948"></a>00948 mat M=Y.<a class="code" href="classchmat.html#045addd685f8d978efda232d7dcb070e" title="Conversion to full matrix.">to_mat</a>()*iX.to_mat(); 679 <a name="l00949"></a>00949 680 <a name="l00950"></a>00950 <span class="keywordtype">double</span> log1 = 0.5*p*(2*Y.<a class="code" href="classchmat.html#b504ca818203b13e667cb3c503980382" title="Logarithm of a determinant.">logdet</a>())-0.5*(delta+p+1)*(2*X.logdet())-0.5*trace(M); 681 <a name="l00951"></a>00951 <span class="comment">//Fixme! Multivariate gamma omitted!! it is ok for sampling, but not otherwise!!</span> 682 <a name="l00952"></a>00952 683 <a name="l00953"></a>00953 <span class="comment">/* if (0) {</span> 684 <a name="l00954"></a>00954 <span class="comment"> mat XX=X.to_mat();</span> 685 <a name="l00955"></a>00955 <span class="comment"> mat YY=Y.to_mat();</span> 686 <a name="l00956"></a>00956 <span class="comment"> </span> 687 <a name="l00957"></a>00957 <span class="comment"> double log2 = 0.5*p*log(det(YY))-0.5*(delta+p+1)*log(det(XX))-0.5*trace(YY*inv(XX)); </span> 688 <a name="l00958"></a>00958 <span class="comment"> cout << log1 << "," << log2 << endl;</span> 689 <a name="l00959"></a>00959 <span class="comment"> }*/</span> 690 <a name="l00960"></a>00960 <span class="keywordflow">return</span> log1; 691 <a name="l00961"></a>00961 }; 692 <a name="l00962"></a>00962 693 <a name="l00963"></a>00963 }; 694 <a name="l00964"></a>00964 695 <a name="l00965"></a>00965 <span class="keyword">class </span>rwiWishartCh : <span class="keyword">public</span> mpdf 696 <a name="l00966"></a>00966 { 697 <a name="l00967"></a>00967 <span class="keyword">protected</span>: 698 <a name="l00968"></a>00968 eiWishartCh eiW; 699 <a name="l00970"></a>00970 <span class="keywordtype">double</span> sqd; 700 <a name="l00971"></a>00971 <span class="comment">//reference point for diagonal</span> 701 <a name="l00972"></a>00972 vec refl; 702 <a name="l00973"></a>00973 <span class="keywordtype">double</span> l; 703 <a name="l00974"></a>00974 <span class="keywordtype">int</span> p; 704 <a name="l00975"></a>00975 <span class="keyword">public</span>: 705 <a name="l00976"></a>00976 <span class="keywordtype">void</span> set_parameters ( <span class="keywordtype">int</span> p0, <span class="keywordtype">double</span> k, vec ref0, <span class="keywordtype">double</span> l0 ) 706 <a name="l00977"></a>00977 { 707 <a name="l00978"></a>00978 p=p0; 708 <a name="l00979"></a>00979 <span class="keywordtype">double</span> delta = 2/(k*k)+p+3; 709 <a name="l00980"></a>00980 sqd=sqrt ( delta-p-1 ); 710 <a name="l00981"></a>00981 l=l0; 711 <a name="l00982"></a>00982 refl=pow(ref0,1-l); 712 <a name="l00983"></a>00983 713 <a name="l00984"></a>00984 eiW.set_parameters ( eye ( p ),delta ); 714 <a name="l00985"></a>00985 <a class="code" href="classbdm_1_1mpdf.html#5eea43c56d38e4441bfb30270db949c0" title="pointer to internal epdf">ep</a>=&eiW; 715 <a name="l00986"></a>00986 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=eiW.dimension(); 716 <a name="l00987"></a>00987 } 717 <a name="l00988"></a>00988 <span class="keywordtype">void</span> condition ( <span class="keyword">const</span> vec &c ) { 718 <a name="l00989"></a>00989 vec z=c; 719 <a name="l00990"></a>00990 <span class="keywordtype">int</span> ri=0; 720 <a name="l00991"></a>00991 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0;i<p*p;i+=(p+1)){<span class="comment">//trace diagonal element</span> 721 <a name="l00992"></a>00992 z(i) = pow(z(i),l)*refl(ri); 722 <a name="l00993"></a>00993 ri++; 723 <a name="l00994"></a>00994 } 724 <a name="l00995"></a>00995 725 <a name="l00996"></a>00996 eiW._setY ( sqd*z ); 726 <a name="l00997"></a>00997 } 727 <a name="l00998"></a>00998 }; 728 <a name="l00999"></a>00999 729 <a name="l01001"></a>01001 <span class="keyword">enum</span> RESAMPLING_METHOD { MULTINOMIAL = 0, STRATIFIED = 1, SYSTEMATIC = 3 }; 730 <a name="l01007"></a><a class="code" href="classbdm_1_1eEmp.html">01007</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a>: <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> 731 <a name="l01008"></a>01008 { 732 <a name="l01009"></a>01009 <span class="keyword">protected</span> : 733 <a name="l01011"></a><a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031">01011</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>; 734 <a name="l01013"></a><a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d">01013</a> vec <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>; 735 <a name="l01015"></a><a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3">01015</a> Array<vec> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>; 736 <a name="l01016"></a>01016 <span class="keyword">public</span>: 737 <a name="l01019"></a>01019 <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> ( ) :<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ),<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( ),<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( ) {}; 738 <a name="l01021"></a><a class="code" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076">01021</a> <a class="code" href="classbdm_1_1eEmp.html#a3daf6363455af099921715e1233c076" title="copy constructor">eEmp</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> &e ) : <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( e ), <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( e.<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ), <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( e.<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ) {}; 739 <a name="l01023"></a>01023 740 <a name="l01025"></a>01025 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#7cfd383180b486fe4526bdf0179350c0" title="Set samples and weights.">set_statistics</a> ( <span class="keyword">const</span> vec &w0, <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 ); 741 <a name="l01027"></a><a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7">01027</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7" title="Set samples and weights.">set_statistics</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 , <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a> ) {<a class="code" href="classbdm_1_1eEmp.html#cef74aa5f87d10d440b9b1e8bc78c1e7" title="Set samples and weights.">set_statistics</a> ( ones ( n ) /n,pdf0 );}; 742 <a name="l01029"></a>01029 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#b62d802b8ef39f7c4dcbeb366c90951a" title="Set sample.">set_samples</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* pdf0 ); 743 <a name="l01031"></a><a class="code" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1">01031</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters</a> ( <span class="keywordtype">int</span> n0, <span class="keywordtype">bool</span> copy=<span class="keyword">true</span> ) {<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>=n0; <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>.set_size ( n0,copy );<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>.set_size ( n0,copy );}; 744 <a name="l01033"></a><a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef">01033</a> vec& <a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>;}; 745 <a name="l01035"></a><a class="code" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714">01035</a> <span class="keyword">const</span> vec& <a class="code" href="classbdm_1_1eEmp.html#b7d7106f486e3fad38590914a693d714" title="Potentially dangerous, use with care.">_w</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a>;}; 746 <a name="l01037"></a><a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2">01037</a> Array<vec>& <a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>;}; 747 <a name="l01039"></a><a class="code" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2">01039</a> <span class="keyword">const</span> Array<vec>& <a class="code" href="classbdm_1_1eEmp.html#b59af0efdb009d98ea8ebfa965e74ae2" title="access function">_samples</a>()<span class="keyword"> const </span>{<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a>;}; 748 <a name="l01041"></a>01041 ivec <a class="code" href="classbdm_1_1eEmp.html#f06ce255de5dbb2313f52ee51f82ba3d" title="Function performs resampling, i.e. removal of low-weight samples and duplication...">resample</a> ( RESAMPLING_METHOD method=SYSTEMATIC ); 749 <a name="l01043"></a><a class="code" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270">01043</a> vec <a class="code" href="classbdm_1_1eEmp.html#97f1e07b5ae6eebc91c7365f0f88d270" title="inherited operation : NOT implemneted">sample</a>()<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0;} 750 <a name="l01045"></a><a class="code" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09">01045</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1eEmp.html#01654c014d3aa068f8d4ecba4be86d09" title="inherited operation : NOT implemneted">evallog</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const </span>{it_error ( <span class="stringliteral">"Not implemented"</span> );<span class="keywordflow">return</span> 0.0;} 751 <a name="l01046"></a><a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9">01046</a> vec <a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9" title="return expected value">mean</a>()<span class="keyword"> const</span> 752 <a name="l01047"></a>01047 <span class="keyword"> </span>{ 753 <a name="l01048"></a>01048 vec pom=zeros ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 754 <a name="l01049"></a>01049 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ ) {pom+=<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) *<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( i );} 755 <a name="l01050"></a>01050 <span class="keywordflow">return</span> pom; 756 <a name="l01051"></a>01051 } 757 <a name="l01052"></a><a class="code" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87">01052</a> vec <a class="code" href="classbdm_1_1eEmp.html#05e9ebf467ede737cb6a3621d7fd3c87" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const</span> 758 <a name="l01053"></a>01053 <span class="keyword"> </span>{ 759 <a name="l01054"></a>01054 vec pom=zeros ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 760 <a name="l01055"></a>01055 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ ) {pom+=pow ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ),2 ) *<a class="code" href="classbdm_1_1eEmp.html#9d39241aab7c4bbeb07c6d516421c67d" title="Sample weights .">w</a> ( i );} 761 <a name="l01056"></a>01056 <span class="keywordflow">return</span> pom-pow ( <a class="code" href="classbdm_1_1eEmp.html#bbfcb4f868c7381298c281a256d8c4b9" title="return expected value">mean</a>(),2 ); 762 <a name="l01057"></a>01057 } 763 <a name="l01059"></a><a class="code" href="classbdm_1_1eEmp.html#b1c9df656144edf79ba2d885613f661f">01059</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1eEmp.html#b1c9df656144edf79ba2d885613f661f" title="For this class, qbounds are minimum and maximum value of the population!">qbounds</a> ( vec &lb, vec &ub, <span class="keywordtype">double</span> perc=0.95 )<span class="keyword"> const</span> 764 <a name="l01060"></a>01060 <span class="keyword"> </span>{ 765 <a name="l01061"></a>01061 <span class="comment">// lb in inf so than it will be pushed below;</span> 766 <a name="l01062"></a>01062 lb.set_size ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 767 <a name="l01063"></a>01063 ub.set_size ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 768 <a name="l01064"></a>01064 lb = std::numeric_limits<double>::infinity(); 769 <a name="l01065"></a>01065 ub = -std::numeric_limits<double>::infinity(); 770 <a name="l01066"></a>01066 <span class="keywordtype">int</span> j; 771 <a name="l01067"></a>01067 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1eEmp.html#9798006271ca77629855113f1283a031" title="Number of particles.">n</a>;i++ ) 772 <a name="l01068"></a>01068 { 773 <a name="l01069"></a>01069 <span class="keywordflow">for</span> ( j=0;j<<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>; j++ ) 774 <a name="l01070"></a>01070 { 775 <a name="l01071"></a>01071 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j ) <lb ( j ) ) {lb ( j ) =<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j );} 776 <a name="l01072"></a>01072 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j ) >ub ( j ) ) {ub ( j ) =<a class="code" href="classbdm_1_1eEmp.html#73d819553a0f268b055a087d2d4486f3" title="Samples .">samples</a> ( i ) ( j );} 777 <a name="l01073"></a>01073 } 778 <a name="l01074"></a>01074 } 779 <a name="l01075"></a>01075 } 780 <a name="l01076"></a>01076 }; 781 <a name="l01077"></a>01077 782 782 <a name="l01078"></a>01078 783 <a name="l01079"></a>01079 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 784 <a name="l01080"></a>01080 <span class="keywordtype">void</span> enorm<sq_T>::set_parameters ( <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) 785 <a name="l01081"></a>01081 { 786 <a name="l01082"></a>01082 <span class="comment">//Fixme test dimensions of mu0 and R0;</span> 787 <a name="l01083"></a>01083 mu = mu0; 788 <a name="l01084"></a>01084 R = R0; 789 <a name="l01085"></a>01085 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = mu0.length(); 790 <a name="l01086"></a>01086 }; 791 <a name="l01087"></a>01087 792 <a name="l01088"></a>01088 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 793 <a name="l01089"></a><a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2">01089</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2" title="dupdate in exponential form (not really handy)">enorm<sq_T>::dupdate</a> ( mat &v, <span class="keywordtype">double</span> nu ) 794 <a name="l01090"></a>01090 { 795 <a name="l01091"></a>01091 <span class="comment">//</span> 796 <a name="l01092"></a>01092 }; 797 <a name="l01093"></a>01093 798 <a name="l01094"></a>01094 <span class="comment">// template<class sq_T></span> 799 <a name="l01095"></a>01095 <span class="comment">// void enorm<sq_T>::tupdate ( double phi, mat &vbar, double nubar ) {</span> 800 <a name="l01096"></a>01096 <span class="comment">// //</span> 801 <a name="l01097"></a>01097 <span class="comment">// };</span> 802 <a name="l01098"></a>01098 803 <a name="l01099"></a>01099 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 804 <a name="l01100"></a><a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">01100</a> vec <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">enorm<sq_T>::sample</a>()<span class="keyword"> const</span> 805 <a name="l01101"></a>01101 <span class="keyword"> </span>{ 806 <a name="l01102"></a>01102 vec x ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 807 <a name="l01103"></a>01103 <span class="preprocessor">#pragma omp critical</span> 808 <a name="l01104"></a>01104 <span class="preprocessor"></span> NorRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,x ); 809 <a name="l01105"></a>01105 vec smp = <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 810 <a name="l01106"></a>01106 811 <a name="l01107"></a>01107 smp += <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>; 812 <a name="l01108"></a>01108 <span class="keywordflow">return</span> smp; 813 <a name="l01109"></a>01109 }; 814 <a name="l01110"></a>01110 815 <a name="l01111"></a>01111 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 816 <a name="l01112"></a>01112 mat <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">enorm<sq_T>::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const</span> 817 <a name="l01113"></a>01113 <span class="keyword"> </span>{ 818 <a name="l01114"></a>01114 mat X ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,N ); 819 <a name="l01115"></a>01115 vec x ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 820 <a name="l01116"></a>01116 vec pom; 821 <a name="l01117"></a>01117 <span class="keywordtype">int</span> i; 822 <a name="l01118"></a>01118 823 <a name="l01119"></a>01119 <span class="keywordflow">for</span> ( i=0;i<N;i++ ) 824 <a name="l01120"></a>01120 { 825 <a name="l01121"></a>01121 <span class="preprocessor">#pragma omp critical</span> 826 <a name="l01122"></a>01122 <span class="preprocessor"></span> NorRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,x ); 827 <a name="l01123"></a>01123 pom = <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 828 <a name="l01124"></a>01124 pom +=<a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>; 829 <a name="l01125"></a>01125 X.set_col ( i, pom ); 830 <a name="l01126"></a>01126 } 831 <a name="l01127"></a>01127 832 <a name="l01128"></a>01128 <span class="keywordflow">return</span> X; 833 <a name="l01129"></a>01129 }; 834 <a name="l01130"></a>01130 835 <a name="l01131"></a>01131 <span class="comment">// template<class sq_T></span> 836 <a name="l01132"></a>01132 <span class="comment">// double enorm<sq_T>::eval ( const vec &val ) const {</span> 837 <a name="l01133"></a>01133 <span class="comment">// double pdfl,e;</span> 838 <a name="l01134"></a>01134 <span class="comment">// pdfl = evallog ( val );</span> 839 <a name="l01135"></a>01135 <span class="comment">// e = exp ( pdfl );</span> 840 <a name="l01136"></a>01136 <span class="comment">// return e;</span> 841 <a name="l01137"></a>01137 <span class="comment">// };</span> 842 <a name="l01138"></a>01138 843 <a name="l01139"></a>01139 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 844 <a name="l01140"></a><a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">01140</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3" title="Evaluate normalized log-probability.">enorm<sq_T>::evallog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const</span> 845 <a name="l01141"></a>01141 <span class="keyword"> </span>{ 846 <a name="l01142"></a>01142 <span class="comment">// 1.83787706640935 = log(2pi)</span> 847 <a name="l01143"></a>01143 <span class="keywordtype">double</span> tmp=-0.5* ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.invqform ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>-val ) );<span class="comment">// - lognc();</span> 848 <a name="l01144"></a>01144 <span class="keywordflow">return</span> tmp; 849 <a name="l01145"></a>01145 }; 850 <a name="l01146"></a>01146 851 <a name="l01147"></a>01147 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 852 <a name="l01148"></a><a class="code" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">01148</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32" title="logarithm of the normalizing constant, ">enorm<sq_T>::lognc</a> ()<span class="keyword"> const</span> 853 <a name="l01149"></a>01149 <span class="keyword"> </span>{ 854 <a name="l01150"></a>01150 <span class="comment">// 1.83787706640935 = log(2pi)</span> 855 <a name="l01151"></a>01151 <span class="keywordtype">double</span> tmp=0.5* ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.cols() * 1.83787706640935 +<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.logdet() ); 856 <a name="l01152"></a>01152 <span class="keywordflow">return</span> tmp; 857 <a name="l01153"></a>01153 }; 858 <a name="l01154"></a>01154 859 <a name="l01155"></a>01155 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 860 <a name="l01156"></a><a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f">01156</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">mlnorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) 861 <a name="l01157"></a>01157 { 862 <a name="l01158"></a>01158 it_assert_debug ( A0.rows() ==mu0.length(),<span class="stringliteral">""</span> ); 863 <a name="l01159"></a>01159 it_assert_debug ( A0.rows() ==R0.rows(),<span class="stringliteral">""</span> ); 864 <a name="l01160"></a>01160 865 <a name="l01161"></a>01161 <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( A0.rows() ),R0 ); 866 <a name="l01162"></a>01162 A = A0; 867 <a name="l01163"></a>01163 mu_const = mu0; 868 <a name="l01164"></a>01164 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=A0.cols(); 869 <a name="l01165"></a>01165 } 870 <a name="l01166"></a>01166 871 <a name="l01167"></a>01167 <span class="comment">// template<class sq_T></span> 872 <a name="l01168"></a>01168 <span class="comment">// vec mlnorm<sq_T>::samplecond (const vec &cond, double &lik ) {</span> 873 <a name="l01169"></a>01169 <span class="comment">// this->condition ( cond );</span> 874 <a name="l01170"></a>01170 <span class="comment">// vec smp = epdf.sample();</span> 875 <a name="l01171"></a>01171 <span class="comment">// lik = epdf.eval ( smp );</span> 876 <a name="l01172"></a>01172 <span class="comment">// return smp;</span> 877 <a name="l01173"></a>01173 <span class="comment">// }</span> 878 <a name="l01174"></a>01174 879 <a name="l01175"></a>01175 <span class="comment">// template<class sq_T></span> 880 <a name="l01176"></a>01176 <span class="comment">// mat mlnorm<sq_T>::samplecond (const vec &cond, vec &lik, int n ) {</span> 881 <a name="l01177"></a>01177 <span class="comment">// int i;</span> 882 <a name="l01178"></a>01178 <span class="comment">// int dim = rv.count();</span> 883 <a name="l01179"></a>01179 <span class="comment">// mat Smp ( dim,n );</span> 884 <a name="l01180"></a>01180 <span class="comment">// vec smp ( dim );</span> 885 <a name="l01181"></a>01181 <span class="comment">// this->condition ( cond );</span> 886 <a name="l01182"></a>01182 <span class="comment">//</span> 887 <a name="l01183"></a>01183 <span class="comment">// for ( i=0; i<n; i++ ) {</span> 888 <a name="l01184"></a>01184 <span class="comment">// smp = epdf.sample();</span> 889 <a name="l01185"></a>01185 <span class="comment">// lik ( i ) = epdf.eval ( smp );</span> 890 <a name="l01186"></a>01186 <span class="comment">// Smp.set_col ( i ,smp );</span> 891 <a name="l01187"></a>01187 <span class="comment">// }</span> 892 <a name="l01188"></a>01188 <span class="comment">//</span> 893 <a name="l01189"></a>01189 <span class="comment">// return Smp;</span> 894 <a name="l01190"></a>01190 <span class="comment">// }</span> 895 <a name="l01191"></a>01191 896 <a name="l01192"></a>01192 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 897 <a name="l01193"></a><a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">01193</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">mlnorm<sq_T>::condition</a> ( <span class="keyword">const</span> vec &cond ) 898 <a name="l01194"></a>01194 { 899 <a name="l01195"></a>01195 _mu = A*cond + mu_const; 900 <a name="l01196"></a>01196 <span class="comment">//R is already assigned;</span> 901 <a name="l01197"></a>01197 } 902 <a name="l01198"></a>01198 903 <a name="l01199"></a>01199 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 904 <a name="l01200"></a><a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80">01200</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* <a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80" title="Return marginal density on the given RV, the remainig rvs are intergrated out.">enorm<sq_T>::marginal</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn )<span class="keyword"> const</span> 905 <a name="l01201"></a>01201 <span class="keyword"> </span>{ 906 <a name="l01202"></a>01202 it_assert_debug ( <a class="code" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9" title="True if rv is assigned.">isnamed</a>(), <span class="stringliteral">"rv description is not assigned"</span> ); 907 <a name="l01203"></a>01203 ivec irvn = rvn.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 908 <a name="l01204"></a>01204 909 <a name="l01205"></a>01205 sq_T Rn ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>,irvn ); <span class="comment">//select rows and columns of R</span> 783 <a name="l01080"></a>01080 784 <a name="l01081"></a>01081 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 785 <a name="l01082"></a>01082 <span class="keywordtype">void</span> enorm<sq_T>::set_parameters ( <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) 786 <a name="l01083"></a>01083 { 787 <a name="l01084"></a>01084 <span class="comment">//Fixme test dimensions of mu0 and R0;</span> 788 <a name="l01085"></a>01085 mu = mu0; 789 <a name="l01086"></a>01086 R = R0; 790 <a name="l01087"></a>01087 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = mu0.length(); 791 <a name="l01088"></a>01088 }; 792 <a name="l01089"></a>01089 793 <a name="l01090"></a>01090 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 794 <a name="l01091"></a><a class="code" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">01091</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6" title="This method arrange instance properties according the data stored in the Setting...">enorm<sq_T>::from_setting</a>(<span class="keyword">const</span> Setting &root){ 795 <a name="l01092"></a>01092 vec <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>; 796 <a name="l01093"></a>01093 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>(mu,root,<span class="stringliteral">"mu"</span>); 797 <a name="l01094"></a>01094 mat <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>; 798 <a name="l01095"></a>01095 <a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2" title="This methods tries to build a new double matrix.">UI::get</a>(R,root,<span class="stringliteral">"R"</span>); 799 <a name="l01096"></a>01096 set_parameters(mu,R); 800 <a name="l01097"></a>01097 801 <a name="l01098"></a>01098 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>* r = UI::build<RV>(root,<span class="stringliteral">"rv"</span>); 802 <a name="l01099"></a>01099 <a class="code" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv</a>(*r); 803 <a name="l01100"></a>01100 <span class="keyword">delete</span> r; 804 <a name="l01101"></a>01101 } 805 <a name="l01102"></a>01102 806 <a name="l01103"></a>01103 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 807 <a name="l01104"></a><a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2">01104</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1enorm.html#d2e0d3a1e30ab3ab04df2d0c43ae74a2" title="dupdate in exponential form (not really handy)">enorm<sq_T>::dupdate</a> ( mat &v, <span class="keywordtype">double</span> nu ) 808 <a name="l01105"></a>01105 { 809 <a name="l01106"></a>01106 <span class="comment">//</span> 810 <a name="l01107"></a>01107 }; 811 <a name="l01108"></a>01108 812 <a name="l01109"></a>01109 <span class="comment">// template<class sq_T></span> 813 <a name="l01110"></a>01110 <span class="comment">// void enorm<sq_T>::tupdate ( double phi, mat &vbar, double nubar ) {</span> 814 <a name="l01111"></a>01111 <span class="comment">// //</span> 815 <a name="l01112"></a>01112 <span class="comment">// };</span> 816 <a name="l01113"></a>01113 817 <a name="l01114"></a>01114 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 818 <a name="l01115"></a><a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766">01115</a> vec <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">enorm<sq_T>::sample</a>()<span class="keyword"> const</span> 819 <a name="l01116"></a>01116 <span class="keyword"> </span>{ 820 <a name="l01117"></a>01117 vec x ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 821 <a name="l01118"></a>01118 <span class="preprocessor">#pragma omp critical</span> 822 <a name="l01119"></a>01119 <span class="preprocessor"></span> NorRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,x ); 823 <a name="l01120"></a>01120 vec smp = <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 824 <a name="l01121"></a>01121 825 <a name="l01122"></a>01122 smp += <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>; 826 <a name="l01123"></a>01123 <span class="keywordflow">return</span> smp; 827 <a name="l01124"></a>01124 }; 828 <a name="l01125"></a>01125 829 <a name="l01126"></a>01126 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 830 <a name="l01127"></a>01127 mat <a class="code" href="classbdm_1_1enorm.html#e1a48f52351ec3a349bd443b713b1766" title="Returns a sample, from density .">enorm<sq_T>::sample</a> ( <span class="keywordtype">int</span> N )<span class="keyword"> const</span> 831 <a name="l01128"></a>01128 <span class="keyword"> </span>{ 832 <a name="l01129"></a>01129 mat X ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,N ); 833 <a name="l01130"></a>01130 vec x ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> ); 834 <a name="l01131"></a>01131 vec pom; 835 <a name="l01132"></a>01132 <span class="keywordtype">int</span> i; 836 <a name="l01133"></a>01133 837 <a name="l01134"></a>01134 <span class="keywordflow">for</span> ( i=0;i<N;i++ ) 838 <a name="l01135"></a>01135 { 839 <a name="l01136"></a>01136 <span class="preprocessor">#pragma omp critical</span> 840 <a name="l01137"></a>01137 <span class="preprocessor"></span> NorRNG.sample_vector ( <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>,x ); 841 <a name="l01138"></a>01138 pom = <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.sqrt_mult ( x ); 842 <a name="l01139"></a>01139 pom +=<a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>; 843 <a name="l01140"></a>01140 X.set_col ( i, pom ); 844 <a name="l01141"></a>01141 } 845 <a name="l01142"></a>01142 846 <a name="l01143"></a>01143 <span class="keywordflow">return</span> X; 847 <a name="l01144"></a>01144 }; 848 <a name="l01145"></a>01145 849 <a name="l01146"></a>01146 <span class="comment">// template<class sq_T></span> 850 <a name="l01147"></a>01147 <span class="comment">// double enorm<sq_T>::eval ( const vec &val ) const {</span> 851 <a name="l01148"></a>01148 <span class="comment">// double pdfl,e;</span> 852 <a name="l01149"></a>01149 <span class="comment">// pdfl = evallog ( val );</span> 853 <a name="l01150"></a>01150 <span class="comment">// e = exp ( pdfl );</span> 854 <a name="l01151"></a>01151 <span class="comment">// return e;</span> 855 <a name="l01152"></a>01152 <span class="comment">// };</span> 856 <a name="l01153"></a>01153 857 <a name="l01154"></a>01154 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 858 <a name="l01155"></a><a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3">01155</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#e13aeed5b543b2179bacdc4fa2ae47a3" title="Evaluate normalized log-probability.">enorm<sq_T>::evallog_nn</a> ( <span class="keyword">const</span> vec &val )<span class="keyword"> const</span> 859 <a name="l01156"></a>01156 <span class="keyword"> </span>{ 860 <a name="l01157"></a>01157 <span class="comment">// 1.83787706640935 = log(2pi)</span> 861 <a name="l01158"></a>01158 <span class="keywordtype">double</span> tmp=-0.5* ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.invqform ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a>-val ) );<span class="comment">// - lognc();</span> 862 <a name="l01159"></a>01159 <span class="keywordflow">return</span> tmp; 863 <a name="l01160"></a>01160 }; 864 <a name="l01161"></a>01161 865 <a name="l01162"></a>01162 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 866 <a name="l01163"></a><a class="code" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32">01163</a> <span class="keyword">inline</span> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1enorm.html#25785343aff102cc5df1cab08ba16d32" title="logarithm of the normalizing constant, ">enorm<sq_T>::lognc</a> ()<span class="keyword"> const</span> 867 <a name="l01164"></a>01164 <span class="keyword"> </span>{ 868 <a name="l01165"></a>01165 <span class="comment">// 1.83787706640935 = log(2pi)</span> 869 <a name="l01166"></a>01166 <span class="keywordtype">double</span> tmp=0.5* ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.cols() * 1.83787706640935 +<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.logdet() ); 870 <a name="l01167"></a>01167 <span class="keywordflow">return</span> tmp; 871 <a name="l01168"></a>01168 }; 872 <a name="l01169"></a>01169 873 <a name="l01170"></a>01170 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 874 <a name="l01171"></a><a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f">01171</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#5d18dec3167584338a4775c1d165d96f" title="Set A and R.">mlnorm<sq_T>::set_parameters</a> ( <span class="keyword">const</span> mat &A0, <span class="keyword">const</span> vec &mu0, <span class="keyword">const</span> sq_T &R0 ) 875 <a name="l01172"></a>01172 { 876 <a name="l01173"></a>01173 it_assert_debug ( A0.rows() ==mu0.length(),<span class="stringliteral">""</span> ); 877 <a name="l01174"></a>01174 it_assert_debug ( A0.rows() ==R0.rows(),<span class="stringliteral">""</span> ); 878 <a name="l01175"></a>01175 879 <a name="l01176"></a>01176 <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>.set_parameters ( zeros ( A0.rows() ),R0 ); 880 <a name="l01177"></a>01177 A = A0; 881 <a name="l01178"></a>01178 mu_const = mu0; 882 <a name="l01179"></a>01179 <a class="code" href="classbdm_1_1mpdf.html#7c1900976ff13dbc09c9729b3bbff9e6" title="dimension of the condition">dimc</a>=A0.cols(); 883 <a name="l01180"></a>01180 } 884 <a name="l01181"></a>01181 885 <a name="l01182"></a>01182 <span class="comment">// template<class sq_T></span> 886 <a name="l01183"></a>01183 <span class="comment">// vec mlnorm<sq_T>::samplecond (const vec &cond, double &lik ) {</span> 887 <a name="l01184"></a>01184 <span class="comment">// this->condition ( cond );</span> 888 <a name="l01185"></a>01185 <span class="comment">// vec smp = epdf.sample();</span> 889 <a name="l01186"></a>01186 <span class="comment">// lik = epdf.eval ( smp );</span> 890 <a name="l01187"></a>01187 <span class="comment">// return smp;</span> 891 <a name="l01188"></a>01188 <span class="comment">// }</span> 892 <a name="l01189"></a>01189 893 <a name="l01190"></a>01190 <span class="comment">// template<class sq_T></span> 894 <a name="l01191"></a>01191 <span class="comment">// mat mlnorm<sq_T>::samplecond (const vec &cond, vec &lik, int n ) {</span> 895 <a name="l01192"></a>01192 <span class="comment">// int i;</span> 896 <a name="l01193"></a>01193 <span class="comment">// int dim = rv.count();</span> 897 <a name="l01194"></a>01194 <span class="comment">// mat Smp ( dim,n );</span> 898 <a name="l01195"></a>01195 <span class="comment">// vec smp ( dim );</span> 899 <a name="l01196"></a>01196 <span class="comment">// this->condition ( cond );</span> 900 <a name="l01197"></a>01197 <span class="comment">//</span> 901 <a name="l01198"></a>01198 <span class="comment">// for ( i=0; i<n; i++ ) {</span> 902 <a name="l01199"></a>01199 <span class="comment">// smp = epdf.sample();</span> 903 <a name="l01200"></a>01200 <span class="comment">// lik ( i ) = epdf.eval ( smp );</span> 904 <a name="l01201"></a>01201 <span class="comment">// Smp.set_col ( i ,smp );</span> 905 <a name="l01202"></a>01202 <span class="comment">// }</span> 906 <a name="l01203"></a>01203 <span class="comment">//</span> 907 <a name="l01204"></a>01204 <span class="comment">// return Smp;</span> 908 <a name="l01205"></a>01205 <span class="comment">// }</span> 910 909 <a name="l01206"></a>01206 911 <a name="l01207"></a>01207 <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* tmp = <span class="keyword">new</span> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>; 912 <a name="l01208"></a>01208 tmp-><a class="code" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv</a> ( rvn ); 913 <a name="l01209"></a>01209 tmp-><a class="code" href="classbdm_1_1enorm.html#b8322f2c11560871dd922c660f4771bb">set_parameters</a> ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvn ), Rn ); 914 <a name="l01210"></a>01210 <span class="keywordflow">return</span> tmp; 915 <a name="l01211"></a>01211 } 916 <a name="l01212"></a>01212 917 <a name="l01213"></a>01213 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 918 <a name="l01214"></a><a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26">01214</a> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26" title="Return conditional density on the given RV, the remaining rvs will be in conditioning...">enorm<sq_T>::condition</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn )<span class="keyword"> const</span> 919 <a name="l01215"></a>01215 <span class="keyword"> </span>{ 920 <a name="l01216"></a>01216 921 <a name="l01217"></a>01217 it_assert_debug ( <a class="code" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9" title="True if rv is assigned.">isnamed</a>(),<span class="stringliteral">"rvs are not assigned"</span> ); 922 <a name="l01218"></a>01218 923 <a name="l01219"></a>01219 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> rvc = <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#aec44dabdf0a6d90fbae95e1356eda39" title="Subtract another variable from the current one.">subt</a> ( rvn ); 924 <a name="l01220"></a>01220 it_assert_debug ( ( rvc.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() +rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() ==<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() ),<span class="stringliteral">"wrong rvn"</span> ); 925 <a name="l01221"></a>01221 <span class="comment">//Permutation vector of the new R</span> 926 <a name="l01222"></a>01222 ivec irvn = rvn.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 927 <a name="l01223"></a>01223 ivec irvc = rvc.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 928 <a name="l01224"></a>01224 ivec perm=concat ( irvn , irvc ); 929 <a name="l01225"></a>01225 sq_T Rn ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>,perm ); 930 <a name="l01226"></a>01226 931 <a name="l01227"></a>01227 <span class="comment">//fixme - could this be done in general for all sq_T?</span> 932 <a name="l01228"></a>01228 mat S=Rn.to_mat(); 933 <a name="l01229"></a>01229 <span class="comment">//fixme</span> 934 <a name="l01230"></a>01230 <span class="keywordtype">int</span> n=rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>()-1; 935 <a name="l01231"></a>01231 <span class="keywordtype">int</span> end=<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.rows()-1; 936 <a name="l01232"></a>01232 mat S11 = S.get ( 0,n, 0, n ); 937 <a name="l01233"></a>01233 mat S12 = S.get ( 0, n , rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end ); 938 <a name="l01234"></a>01234 mat S22 = S.get ( rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end, rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end ); 939 <a name="l01235"></a>01235 940 <a name="l01236"></a>01236 vec mu1 = <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvn ); 941 <a name="l01237"></a>01237 vec mu2 = <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvc ); 942 <a name="l01238"></a>01238 mat A=S12*inv ( S22 ); 943 <a name="l01239"></a>01239 sq_T R_n ( S11 - A *S12.T() ); 944 <a name="l01240"></a>01240 945 <a name="l01241"></a>01241 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm<sq_T></a>* tmp=<span class="keyword">new</span> <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm<sq_T></a> ( ); 946 <a name="l01242"></a>01242 tmp->set_rv ( rvn ); tmp->set_rvc ( rvc ); 947 <a name="l01243"></a>01243 tmp->set_parameters ( A,mu1-A*mu2,R_n ); 948 <a name="l01244"></a>01244 <span class="keywordflow">return</span> tmp; 949 <a name="l01245"></a>01245 } 950 <a name="l01246"></a>01246 951 <a name="l01248"></a>01248 952 <a name="l01249"></a>01249 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 953 <a name="l01250"></a>01250 std::ostream &operator<< ( std::ostream &os, mlnorm<sq_T> &ml ) 954 <a name="l01251"></a>01251 { 955 <a name="l01252"></a>01252 os << <span class="stringliteral">"A:"</span><< ml.A<<endl; 956 <a name="l01253"></a>01253 os << <span class="stringliteral">"mu:"</span><< ml.mu_const<<endl; 957 <a name="l01254"></a>01254 os << <span class="stringliteral">"R:"</span> << ml.epdf._R().to_mat() <<endl; 958 <a name="l01255"></a>01255 <span class="keywordflow">return</span> os; 959 <a name="l01256"></a>01256 }; 960 <a name="l01257"></a>01257 961 <a name="l01258"></a>01258 } 962 <a name="l01259"></a>01259 <span class="preprocessor">#endif //EF_H</span> 910 <a name="l01207"></a>01207 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 911 <a name="l01208"></a><a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">01208</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1mlnorm.html#0dafc0196e7e07fd06dc6716e0e18bc2">mlnorm<sq_T>::condition</a> ( <span class="keyword">const</span> vec &cond ) 912 <a name="l01209"></a>01209 { 913 <a name="l01210"></a>01210 _mu = A*cond + mu_const; 914 <a name="l01211"></a>01211 <span class="comment">//R is already assigned;</span> 915 <a name="l01212"></a>01212 } 916 <a name="l01213"></a>01213 917 <a name="l01214"></a>01214 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 918 <a name="l01215"></a><a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80">01215</a> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* <a class="code" href="classbdm_1_1enorm.html#c2996bdaffad38fbe0fc776db54c9d80" title="Return marginal density on the given RV, the remainig rvs are intergrated out.">enorm<sq_T>::marginal</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn )<span class="keyword"> const</span> 919 <a name="l01216"></a>01216 <span class="keyword"> </span>{ 920 <a name="l01217"></a>01217 it_assert_debug ( <a class="code" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9" title="True if rv is assigned.">isnamed</a>(), <span class="stringliteral">"rv description is not assigned"</span> ); 921 <a name="l01218"></a>01218 ivec irvn = rvn.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 922 <a name="l01219"></a>01219 923 <a name="l01220"></a>01220 sq_T Rn ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>,irvn ); <span class="comment">//select rows and columns of R</span> 924 <a name="l01221"></a>01221 925 <a name="l01222"></a>01222 <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>* tmp = <span class="keyword">new</span> <a class="code" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">enorm<sq_T></a>; 926 <a name="l01223"></a>01223 tmp-><a class="code" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv</a> ( rvn ); 927 <a name="l01224"></a>01224 tmp-><a class="code" href="classbdm_1_1enorm.html#b8322f2c11560871dd922c660f4771bb">set_parameters</a> ( <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvn ), Rn ); 928 <a name="l01225"></a>01225 <span class="keywordflow">return</span> tmp; 929 <a name="l01226"></a>01226 } 930 <a name="l01227"></a>01227 931 <a name="l01228"></a>01228 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 932 <a name="l01229"></a><a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26">01229</a> <a class="code" href="classbdm_1_1mpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a>* <a class="code" href="classbdm_1_1enorm.html#baea4d49c657342b58297d68cda16d26" title="Return conditional density on the given RV, the remaining rvs will be in conditioning...">enorm<sq_T>::condition</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> &rvn )<span class="keyword"> const</span> 933 <a name="l01230"></a>01230 <span class="keyword"> </span>{ 934 <a name="l01231"></a>01231 935 <a name="l01232"></a>01232 it_assert_debug ( <a class="code" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9" title="True if rv is assigned.">isnamed</a>(),<span class="stringliteral">"rvs are not assigned"</span> ); 936 <a name="l01233"></a>01233 937 <a name="l01234"></a>01234 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> rvc = <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#aec44dabdf0a6d90fbae95e1356eda39" title="Subtract another variable from the current one.">subt</a> ( rvn ); 938 <a name="l01235"></a>01235 it_assert_debug ( ( rvc.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() +rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() ==<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>() ),<span class="stringliteral">"wrong rvn"</span> ); 939 <a name="l01236"></a>01236 <span class="comment">//Permutation vector of the new R</span> 940 <a name="l01237"></a>01237 ivec irvn = rvn.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 941 <a name="l01238"></a>01238 ivec irvc = rvc.<a class="code" href="classbdm_1_1RV.html#cbebdb5e0d30101a6eb63550ef701c55">dataind</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 942 <a name="l01239"></a>01239 ivec perm=concat ( irvn , irvc ); 943 <a name="l01240"></a>01240 sq_T Rn ( <a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>,perm ); 944 <a name="l01241"></a>01241 945 <a name="l01242"></a>01242 <span class="comment">//fixme - could this be done in general for all sq_T?</span> 946 <a name="l01243"></a>01243 mat S=Rn.to_mat(); 947 <a name="l01244"></a>01244 <span class="comment">//fixme</span> 948 <a name="l01245"></a>01245 <span class="keywordtype">int</span> n=rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>()-1; 949 <a name="l01246"></a>01246 <span class="keywordtype">int</span> end=<a class="code" href="classbdm_1_1enorm.html#2d92dde696b2a7a5b10ddef5d22ba2c2" title="Covariance matrix in decomposed form.">R</a>.rows()-1; 950 <a name="l01247"></a>01247 mat S11 = S.get ( 0,n, 0, n ); 951 <a name="l01248"></a>01248 mat S12 = S.get ( 0, n , rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end ); 952 <a name="l01249"></a>01249 mat S22 = S.get ( rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end, rvn.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(), end ); 953 <a name="l01250"></a>01250 954 <a name="l01251"></a>01251 vec mu1 = <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvn ); 955 <a name="l01252"></a>01252 vec mu2 = <a class="code" href="classbdm_1_1enorm.html#c702a194720853570d08b65482f842c7" title="mean value">mu</a> ( irvc ); 956 <a name="l01253"></a>01253 mat A=S12*inv ( S22 ); 957 <a name="l01254"></a>01254 sq_T R_n ( S11 - A *S12.T() ); 958 <a name="l01255"></a>01255 959 <a name="l01256"></a>01256 <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm<sq_T></a>* tmp=<span class="keyword">new</span> <a class="code" href="classbdm_1_1mlnorm.html" title="Normal distributed linear function with linear function of mean value;.">mlnorm<sq_T></a> ( ); 960 <a name="l01257"></a>01257 tmp->set_rv ( rvn ); tmp->set_rvc ( rvc ); 961 <a name="l01258"></a>01258 tmp->set_parameters ( A,mu1-A*mu2,R_n ); 962 <a name="l01259"></a>01259 <span class="keywordflow">return</span> tmp; 963 <a name="l01260"></a>01260 } 964 <a name="l01261"></a>01261 965 <a name="l01263"></a>01263 966 <a name="l01264"></a>01264 <span class="keyword">template</span><<span class="keyword">class</span> sq_T> 967 <a name="l01265"></a>01265 std::ostream &operator<< ( std::ostream &os, mlnorm<sq_T> &ml ) 968 <a name="l01266"></a>01266 { 969 <a name="l01267"></a>01267 os << <span class="stringliteral">"A:"</span><< ml.A<<endl; 970 <a name="l01268"></a>01268 os << <span class="stringliteral">"mu:"</span><< ml.mu_const<<endl; 971 <a name="l01269"></a>01269 os << <span class="stringliteral">"R:"</span> << ml.epdf._R().to_mat() <<endl; 972 <a name="l01270"></a>01270 <span class="keywordflow">return</span> os; 973 <a name="l01271"></a>01271 }; 974 <a name="l01272"></a>01272 975 <a name="l01273"></a>01273 } 976 <a name="l01274"></a>01274 <span class="preprocessor">#endif //EF_H</span> 963 977 </pre></div></div> 964 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 978 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 965 979 <a href="http://www.doxygen.org/index.html"> 966 980 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libEF_8h.html ¶
r375 r384 167 167 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 168 168 Using IT++ for numerical operations ----------------------------------- </div> 169 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 169 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 170 170 <a href="http://www.doxygen.org/index.html"> 171 171 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libFN_8h-source.html ¶
r375 r384 166 166 <a name="l00141"></a>00141 <span class="preprocessor">#endif // FN_H</span> 167 167 </pre></div></div> 168 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 168 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 169 169 <a href="http://www.doxygen.org/index.html"> 170 170 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libKF_8h-source.html ¶
r375 r384 463 463 <a name="l00532"></a>00532 464 464 </pre></div></div> 465 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 465 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 466 466 <a href="http://www.doxygen.org/index.html"> 467 467 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libKF_8h.html ¶
r375 r384 118 118 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 119 119 Using IT++ for numerical operations ----------------------------------- </div> 120 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 120 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 121 121 <a href="http://www.doxygen.org/index.html"> 122 122 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libPF_8h-source.html ¶
r375 r384 283 283 <a name="l00267"></a>00267 284 284 </pre></div></div> 285 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 285 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 286 286 <a href="http://www.doxygen.org/index.html"> 287 287 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/libPF_8h.html ¶
r375 r384 90 90 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 91 91 Using IT++ for numerical operations ----------------------------------- </div> 92 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 92 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 93 93 <a href="http://www.doxygen.org/index.html"> 94 94 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/library_structure.html ¶
r375 r384 71 71 Default Naming Rules for Variables</a></h2> 72 72 </div> 73 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 73 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 74 74 <a href="http://www.doxygen.org/index.html"> 75 75 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/loggers_8h-source.html ¶
r375 r384 137 137 <a name="l00135"></a>00135 <span class="preprocessor">#endif // LGR_H</span> 138 138 </pre></div></div> 139 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 139 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 140 140 <a href="http://www.doxygen.org/index.html"> 141 141 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/loggers_8h.html ¶
r375 r384 95 95 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 96 96 Using IT++ for numerical operations ----------------------------------- </div> 97 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 97 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 98 98 <a href="http://www.doxygen.org/index.html"> 99 99 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/main.html ¶
r375 r384 92 92 </ul> 93 93 </div> 94 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 94 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 95 95 <a href="http://www.doxygen.org/index.html"> 96 96 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/manual.html ¶
r375 r384 74 74 <li>To be done... </li></ul> 75 75 </div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/merger_8h-source.html ¶
r375 r384 72 72 <a name="l00019"></a>00019 <span class="keyword">namespace </span>bdm 73 73 <a name="l00020"></a>00020 { 74 <a name="l00021"></a>00021 74 <a name="l00021"></a>00021 <span class="keyword">using</span> std::string; 75 75 <a name="l00022"></a>00022 76 <a name="l00029"></a><a class="code" href="classbdm_1_1merger.html">00029</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1merger.html" title="Function for general combination of pdfs.">merger</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class...">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> 77 <a name="l00030"></a>00030 { 78 <a name="l00031"></a>00031 <span class="keyword">protected</span>: 79 <a name="l00033"></a><a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81">00033</a> <a class="code" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a> <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>; 80 <a name="l00035"></a><a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c">00035</a> Array<datalink_m2e*> <a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c" title="Data link for each mpdf in mpdfs.">dls</a>; 81 <a name="l00037"></a><a class="code" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703">00037</a> Array<RV> <a class="code" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703" title="Array of rvs that are not modelled by mpdfs at all (aux).">rvzs</a>; 82 <a name="l00039"></a><a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193">00039</a> Array<datalink_m2e*> <a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193" title="Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs.">zdls</a>; 83 <a name="l00040"></a>00040 84 <a name="l00042"></a><a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109">00042</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>; 85 <a name="l00044"></a><a class="code" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d">00044</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d" title="Number of components in a mixture.">Nc</a>; 86 <a name="l00046"></a><a class="code" href="classbdm_1_1merger.html#1a85d299f202a70afe0cdc1045c26a5d">00046</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1merger.html#1a85d299f202a70afe0cdc1045c26a5d" title="Prior on the log-normal merging model.">beta</a>; 87 <a name="l00048"></a><a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94">00048</a> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>; 88 <a name="l00050"></a><a class="code" href="classbdm_1_1merger.html#045974350a3612ef4080eab6360b3d70">00050</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1merger.html#045974350a3612ef4080eab6360b3d70" title="coefficient of resampling">effss_coef</a>; 89 <a name="l00051"></a>00051 90 <a name="l00053"></a><a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe">00053</a> <span class="keywordtype">bool</span> <a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe" title="debug or not debug">DBG</a>; 91 <a name="l00055"></a><a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f">00055</a> it_file* <a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f" title="debugging file">dbg</a>; 92 <a name="l00057"></a><a class="code" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509">00057</a> <span class="keywordtype">bool</span> <a class="code" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509" title="Flag if the samples are fixed or not.">fix_smp</a>; 93 <a name="l00058"></a>00058 <span class="keyword">public</span>: 94 <a name="l00060"></a><a class="code" href="classbdm_1_1merger.html#30ae0fa8a88737185f598bf63fec0569">00060</a> <a class="code" href="classbdm_1_1merger.html#30ae0fa8a88737185f598bf63fec0569" title="Default constructor.">merger</a> ( <span class="keyword">const</span> Array<mpdf*> &S ) : 95 <a name="l00061"></a>00061 <a class="code" href="classbdm_1_1compositepdf.html" title="Abstract composition of pdfs, will be used for specific classes this abstract class...">compositepdf</a> ( S ), <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> ( ), 96 <a name="l00062"></a>00062 <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a> ( Array<<a class="code" href="classbdm_1_1BMEF.html" title="Estimator for Exponential family.">BMEF</a>*> ( 0 ),vec ( 0 ) ), <a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c" title="Data link for each mpdf in mpdfs.">dls</a> ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ), <a class="code" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703" title="Array of rvs that are not modelled by mpdfs at all (aux).">rvzs</a> ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ), <a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193" title="Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs.">zdls</a> ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ), <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>() 97 <a name="l00063"></a>00063 { 98 <a name="l00064"></a>00064 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> ztmp; 99 <a name="l00065"></a>00065 <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = <a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> ( <span class="keyword">false</span> ); 100 <a name="l00066"></a>00066 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> rvc; <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> ( <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>,rvc ); <span class="comment">// Extend rv by rvc!</span> 101 <a name="l00067"></a>00067 <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224" title="Add (concat) another variable to the current one,.">add</a> ( rvc ); 102 <a name="l00068"></a>00068 <span class="comment">// get dimension</span> 103 <a name="l00069"></a>00069 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(); 104 <a name="l00070"></a>00070 105 <a name="l00071"></a>00071 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a>;i++ ) 106 <a name="l00072"></a>00072 { 107 <a name="l00073"></a>00073 <span class="comment">//Establich connection between mpdfs and merger</span> 108 <a name="l00074"></a>00074 <a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c" title="Data link for each mpdf in mpdfs.">dls</a> ( i ) = <span class="keyword">new</span> <a class="code" href="classbdm_1_1datalink__m2e.html" title="data link between">datalink_m2e</a>;<a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c" title="Data link for each mpdf in mpdfs.">dls</a> ( i )->set_connection ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>(), <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rvc(), <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ); 109 <a name="l00075"></a>00075 <span class="comment">// find out what is missing in each mpdf</span> 110 <a name="l00076"></a>00076 ztmp= <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rv(); 111 <a name="l00077"></a>00077 ztmp.<a class="code" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224" title="Add (concat) another variable to the current one,.">add</a> ( <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> ( i )->_rvc() ); 112 <a name="l00078"></a>00078 <a class="code" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703" title="Array of rvs that are not modelled by mpdfs at all (aux).">rvzs</a> ( i ) =<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#aec44dabdf0a6d90fbae95e1356eda39" title="Subtract another variable from the current one.">subt</a> ( ztmp ); 113 <a name="l00079"></a>00079 <a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193" title="Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs.">zdls</a> ( i ) = <span class="keyword">new</span> <a class="code" href="classbdm_1_1datalink__m2e.html" title="data link between">datalink_m2e</a>; <a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193" title="Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs.">zdls</a> ( i )->set_connection ( <a class="code" href="classbdm_1_1merger.html#135b938f841cb88ad00a8bbded818703" title="Array of rvs that are not modelled by mpdfs at all (aux).">rvzs</a> ( i ), ztmp, <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> ) ; 114 <a name="l00080"></a>00080 }; 115 <a name="l00081"></a>00081 <span class="comment">//Set Default values of parameters</span> 116 <a name="l00082"></a>00082 <a class="code" href="classbdm_1_1merger.html#1a85d299f202a70afe0cdc1045c26a5d" title="Prior on the log-normal merging model.">beta</a>=2.0; 117 <a name="l00083"></a>00083 <a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>=100; 118 <a name="l00084"></a>00084 <a class="code" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d" title="Number of components in a mixture.">Nc</a>=10; 119 <a name="l00085"></a>00085 <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classbdm_1_1MixEF.html#664529d52cc667383b39eeb440ccd577" title="Set which method is to be used.">set_method</a> ( EM ); 120 <a name="l00086"></a>00086 <a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe" title="debug or not debug">DBG</a> = <span class="keyword">false</span>; 121 <a name="l00087"></a>00087 <a class="code" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509" title="Flag if the samples are fixed or not.">fix_smp</a> = <span class="keyword">false</span>; 122 <a name="l00088"></a>00088 } 123 <a name="l00090"></a><a class="code" href="classbdm_1_1merger.html#94b5358c9558a8389ac78a65b83244f6">00090</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger.html#94b5358c9558a8389ac78a65b83244f6" title="set debug file">debug_file</a> ( <span class="keyword">const</span> <span class="keywordtype">string</span> fname ) { <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe" title="debug or not debug">DBG</a> ) <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f" title="debugging file">dbg</a>; <a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f" title="debugging file">dbg</a> = <span class="keyword">new</span> it_file ( fname ); <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f" title="debugging file">dbg</a> ) <a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe" title="debug or not debug">DBG</a>=<span class="keyword">true</span>;} 124 <a name="l00092"></a><a class="code" href="classbdm_1_1merger.html#22216ad175880cf2345871f9313a3f19">00092</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger.html#22216ad175880cf2345871f9313a3f19" title="Set internal parameters used in approximation.">set_parameters</a> ( <span class="keywordtype">double</span> beta0, <span class="keywordtype">int</span> Ns0, <span class="keywordtype">int</span> Nc0, <span class="keywordtype">double</span> effss_coef0=0.5 ) {<a class="code" href="classbdm_1_1merger.html#1a85d299f202a70afe0cdc1045c26a5d" title="Prior on the log-normal merging model.">beta</a>=beta0; 125 <a name="l00093"></a>00093 <a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>=Ns0; 126 <a name="l00094"></a>00094 <a class="code" href="classbdm_1_1merger.html#214ca7c566e8f75d45bb243d7c74580d" title="Number of components in a mixture.">Nc</a>=Nc0; 127 <a name="l00095"></a>00095 <a class="code" href="classbdm_1_1merger.html#045974350a3612ef4080eab6360b3d70" title="coefficient of resampling">effss_coef</a>=effss_coef0; 128 <a name="l00096"></a>00096 <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c74c281d652356c19b6b079e42ca7ef1" title="Set sample.">set_parameters</a> ( Ns0,<span class="keyword">false</span> ); 129 <a name="l00097"></a>00097 } 130 <a name="l00098"></a>00098 <span class="keywordtype">void</span> set_grid ( Array<vec> &XYZ ) 131 <a name="l00099"></a>00099 { 132 <a name="l00100"></a>00100 <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>=XYZ.length(); ivec szs ( dim ); 133 <a name="l00101"></a>00101 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<dim;i++){szs=XYZ(i).length();} 134 <a name="l00102"></a>00102 <a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>=prod(szs); 135 <a name="l00103"></a>00103 <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.set_parameters(<a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>,<span class="keyword">false</span>); 136 <a name="l00104"></a>00104 Array<vec> &samples=<a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>._samples(); 137 <a name="l00105"></a>00105 <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>._w()=ones(<a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>)/<a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>; 138 <a name="l00106"></a>00106 139 <a name="l00107"></a>00107 <span class="comment">//set samples</span> 140 <a name="l00108"></a>00108 ivec is=zeros_i(dim);<span class="comment">//indeces of dimensions in for cycle;</span> 141 <a name="l00109"></a>00109 vec smpi(dim); 142 <a name="l00110"></a>00110 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> i=0; i<<a class="code" href="classbdm_1_1merger.html#e91b83e6d9076848c71ae27664072109" title="Number of samples used in approximation.">Ns</a>; i++){ 143 <a name="l00111"></a>00111 <span class="keywordflow">for</span>(<span class="keywordtype">int</span> j=0; j<dim; j++){smpi(j)=XYZ(j)(is(j)); <span class="comment">/* jty vector*/</span> } 144 <a name="l00112"></a>00112 samples(i)=smpi; 145 <a name="l00113"></a>00113 <span class="comment">// shift indeces</span> 146 <a name="l00114"></a>00114 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j=0;j<dim;j++){ 147 <a name="l00115"></a>00115 <span class="keywordflow">if</span> (is(j)==szs(j)-1) { <span class="comment">//j-th index is full</span> 148 <a name="l00116"></a>00116 is(j)=0; <span class="comment">//shift back</span> 149 <a name="l00117"></a>00117 is(j+1)++; <span class="comment">//increase th next dimension;</span> 150 <a name="l00118"></a>00118 <span class="keywordflow">if</span> (is(j+1)<szs(j+1)-1) <span class="keywordflow">break</span>; 151 <a name="l00119"></a>00119 } <span class="keywordflow">else</span> { 152 <a name="l00120"></a>00120 is(j)++; <span class="keywordflow">break</span>; 153 <a name="l00121"></a>00121 } 154 <a name="l00122"></a>00122 } 155 <a name="l00123"></a>00123 } 156 <a name="l00124"></a>00124 157 <a name="l00125"></a>00125 <a class="code" href="classbdm_1_1merger.html#05dc6d9876677fcf84806d39f24e5509" title="Flag if the samples are fixed or not.">fix_smp</a> = <span class="keyword">true</span>; 158 <a name="l00126"></a>00126 } 159 <a name="l00128"></a><a class="code" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8">00128</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger.html#8ae79a651e93d6e2d611556001af8aa8" title="Initialize the proposal density. This function must be called before merge()!">init</a>() 160 <a name="l00129"></a>00129 { 161 <a name="l00130"></a>00130 Array<vec> Smps ( <a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a> ); 162 <a name="l00131"></a>00131 <span class="comment">//Gibbs sampling</span> 163 <a name="l00132"></a>00132 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0;i<<a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a>;i++ ) {Smps ( i ) =zeros ( 0 );} 164 <a name="l00133"></a>00133 } 165 <a name="l00135"></a>00135 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2" title="Create a mixture density, make sure to call init() before the first call.">merge</a> ( <span class="keyword">const</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>* g0 ); 166 <a name="l00137"></a><a class="code" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2">00137</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2" title="Create a mixture density, make sure to call init() before the first call.">merge</a> () {<a class="code" href="classbdm_1_1merger.html#b72f4662c9ac760a8b17ebe5d697f3c2" title="Create a mixture density, make sure to call init() before the first call.">merge</a> ( & ( <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classbdm_1_1MixEF.html#4830916adef7891a207e42f39aaf787b">posterior</a>() ) );}; 167 <a name="l00138"></a>00138 168 <a name="l00140"></a>00140 vec <a class="code" href="classbdm_1_1merger.html#b90f1b8a21a693176dd953a3b983aa0b" title="Merge log-likelihood values.">lognorm_merge</a> ( mat &lW ); 169 <a name="l00143"></a><a class="code" href="classbdm_1_1merger.html#0ef73e76eeee44c8e3896e3a271ad974">00143</a> vec <a class="code" href="classbdm_1_1merger.html#0ef73e76eeee44c8e3896e3a271ad974">sample</a> ( )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classbdm_1_1MixEF.html#4830916adef7891a207e42f39aaf787b">posterior</a>().<a class="code" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b" title="Returns a sample, from density .">sample</a>();} 170 <a name="l00144"></a><a class="code" href="classbdm_1_1merger.html#c47543661897638cab9f506c76a1f92f">00144</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1merger.html#c47543661897638cab9f506c76a1f92f" title="Compute log-probability of argument val.">evallog</a> ( <span class="keyword">const</span> vec &dt )<span class="keyword"> const</span> 171 <a name="l00145"></a>00145 <span class="keyword"> </span>{ 172 <a name="l00146"></a>00146 vec dtf=ones ( dt.length() +1 ); 173 <a name="l00147"></a>00147 dtf.set_subvector ( 0,dt ); 174 <a name="l00148"></a>00148 <span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classbdm_1_1MixEF.html#da724da464a75e07521941e430929efa">logpred</a> ( dtf ); 175 <a name="l00149"></a>00149 } 176 <a name="l00150"></a><a class="code" href="classbdm_1_1merger.html#82c5ad7677315fde8e9fc9381c17ece5">00150</a> vec <a class="code" href="classbdm_1_1merger.html#82c5ad7677315fde8e9fc9381c17ece5" title="return expected value">mean</a>()<span class="keyword"> const</span> 177 <a name="l00151"></a>00151 <span class="keyword"> </span>{ 178 <a name="l00152"></a>00152 <span class="keyword">const</span> Vec<double> &w = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 179 <a name="l00153"></a>00153 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 180 <a name="l00154"></a>00154 vec tmp=zeros ( dim ); 181 <a name="l00155"></a>00155 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0; i<Ns; i++ ) 182 <a name="l00156"></a>00156 { 183 <a name="l00157"></a>00157 tmp+=w ( i ) *S ( i ); 184 <a name="l00158"></a>00158 } 185 <a name="l00159"></a>00159 <span class="keywordflow">return</span> tmp; 186 <a name="l00160"></a>00160 } 187 <a name="l00161"></a>00161 mat covariance()<span class="keyword"> const</span> 188 <a name="l00162"></a>00162 <span class="keyword"> </span>{ 189 <a name="l00163"></a>00163 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 190 <a name="l00164"></a>00164 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 191 <a name="l00165"></a>00165 192 <a name="l00166"></a>00166 vec mea = <a class="code" href="classbdm_1_1merger.html#82c5ad7677315fde8e9fc9381c17ece5" title="return expected value">mean</a>(); 193 <a name="l00167"></a>00167 194 <a name="l00168"></a>00168 cout << sum ( w ) << <span class="stringliteral">","</span> << w*w <<endl; 195 <a name="l00169"></a>00169 196 <a name="l00170"></a>00170 mat Tmp=zeros ( dim, dim ); 197 <a name="l00171"></a>00171 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0; i<Ns; i++ ) 198 <a name="l00172"></a>00172 { 199 <a name="l00173"></a>00173 Tmp+=w ( i ) *outer_product ( S ( i ), S ( i ) ); 200 <a name="l00174"></a>00174 } 201 <a name="l00175"></a>00175 <span class="keywordflow">return</span> Tmp-outer_product ( mea,mea ); 202 <a name="l00176"></a>00176 } 203 <a name="l00177"></a><a class="code" href="classbdm_1_1merger.html#bcef70ece256b1ab1fa7a3a354eb1cc4">00177</a> vec <a class="code" href="classbdm_1_1merger.html#bcef70ece256b1ab1fa7a3a354eb1cc4" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const</span> 204 <a name="l00178"></a>00178 <span class="keyword"> </span>{ 205 <a name="l00179"></a>00179 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 206 <a name="l00180"></a>00180 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 76 <a name="l00024"></a>00024 <span class="keyword">enum</span> MERGER_METHOD {ARITHMETIC = 0, GEOMETRIC = 1, LOGNORMAL = 2}; 77 <a name="l00025"></a>00025 78 <a name="l00045"></a><a class="code" href="classbdm_1_1merger__base.html">00045</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1merger__base.html" title="Base class for general combination of pdfs on discrete support.">merger_base</a> : <span class="keyword">public</span> <a class="code" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class...">compositepdf</a>, <span class="keyword">public</span> <a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> 79 <a name="l00046"></a>00046 { 80 <a name="l00047"></a>00047 <span class="keyword">protected</span>: 81 <a name="l00049"></a><a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7">00049</a> Array<datalink_m2e*> <a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7" title="Data link for each mpdf in mpdfs.">dls</a>; 82 <a name="l00051"></a><a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f">00051</a> Array<RV> <a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f" title="Array of rvs that are not modelled by mpdfs at all, .">rvzs</a>; 83 <a name="l00053"></a><a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694">00053</a> Array<datalink_m2e*> <a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694" title="Data Links for extension .">zdls</a>; 84 <a name="l00055"></a><a class="code" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd">00055</a> <span class="keywordtype">int</span> <a class="code" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd" title="number of sources">Ns</a>; 85 <a name="l00056"></a>00056 86 <a name="l00058"></a><a class="code" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7">00058</a> MERGER_METHOD <a class="code" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7" title="switch of the methoh used for merging">METHOD</a>; 87 <a name="l00060"></a><a class="code" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14">00060</a> <span class="keywordtype">double</span> <a class="code" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14" title="Prior on the log-normal merging model.">beta</a>; 88 <a name="l00061"></a>00061 89 <a name="l00063"></a><a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e">00063</a> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a> <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>; 90 <a name="l00064"></a>00064 91 <a name="l00066"></a><a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7">00066</a> <span class="keywordtype">bool</span> <a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7" title="debug or not debug">DBG</a>; 92 <a name="l00067"></a>00067 93 <a name="l00069"></a><a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad">00069</a> it_file* <a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad" title="debugging file">dbg</a>; 94 <a name="l00070"></a>00070 <span class="keyword">public</span>: 95 <a name="l00073"></a>00073 96 <a name="l00075"></a><a class="code" href="classbdm_1_1merger__base.html#f9d8c6c26c6520dbb17d4e80f635e7be">00075</a> <a class="code" href="classbdm_1_1merger__base.html#f9d8c6c26c6520dbb17d4e80f635e7be" title="Empty constructor.">merger_base</a> () : <a class="code" href="classbdm_1_1compositepdf.html" title="Chain rule of pdfs - abstract part common for mprod and merger. this abstract class...">compositepdf</a>() {}; 97 <a name="l00077"></a><a class="code" href="classbdm_1_1merger__base.html#ed5cbd925628893a51c36bc1807f4a75">00077</a> <a class="code" href="classbdm_1_1merger__base.html#ed5cbd925628893a51c36bc1807f4a75" title="Constructor from sources.">merger_base</a> (<span class="keyword">const</span> Array<mpdf*> &S) {<a class="code" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94" title="Function setting the main internal structures.">set_sources</a> (S);}; 98 <a name="l00079"></a><a class="code" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94">00079</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94" title="Function setting the main internal structures.">set_sources</a> (<span class="keyword">const</span> Array<mpdf*> &Sources) { 99 <a name="l00080"></a>00080 compositepdf::set_elements (Sources); 100 <a name="l00081"></a>00081 <span class="comment">//set sizes</span> 101 <a name="l00082"></a>00082 <a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7" title="Data link for each mpdf in mpdfs.">dls</a>.set_size (Sources.length()); 102 <a name="l00083"></a>00083 <a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f" title="Array of rvs that are not modelled by mpdfs at all, .">rvzs</a>.set_size (Sources.length()); 103 <a name="l00084"></a>00084 <a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694" title="Data Links for extension .">zdls</a>.set_size (Sources.length()); 104 <a name="l00085"></a>00085 105 <a name="l00086"></a>00086 <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = <a class="code" href="classbdm_1_1compositepdf.html#c73d39acc4378eee6a63155c3517d3c9" title="find common rv, flag">getrv</a> (<span class="comment">/* checkoverlap = */</span> <span class="keyword">false</span>); 106 <a name="l00087"></a>00087 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> rvc; <a class="code" href="classbdm_1_1compositepdf.html#c71fc2c51f49d797e61f479f543c75ce" title="common rvc of all mpdfs is written to rvc">setrvc</a> (<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>, rvc); <span class="comment">// Extend rv by rvc!</span> 107 <a name="l00088"></a>00088 <span class="comment">// join rv and rvc - see descriprion</span> 108 <a name="l00089"></a>00089 <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224" title="Add (concat) another variable to the current one,.">add</a> (rvc); 109 <a name="l00090"></a>00090 <span class="comment">// get dimension</span> 110 <a name="l00091"></a>00091 <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a> = <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#de30156104f61d86c94f758861418089">_dsize</a>(); 111 <a name="l00092"></a>00092 112 <a name="l00093"></a>00093 <span class="comment">// create links between sources and common rv</span> 113 <a name="l00094"></a>00094 <a class="code" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a> xytmp; 114 <a name="l00095"></a>00095 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length();i++) { 115 <a name="l00096"></a>00096 <span class="comment">//Establich connection between mpdfs and merger</span> 116 <a name="l00097"></a>00097 <a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7" title="Data link for each mpdf in mpdfs.">dls</a> (i) = <span class="keyword">new</span> <a class="code" href="classbdm_1_1datalink__m2e.html" title="data link between">datalink_m2e</a>; 117 <a name="l00098"></a>00098 <a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7" title="Data link for each mpdf in mpdfs.">dls</a> (i)->set_connection (<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)-><a class="code" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21" title="Return name (fails when isnamed is false).">_rv</a>(), <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)->_rvc(), <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>); 118 <a name="l00099"></a>00099 119 <a name="l00100"></a>00100 <span class="comment">// find out what is missing in each mpdf</span> 120 <a name="l00101"></a>00101 xytmp = <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)->_rv(); 121 <a name="l00102"></a>00102 xytmp.<a class="code" href="classbdm_1_1RV.html#87841b5ee43997b79789c0c22047e224" title="Add (concat) another variable to the current one,.">add</a> (<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)->_rvc()); 122 <a name="l00103"></a>00103 <span class="comment">// z_i = common_rv-xy</span> 123 <a name="l00104"></a>00104 <a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f" title="Array of rvs that are not modelled by mpdfs at all, .">rvzs</a> (i) = <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>.<a class="code" href="classbdm_1_1RV.html#aec44dabdf0a6d90fbae95e1356eda39" title="Subtract another variable from the current one.">subt</a> (xytmp); 124 <a name="l00105"></a>00105 <span class="comment">//establish connection between extension (z_i|x,y)s and common rv</span> 125 <a name="l00106"></a>00106 <a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694" title="Data Links for extension .">zdls</a> (i) = <span class="keyword">new</span> <a class="code" href="classbdm_1_1datalink__m2e.html" title="data link between">datalink_m2e</a>; <a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694" title="Data Links for extension .">zdls</a> (i)->set_connection (<a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f" title="Array of rvs that are not modelled by mpdfs at all, .">rvzs</a> (i), xytmp, <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>) ; 126 <a name="l00107"></a>00107 }; 127 <a name="l00108"></a>00108 <span class="comment">//Set Default values of parameters</span> 128 <a name="l00109"></a>00109 <a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7" title="debug or not debug">DBG</a> = <span class="keyword">false</span>; 129 <a name="l00110"></a>00110 <a class="code" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7" title="switch of the methoh used for merging">METHOD</a> = LOGNORMAL; 130 <a name="l00111"></a>00111 <a class="code" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14" title="Prior on the log-normal merging model.">beta</a> = 2.0; 131 <a name="l00112"></a>00112 } 132 <a name="l00114"></a><a class="code" href="classbdm_1_1merger__base.html#e4514484bac243585b0a1e44325e8add">00114</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#e4514484bac243585b0a1e44325e8add" title="set debug file">set_debug_file</a> (<span class="keyword">const</span> <span class="keywordtype">string</span> fname) { <span class="keywordflow">if</span> (<a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7" title="debug or not debug">DBG</a>) <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad" title="debugging file">dbg</a>; <a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad" title="debugging file">dbg</a> = <span class="keyword">new</span> it_file (fname); <span class="keywordflow">if</span> (<a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad" title="debugging file">dbg</a>) <a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7" title="debug or not debug">DBG</a> = <span class="keyword">true</span>;} 133 <a name="l00116"></a><a class="code" href="classbdm_1_1merger__base.html#5c85ba8a7c5246674891c6ebbf59ef54">00116</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#5c85ba8a7c5246674891c6ebbf59ef54" title="Set internal parameters used in approximation.">set_parameters</a> (<span class="keywordtype">double</span> beta0, MERGER_METHOD MTH) {<a class="code" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14" title="Prior on the log-normal merging model.">beta</a> = beta0;<a class="code" href="classbdm_1_1merger__base.html#ee197330820127f3d12106ddee6b25c7" title="switch of the methoh used for merging">METHOD</a> = MTH;} 134 <a name="l00118"></a><a class="code" href="classbdm_1_1merger__base.html#c02a1c55042c40cd190e240f1329d8d4">00118</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#c02a1c55042c40cd190e240f1329d8d4" title="Set support points from a pdf.">set_support</a>(<a class="code" href="classbdm_1_1epdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> &overall, <span class="keywordtype">int</span> N){<a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#7cfd383180b486fe4526bdf0179350c0" title="Set samples and weights.">set_statistics</a>(&overall,N);<a class="code" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd" title="number of sources">Ns</a>=N;} 135 <a name="l00119"></a>00119 136 <a name="l00121"></a><a class="code" href="classbdm_1_1merger__base.html#32d7e1dd6d91f77c81df7e82aac18689">00121</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1merger__base.html#32d7e1dd6d91f77c81df7e82aac18689" title="Destructor.">~merger_base</a>() { 137 <a name="l00122"></a>00122 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(); i++) { 138 <a name="l00123"></a>00123 <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger__base.html#09bc4d43dec350a40d17953b8b59d3b7" title="Data link for each mpdf in mpdfs.">dls</a> (i); 139 <a name="l00124"></a>00124 <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger__base.html#8098858f2edb1294122cbe4f05bf8694" title="Data Links for extension .">zdls</a> (i); 140 <a name="l00125"></a>00125 } 141 <a name="l00126"></a>00126 <span class="keywordflow">if</span> (<a class="code" href="classbdm_1_1merger__base.html#dd180c651a75a131d125305f6bb017f7" title="debug or not debug">DBG</a>) <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger__base.html#7b0b7549b8335cdd26faee68093da3ad" title="debugging file">dbg</a>; 142 <a name="l00127"></a>00127 }; 143 <a name="l00129"></a>00129 144 <a name="l00132"></a>00132 145 <a name="l00134"></a><a class="code" href="classbdm_1_1merger__base.html#fcaf1960643dba08fd17dec57b05c1f2">00134</a> <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#fcaf1960643dba08fd17dec57b05c1f2" title="Merge given sources in given points.">merge</a> () { 146 <a name="l00135"></a>00135 <span class="keywordflow">if</span> (<a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>().length() ==0) {it_error(<span class="stringliteral">"Empty support points use set_support"</span> );} 147 <a name="l00136"></a>00136 <span class="comment">//check if sources overlap:</span> 148 <a name="l00137"></a>00137 <span class="keywordtype">bool</span> OK = <span class="keyword">true</span>; 149 <a name="l00138"></a>00138 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(); i++) { 150 <a name="l00139"></a>00139 OK &= (<a class="code" href="classbdm_1_1merger__base.html#4e66803b04fc04b21b3716b3a317421f" title="Array of rvs that are not modelled by mpdfs at all, .">rvzs</a> (i)._dsize() == 0); <span class="comment">// z_i is empty</span> 151 <a name="l00140"></a>00140 OK &= (<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)->_rvc()._dsize() == 0); <span class="comment">// y_i is empty</span> 152 <a name="l00141"></a>00141 } 153 <a name="l00142"></a>00142 154 <a name="l00143"></a>00143 <span class="keywordflow">if</span> (OK) { 155 <a name="l00144"></a>00144 mat lW = zeros (<a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(), <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>().length()); 156 <a name="l00145"></a>00145 157 <a name="l00146"></a>00146 vec emptyvec (0); 158 <a name="l00147"></a>00147 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length(); i++) { 159 <a name="l00148"></a>00148 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> j = 0; j < <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>().length(); j++) { 160 <a name="l00149"></a>00149 lW (i, j) = <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a> (i)->evallogcond (<a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>() (j), emptyvec); 161 <a name="l00150"></a>00150 } 162 <a name="l00151"></a>00151 } 163 <a name="l00152"></a>00152 164 <a name="l00153"></a>00153 vec wtmp = exp (<a class="code" href="classbdm_1_1merger__base.html#1f52bf47d2cdd23a95b19e3da902e431" title="Merge log-likelihood values in points using method specified by parameter METHOD...">merge_points</a> (lW)); 165 <a name="l00154"></a>00154 <span class="comment">//renormalize</span> 166 <a name="l00155"></a>00155 <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>() = wtmp / sum (wtmp); 167 <a name="l00156"></a>00156 } <span class="keywordflow">else</span> { 168 <a name="l00157"></a>00157 it_error(<span class="stringliteral">"Sources are not compatible - use merger_mix"</span>); 169 <a name="l00158"></a>00158 } 170 <a name="l00159"></a>00159 ; 171 <a name="l00160"></a>00160 }; 172 <a name="l00161"></a>00161 173 <a name="l00162"></a>00162 174 <a name="l00164"></a>00164 vec <a class="code" href="classbdm_1_1merger__base.html#1f52bf47d2cdd23a95b19e3da902e431" title="Merge log-likelihood values in points using method specified by parameter METHOD...">merge_points</a> (mat &lW); 175 <a name="l00165"></a>00165 176 <a name="l00166"></a>00166 177 <a name="l00169"></a><a class="code" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0">00169</a> vec <a class="code" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0" title="weight w is a">mean</a>()<span class="keyword"> const </span>{ 178 <a name="l00170"></a>00170 <span class="keyword">const</span> Vec<double> &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 179 <a name="l00171"></a>00171 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 180 <a name="l00172"></a>00172 vec tmp = zeros (<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>); 181 <a name="l00173"></a>00173 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd" title="number of sources">Ns</a>; i++) { 182 <a name="l00174"></a>00174 tmp += w (i) * S (i); 183 <a name="l00175"></a>00175 } 184 <a name="l00176"></a>00176 <span class="keywordflow">return</span> tmp; 185 <a name="l00177"></a>00177 } 186 <a name="l00178"></a>00178 mat covariance()<span class="keyword"> const </span>{ 187 <a name="l00179"></a>00179 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 188 <a name="l00180"></a>00180 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 207 189 <a name="l00181"></a>00181 208 <a name="l00182"></a>00182 vec tmp=zeros ( dim ); 209 <a name="l00183"></a>00183 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0; i<Ns; i++ ) 210 <a name="l00184"></a>00184 { 211 <a name="l00185"></a>00185 tmp+=w ( i ) *pow ( S ( i ),2 ); 212 <a name="l00186"></a>00186 } 213 <a name="l00187"></a>00187 <span class="keywordflow">return</span> tmp-pow ( <a class="code" href="classbdm_1_1merger.html#82c5ad7677315fde8e9fc9381c17ece5" title="return expected value">mean</a>(),2 ); 214 <a name="l00188"></a>00188 } 215 <a name="l00190"></a><a class="code" href="classbdm_1_1merger.html#febef179bb5e074ae6e34d15b4596273">00190</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1merger.html#febef179bb5e074ae6e34d15b4596273" title="for future use">~merger</a>() 216 <a name="l00191"></a>00191 { 217 <a name="l00192"></a>00192 <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i=0; i<<a class="code" href="classbdm_1_1compositepdf.html#7ca3cd8ed92a7154f5b9ff13b1e9d52a" title="Number of mpdfs in the composite.">n</a>; i++ ) 218 <a name="l00193"></a>00193 { 219 <a name="l00194"></a>00194 <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger.html#ea3c9f4739f857877fd5285b3973289c" title="Data link for each mpdf in mpdfs.">dls</a> ( i ); 220 <a name="l00195"></a>00195 <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger.html#6c48bf36ec1f3f7b52e3159cf428a193" title="Data Links of rv0 mpdfs - these will be conditioned the (rv,rvc) of mpdfs.">zdls</a> ( i ); 221 <a name="l00196"></a>00196 } 222 <a name="l00197"></a>00197 <span class="keywordflow">if</span> ( <a class="code" href="classbdm_1_1merger.html#14081d8c5cffdcc6c2f81cb61da41dbe" title="debug or not debug">DBG</a> ) <span class="keyword">delete</span> <a class="code" href="classbdm_1_1merger.html#2b99a4a9384dc088dc164372d206138f" title="debugging file">dbg</a>; 223 <a name="l00198"></a>00198 }; 224 <a name="l00199"></a>00199 225 <a name="l00201"></a><a class="code" href="classbdm_1_1merger.html#13f8534f626a37bed91a6d9db54d6d2f">00201</a> <a class="code" href="classbdm_1_1MixEF.html" title="Mixture of Exponential Family Densities.">MixEF</a>& <a class="code" href="classbdm_1_1merger.html#13f8534f626a37bed91a6d9db54d6d2f" title="Access function.">_Mix</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>;} 226 <a name="l00203"></a><a class="code" href="classbdm_1_1merger.html#59314cda058b05ede7831f36b9f759cf">00203</a> <a class="code" href="classbdm_1_1emix.html" title="Mixture of epdfs.">emix</a>* <a class="code" href="classbdm_1_1merger.html#59314cda058b05ede7831f36b9f759cf" title="Access function.">proposal</a>() {<a class="code" href="classbdm_1_1emix.html" title="Mixture of epdfs.">emix</a>* tmp=<a class="code" href="classbdm_1_1merger.html#67ae71cbf0686d7c7bf116fa5db86d81" title="Internal mixture of EF models.">Mix</a>.<a class="code" href="classbdm_1_1MixEF.html#edc50e9640f049b846084748b18469a2" title="Constructs a predictive density .">epredictor</a>(); tmp-><a class="code" href="classbdm_1_1emix.html#04a8632cfa9299ae937228eb732fd61e" title="Name its rv.">set_rv</a>(<a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a>); <span class="keywordflow">return</span> tmp;} 227 <a name="l00205"></a><a class="code" href="classbdm_1_1merger.html#23f5f8b80df579b05681006fbcfe3699">00205</a> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a>& <a class="code" href="classbdm_1_1merger.html#23f5f8b80df579b05681006fbcfe3699" title="Access function.">_Smp</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger.html#522d43f7aa13fe6701e93fba174dec94" title="Projection to empirical density.">eSmp</a>;} 228 <a name="l00206"></a>00206 }; 229 <a name="l00207"></a>00207 230 <a name="l00208"></a>00208 } 231 <a name="l00209"></a>00209 232 <a name="l00210"></a>00210 <span class="preprocessor">#endif // MER_H</span> 190 <a name="l00182"></a>00182 vec mea = <a class="code" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0" title="weight w is a">mean</a>(); 191 <a name="l00183"></a>00183 192 <a name="l00184"></a>00184 cout << sum (w) << <span class="stringliteral">","</span> << w*w << endl; 193 <a name="l00185"></a>00185 194 <a name="l00186"></a>00186 mat Tmp = zeros (<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>, <a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>); 195 <a name="l00187"></a>00187 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < <a class="code" href="classbdm_1_1merger__base.html#52e33b1aa153fa700cc036be2b12f9bd" title="number of sources">Ns</a>; i++) { 196 <a name="l00188"></a>00188 Tmp += w (i) * outer_product (S (i), S (i)); 197 <a name="l00189"></a>00189 } 198 <a name="l00190"></a>00190 <span class="keywordflow">return</span> Tmp -outer_product (mea, mea); 199 <a name="l00191"></a>00191 } 200 <a name="l00192"></a><a class="code" href="classbdm_1_1merger__base.html#76fe431922844d132b4e1ecf70f53c99">00192</a> vec <a class="code" href="classbdm_1_1merger__base.html#76fe431922844d132b4e1ecf70f53c99" title="return expected variance (not covariance!)">variance</a>()<span class="keyword"> const </span>{ 201 <a name="l00193"></a>00193 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#d7f83cc0415cd44ae7cc8b4bdad93aef" title="Potentially dangerous, use with care.">_w</a>(); 202 <a name="l00194"></a>00194 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.<a class="code" href="classbdm_1_1eEmp.html#c24966b0aaeb767bc8a6b4fd60931be2" title="access function">_samples</a>(); 203 <a name="l00195"></a>00195 204 <a name="l00196"></a>00196 vec tmp = zeros (<a class="code" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce" title="dimension of the random variable">dim</a>); 205 <a name="l00197"></a>00197 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < Ns; i++) { 206 <a name="l00198"></a>00198 tmp += w (i) * pow (S (i), 2); 207 <a name="l00199"></a>00199 } 208 <a name="l00200"></a>00200 <span class="keywordflow">return</span> tmp -pow (<a class="code" href="classbdm_1_1merger__base.html#021acbf1a6e3bfde2a1b9c1c73cea6e0" title="weight w is a">mean</a>(), 2); 209 <a name="l00201"></a>00201 } 210 <a name="l00203"></a>00203 211 <a name="l00206"></a>00206 212 <a name="l00208"></a><a class="code" href="classbdm_1_1merger__base.html#fb682e470103f4e0b353b7c9200d177f">00208</a> <a class="code" href="classbdm_1_1eEmp.html" title="Weighted empirical density.">eEmp</a>& <a class="code" href="classbdm_1_1merger__base.html#fb682e470103f4e0b353b7c9200d177f" title="Access function.">_Smp</a>() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>;} 213 <a name="l00209"></a>00209 214 <a name="l00211"></a>00211 }; 215 <a name="l00212"></a>00212 216 <a name="l00213"></a>00213 <span class="keyword">class </span>merger_mix : <span class="keyword">public</span> merger_base 217 <a name="l00214"></a>00214 { 218 <a name="l00215"></a>00215 <span class="keyword">protected</span>: 219 <a name="l00217"></a>00217 MixEF Mix; 220 <a name="l00219"></a>00219 <span class="keywordtype">int</span> Nc; 221 <a name="l00221"></a>00221 <span class="keywordtype">double</span> effss_coef; 222 <a name="l00222"></a>00222 223 <a name="l00223"></a>00223 <span class="keyword">public</span>: 224 <a name="l00225"></a>00225 merger_mix () {}; 225 <a name="l00226"></a>00226 merger_mix (<span class="keyword">const</span> Array<mpdf*> &S) {set_sources(S);}; 226 <a name="l00228"></a>00228 <span class="keywordtype">void</span> set_sources (<span class="keyword">const</span> Array<mpdf*> &S) { 227 <a name="l00229"></a>00229 <a class="code" href="classbdm_1_1merger__base.html#bde0fd02ae620b4130e768fa70aafa94" title="Function setting the main internal structures.">merger_base::set_sources</a>(S); 228 <a name="l00230"></a>00230 <span class="comment">//Set Default values of parameters</span> 229 <a name="l00231"></a>00231 Ns = 100; 230 <a name="l00232"></a>00232 Nc = 10; 231 <a name="l00233"></a>00233 Mix.set_method (EM); 232 <a name="l00234"></a>00234 } 233 <a name="l00236"></a>00236 <span class="keywordtype">void</span> <a class="code" href="classbdm_1_1merger__base.html#5c85ba8a7c5246674891c6ebbf59ef54" title="Set internal parameters used in approximation.">set_parameters</a> (<span class="keywordtype">double</span> beta0, <span class="keywordtype">int</span> Ns0, <span class="keywordtype">int</span> Nc0, <span class="keywordtype">double</span> effss_coef0 = 0.5) { 234 <a name="l00237"></a>00237 <a class="code" href="classbdm_1_1merger__base.html#972f64f6f388b929cf94d2c478116f14" title="Prior on the log-normal merging model.">beta</a> = beta0; 235 <a name="l00238"></a>00238 Ns = Ns0; 236 <a name="l00239"></a>00239 Nc = Nc0; 237 <a name="l00240"></a>00240 effss_coef = effss_coef0; 238 <a name="l00241"></a>00241 <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>.set_parameters (Ns0, <span class="keyword">false</span>); 239 <a name="l00242"></a>00242 } 240 <a name="l00244"></a>00244 <span class="keywordtype">void</span> init() { 241 <a name="l00245"></a>00245 Array<vec> Smps (Ns); 242 <a name="l00246"></a>00246 <span class="comment">//Gibbs sampling</span> 243 <a name="l00247"></a>00247 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0;i < <a class="code" href="classbdm_1_1compositepdf.html#23faf2debc4dde10836393b8c665914a" title="Elements of composition.">mpdfs</a>.length();i++) {Smps (i) = zeros (0);} 244 <a name="l00248"></a>00248 } 245 <a name="l00250"></a>00250 <span class="keywordtype">void</span> merge (); 246 <a name="l00251"></a>00251 247 <a name="l00254"></a>00254 vec sample ()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> Mix.posterior().sample();} 248 <a name="l00255"></a>00255 <span class="keywordtype">double</span> evallog (<span class="keyword">const</span> vec &dt)<span class="keyword"> const </span>{ 249 <a name="l00256"></a>00256 vec dtf = ones (dt.length() + 1); 250 <a name="l00257"></a>00257 dtf.set_subvector (0, dt); 251 <a name="l00258"></a>00258 <span class="keywordflow">return</span> Mix.logpred (dtf); 252 <a name="l00259"></a>00259 } 253 <a name="l00260"></a>00260 vec mean()<span class="keyword"> const </span>{ 254 <a name="l00261"></a>00261 <span class="keyword">const</span> Vec<double> &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._w(); 255 <a name="l00262"></a>00262 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._samples(); 256 <a name="l00263"></a>00263 vec tmp = zeros (dim); 257 <a name="l00264"></a>00264 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < Ns; i++) { 258 <a name="l00265"></a>00265 tmp += w (i) * S (i); 259 <a name="l00266"></a>00266 } 260 <a name="l00267"></a>00267 <span class="keywordflow">return</span> tmp; 261 <a name="l00268"></a>00268 } 262 <a name="l00269"></a>00269 mat covariance()<span class="keyword"> const </span>{ 263 <a name="l00270"></a>00270 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._w(); 264 <a name="l00271"></a>00271 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._samples(); 265 <a name="l00272"></a>00272 266 <a name="l00273"></a>00273 vec mea = mean(); 267 <a name="l00274"></a>00274 268 <a name="l00275"></a>00275 cout << sum (w) << <span class="stringliteral">","</span> << w*w << endl; 269 <a name="l00276"></a>00276 270 <a name="l00277"></a>00277 mat Tmp = zeros (dim, dim); 271 <a name="l00278"></a>00278 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < Ns; i++) { 272 <a name="l00279"></a>00279 Tmp += w (i) * outer_product (S (i), S (i)); 273 <a name="l00280"></a>00280 } 274 <a name="l00281"></a>00281 <span class="keywordflow">return</span> Tmp -outer_product (mea, mea); 275 <a name="l00282"></a>00282 } 276 <a name="l00283"></a>00283 vec variance()<span class="keyword"> const </span>{ 277 <a name="l00284"></a>00284 <span class="keyword">const</span> vec &w = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._w(); 278 <a name="l00285"></a>00285 <span class="keyword">const</span> Array<vec> &S = <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>._samples(); 279 <a name="l00286"></a>00286 280 <a name="l00287"></a>00287 vec tmp = zeros (dim); 281 <a name="l00288"></a>00288 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < Ns; i++) { 282 <a name="l00289"></a>00289 tmp += w (i) * pow (S (i), 2); 283 <a name="l00290"></a>00290 } 284 <a name="l00291"></a>00291 <span class="keywordflow">return</span> tmp -pow (mean(), 2); 285 <a name="l00292"></a>00292 } 286 <a name="l00293"></a>00293 287 <a name="l00295"></a>00295 MixEF& _Mix() {<span class="keywordflow">return</span> Mix;} 288 <a name="l00297"></a>00297 emix* proposal() {emix* tmp = Mix.epredictor(); tmp->set_rv (rv); <span class="keywordflow">return</span> tmp;} 289 <a name="l00299"></a>00299 eEmp& _Smp() {<span class="keywordflow">return</span> <a class="code" href="classbdm_1_1merger__base.html#a042ce6ee1fb91048ea89bec9934718e" title="Projection to empirical density (could also be piece-wise linear).">eSmp</a>;} 290 <a name="l00300"></a>00300 }; 291 <a name="l00301"></a>00301 292 <a name="l00302"></a>00302 } 293 <a name="l00303"></a>00303 294 <a name="l00304"></a>00304 <span class="preprocessor">#endif // MER_H</span> 233 295 </pre></div></div> 234 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 296 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 235 297 <a href="http://www.doxygen.org/index.html"> 236 298 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/merger_8h.html ¶
r375 r384 74 74 <tr><td></td></tr> 75 75 <tr><td colspan="2"><br><h2>Classes</h2></td></tr> 76 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger .html">bdm::merger</a></td></tr>76 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1merger__base.html">bdm::merger_base</a></td></tr> 77 77 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Function for general combination of pdfs. <a href="classbdm_1_1merger.html#_details">More...</a><br></td></tr> 78 <tr><td class="mdescLeft"> </td><td class="mdescRight">Base class for general combination of pdfs on discrete support. <a href="classbdm_1_1merger__base.html#_details">More...</a><br></td></tr> 79 <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><b>bdm::merger_mix</b></td></tr> 80 81 <tr><td colspan="2"><br><h2>Enumerations</h2></td></tr> 82 <tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><b>MERGER_METHOD</b> { <b>ARITHMETIC</b> = 0, 83 <b>GEOMETRIC</b> = 1, 84 <b>LOGNORMAL</b> = 2 85 }</td></tr> 86 87 <tr><td class="mdescLeft"> </td><td class="mdescRight">Merging methods. <br></td></tr> 79 88 </table> 80 89 <hr><a name="_details"></a><h2>Detailed Description</h2> … … 84 93 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 85 94 Using IT++ for numerical operations ----------------------------------- </div> 86 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 95 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 87 96 <a href="http://www.doxygen.org/index.html"> 88 97 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mexds_8h-source.html ¶
r375 r384 88 88 <a name="l00041"></a>00041 UIREGISTER(<a class="code" href="classUImexDS.html" title="Create memory data source from mxArray.">UImexDS</a>); 89 89 </pre></div></div> 90 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 90 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 91 91 <a href="http://www.doxygen.org/index.html"> 92 92 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mexfiles.html ¶
r375 r384 104 104 } 105 105 </pre></div> </div> 106 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 106 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 107 107 <a href="http://www.doxygen.org/index.html"> 108 108 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mexlog_8h-source.html ¶
r375 r384 118 118 <a name="l00056"></a>00056 } 119 119 </pre></div></div> 120 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 120 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 121 121 <a href="http://www.doxygen.org/index.html"> 122 122 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mexparse_8h-source.html ¶
r375 r384 164 164 <a name="l00100"></a>00100 }; 165 165 </pre></div></div> 166 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 166 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 167 167 <a href="http://www.doxygen.org/index.html"> 168 168 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mixef_8h-source.html ¶
r375 r384 142 142 <a name="l00124"></a>00124 143 143 </pre></div></div> 144 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 144 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 145 145 <a href="http://www.doxygen.org/index.html"> 146 146 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/mixef_8h.html ¶
r375 r384 91 91 ----------------------------------- BDM++ - C++ library for Bayesian Decision Making under Uncertainty<p> 92 92 Using IT++ for numerical operations ----------------------------------- </div> 93 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 93 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 94 94 <a href="http://www.doxygen.org/index.html"> 95 95 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/modules.html ¶
r375 r384 120 120 </html> 121 121 </div> 122 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 122 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 123 123 <a href="http://www.doxygen.org/index.html"> 124 124 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/osutils_8h-source.html ¶
r375 r384 83 83 <a name="l00028"></a>00028 <span class="keywordtype">void</span> makedir(<span class="keywordtype">string</span> &dirname, <span class="keywordtype">bool</span> rewrite = <span class="keyword">true</span>); 84 84 </pre></div></div> 85 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 85 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 86 86 <a href="http://www.doxygen.org/index.html"> 87 87 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/pages.html ¶
r375 r384 74 74 </ul> 75 75 </div> 76 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:062009 for mixpp by 76 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 77 77 <a href="http://www.doxygen.org/index.html"> 78 78 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/timer.html ¶
r375 r384 105 105 The sum of all integers from 0 to 999999 equals 1783293664 106 106 </pre></div> </div> 107 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 107 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 108 108 <a href="http://www.doxygen.org/index.html"> 109 109 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/todo.html ¶
r375 r384 65 65 </dl> 66 66 </div> 67 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 67 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 68 68 <a href="http://www.doxygen.org/index.html"> 69 69 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/tree.html ¶
r375 r384 143 143 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1memlog.html" target="basefrm">bdm::memlog</a></p> 144 144 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mepdf.html" target="basefrm">bdm::mepdf</a></p> 145 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger .html" target="basefrm">bdm::merger</a></p>145 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger__base.html" target="basefrm">bdm::merger_base</a></p> 146 146 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgamma.html" target="basefrm">bdm::mgamma</a></p> 147 147 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgamma__fix.html" target="basefrm">bdm::mgamma_fix</a></p> … … 216 216 </div> 217 217 </div> 218 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder50', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder50', this)"/><a class="el" href="classbdm_1_1 DS.html" target="basefrm">bdm::DS</a></p>218 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder50', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder50', this)"/><a class="el" href="classbdm_1_1compositepdf.html" target="basefrm">bdm::compositepdf</a></p> 219 219 <div id="folder50"> 220 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger__base.html" target="basefrm">bdm::merger_base</a></p> 221 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mprod.html" target="basefrm">bdm::mprod</a></p> 222 </div> 223 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder51', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder51', this)"/><a class="el" href="classbdm_1_1DS.html" target="basefrm">bdm::DS</a></p> 224 <div id="folder51"> 220 225 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1ArxDS.html" target="basefrm">bdm::ArxDS</a></p> 221 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder5 1', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder51', this)"/><a class="el" href="classbdm_1_1MemDS.html" target="basefrm">bdm::MemDS</a></p>222 <div id="folder5 1">223 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder5 2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder52', this)"/><a class="el" href="classbdm_1_1FileDS.html" target="basefrm">bdm::FileDS</a></p>224 <div id="folder5 2">226 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder52', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder52', this)"/><a class="el" href="classbdm_1_1MemDS.html" target="basefrm">bdm::MemDS</a></p> 227 <div id="folder52"> 228 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder53', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder53', this)"/><a class="el" href="classbdm_1_1FileDS.html" target="basefrm">bdm::FileDS</a></p> 229 <div id="folder53"> 225 230 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1CsvFileDS.html" target="basefrm">bdm::CsvFileDS</a></p> 226 231 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1ITppFileDS.html" target="basefrm">bdm::ITppFileDS</a></p> … … 228 233 </div> 229 234 </div> 230 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5 3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder53', this)"/><a class="el" href="classbdm_1_1epdf.html" target="basefrm">bdm::epdf</a></p>231 <div id="folder5 3">232 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5 4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder54', this)"/><a class="el" href="classbdm_1_1eEF.html" target="basefrm">bdm::eEF</a></p>233 <div id="folder5 4">235 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder54', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder54', this)"/><a class="el" href="classbdm_1_1epdf.html" target="basefrm">bdm::epdf</a></p> 236 <div id="folder54"> 237 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder55', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder55', this)"/><a class="el" href="classbdm_1_1eEF.html" target="basefrm">bdm::eEF</a></p> 238 <div id="folder55"> 234 239 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eDirich.html" target="basefrm">bdm::eDirich</a></p> 235 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5 5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder55', this)"/><a class="el" href="classbdm_1_1egamma.html" target="basefrm">bdm::egamma</a></p>236 <div id="folder5 5">240 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder56', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder56', this)"/><a class="el" href="classbdm_1_1egamma.html" target="basefrm">bdm::egamma</a></p> 241 <div id="folder56"> 237 242 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eigamma.html" target="basefrm">bdm::eigamma</a></p> 238 243 </div> 239 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5 6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder56', this)"/><a class="el" href="classbdm_1_1egiw.html" target="basefrm">bdm::egiw</a></p>240 <div id="folder5 6">244 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder57', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder57', this)"/><a class="el" href="classbdm_1_1egiw.html" target="basefrm">bdm::egiw</a></p> 245 <div id="folder57"> 241 246 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1egiwmix.html" target="basefrm">bdm::egiwmix</a></p> 242 247 </div> … … 244 249 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1enorm.html" target="basefrm">bdm::enorm< chmat ></a></p> 245 250 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1enorm.html" target="basefrm">bdm::enorm< fsqmat ></a></p> 246 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder5 7', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder57', this)"/><a class="el" href="classbdm_1_1enorm.html" target="basefrm">bdm::enorm< ldmat ></a></p>247 <div id="folder5 7">251 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder58', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder58', this)"/><a class="el" href="classbdm_1_1enorm.html" target="basefrm">bdm::enorm< ldmat ></a></p> 252 <div id="folder58"> 248 253 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1elognorm.html" target="basefrm">bdm::elognorm</a></p> 249 254 </div> … … 254 259 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1euni.html" target="basefrm">bdm::euni</a></p> 255 260 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1eWishartCh.html" target="basefrm">bdm::eWishartCh</a></p> 256 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger .html" target="basefrm">bdm::merger</a></p>257 </div> 258 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder5 8', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder58', this)"/><a class="el" href="classbdm_1_1fnc.html" target="basefrm">bdm::fnc</a></p>259 <div id="folder5 8">261 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger__base.html" target="basefrm">bdm::merger_base</a></p> 262 </div> 263 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder59', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder59', this)"/><a class="el" href="classbdm_1_1fnc.html" target="basefrm">bdm::fnc</a></p> 264 <div id="folder59"> 260 265 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1constfn.html" target="basefrm">bdm::constfn</a></p> 261 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder 59', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder59', this)"/><a class="el" href="classbdm_1_1diffbifn.html" target="basefrm">bdm::diffbifn</a></p>262 <div id="folder 59">266 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder60', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder60', this)"/><a class="el" href="classbdm_1_1diffbifn.html" target="basefrm">bdm::diffbifn</a></p> 267 <div id="folder60"> 263 268 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1bilinfn.html" target="basefrm">bdm::bilinfn</a></p> 264 269 </div> 265 270 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1linfn.html" target="basefrm">bdm::linfn</a></p> 266 271 </div> 267 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6 0', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder60', this)"/><a class="el" href="classbdm_1_1logger.html" target="basefrm">bdm::logger</a></p>268 <div id="folder6 0">269 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder6 1', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder61', this)"/><a class="el" href="classbdm_1_1memlog.html" target="basefrm">bdm::memlog</a></p>270 <div id="folder6 1">272 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder61', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder61', this)"/><a class="el" href="classbdm_1_1logger.html" target="basefrm">bdm::logger</a></p> 273 <div id="folder61"> 274 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder62', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder62', this)"/><a class="el" href="classbdm_1_1memlog.html" target="basefrm">bdm::memlog</a></p> 275 <div id="folder62"> 271 276 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1dirfilelog.html" target="basefrm">bdm::dirfilelog</a></p> 272 277 </div> 273 278 </div> 274 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6 2', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder62', this)"/><a class="el" href="classbdm_1_1mpdf.html" target="basefrm">bdm::mpdf</a></p>275 <div id="folder6 2">276 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6 3', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder63', this)"/><a class="el" href="classbdm_1_1mEF.html" target="basefrm">bdm::mEF</a></p>277 <div id="folder6 3">278 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6 4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder64', this)"/><a class="el" href="classbdm_1_1mgamma.html" target="basefrm">bdm::mgamma</a></p>279 <div id="folder6 4">279 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder63', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder63', this)"/><a class="el" href="classbdm_1_1mpdf.html" target="basefrm">bdm::mpdf</a></p> 280 <div id="folder63"> 281 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder64', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder64', this)"/><a class="el" href="classbdm_1_1mEF.html" target="basefrm">bdm::mEF</a></p> 282 <div id="folder64"> 283 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder65', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder65', this)"/><a class="el" href="classbdm_1_1mgamma.html" target="basefrm">bdm::mgamma</a></p> 284 <div id="folder65"> 280 285 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgamma__fix.html" target="basefrm">bdm::mgamma_fix</a></p> 281 286 </div> 282 287 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mgnorm.html" target="basefrm">bdm::mgnorm< sq_T ></a></p> 283 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder6 5', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder65', this)"/><a class="el" href="classbdm_1_1migamma.html" target="basefrm">bdm::migamma</a></p>284 <div id="folder6 5">288 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder66', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder66', this)"/><a class="el" href="classbdm_1_1migamma.html" target="basefrm">bdm::migamma</a></p> 289 <div id="folder66"> 285 290 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1migamma__ref.html" target="basefrm">bdm::migamma_ref</a></p> 286 291 </div> 287 292 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mlnorm.html" target="basefrm">bdm::mlnorm< sq_T ></a></p> 288 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder6 6', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder66', this)"/><a class="el" href="classbdm_1_1mlnorm.html" target="basefrm">bdm::mlnorm< ldmat ></a></p>289 <div id="folder6 6">293 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2plastnode.png" alt="\" width=16 height=22 onclick="toggleFolder('folder67', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder67', this)"/><a class="el" href="classbdm_1_1mlnorm.html" target="basefrm">bdm::mlnorm< ldmat ></a></p> 294 <div id="folder67"> 290 295 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2blank.png" alt=" " width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mlstudent.html" target="basefrm">bdm::mlstudent</a></p> 291 296 </div> … … 298 303 </div> 299 304 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1RV.html" target="basefrm">bdm::RV</a></p> 300 </div>301 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder67', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder67', this)"/><a class="el" href="classbdm_1_1compositepdf.html" target="basefrm">bdm::compositepdf</a></p>302 <div id="folder67">303 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1merger.html" target="basefrm">bdm::merger</a></p>304 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classbdm_1_1mprod.html" target="basefrm">bdm::mprod</a></p>305 305 </div> 306 306 <p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder68', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder68', this)"/><a class="el" href="classbdm_1_1datalink.html" target="basefrm">bdm::datalink</a></p> -
TabularUnified library/doc/html/tut_arx.html ¶
r375 r384 123 123 </ul> 124 124 </div> 125 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 125 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 126 126 <a href="http://www.doxygen.org/index.html"> 127 127 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/tutorial.html ¶
r375 r384 67 67 <li>To be done... </li></ul> 68 68 </div> 69 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 69 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 70 70 <a href="http://www.doxygen.org/index.html"> 71 71 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/ui.html ¶
r375 r384 73 73 </pre></div> Exact meaning of root fields in this structure (i.e. ndat and prior) is defined by the application (or mex file) that is using this configuration file. It will look for expected fields and it will ignore any other structures. When it does not find what it is looking for, it terminates with an appropriate error message.<p> 74 74 A structure with field <code>type="identifier"</code> is special. Such a structure will be parsed by an appropriate class <a class="el" href="classbdm_1_1UIbuilder.html" title="Builds computational object from a UserInfo structure.">bdm::UIbuilder</a> which will construct the desired object, in this instance of an object of the class <a class="el" href="classbdm_1_1enorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix.">bdm::enorm</a>. For a detailed example how this mechanism works in practice see <a class="el" href="arx_ui.html">Running experiment <code>estimator</code> with ARX data fields</a>. </div> 75 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 75 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 76 76 <a href="http://www.doxygen.org/index.html"> 77 77 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/uibuilder_8h-source.html ¶
r375 r384 263 263 <a name="l00238"></a>00238 <span class="preprocessor">#endif //UIBUILD</span> 264 264 </pre></div></div> 265 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 265 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 266 266 <a href="http://www.doxygen.org/index.html"> 267 267 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/user__info_8h-source.html ¶
r375 r384 81 81 <a name="l00017"></a>00017 82 82 <a name="l00018"></a>00018 <span class="preprocessor">#ifndef BDMLIB </span> 83 <a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define UIREGISTER(class_name) template<> const Particular_UI<class_name>& Particular_UI<class_name>::ui = Particular_UI<class_name>(#class_name) </span> 84 <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#else</span> 85 <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#define UIREGISTER(class_name)</span> 86 <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 87 <a name="l00023"></a>00023 <span class="preprocessor"></span> 88 <a name="l00024"></a>00024 <span class="preprocessor">#define ASSERT_UITYPE(S,Type) it_assert_debug(S.getType()==Setting::Type, string("Wrong setting type, see input path \"")+string(S.getPath())+string("\""))</span> 89 <a name="l00025"></a>00025 <span class="preprocessor"></span> 90 <a name="l00026"></a>00026 <span class="keyword">namespace </span>bdm 91 <a name="l00027"></a>00027 { 92 <a name="l00028"></a>00028 <span class="keyword">class </span>UI_File : <span class="keyword">public</span> Config 93 <a name="l00029"></a>00029 { 94 <a name="l00030"></a>00030 <span class="keyword">private</span>: 95 <a name="l00031"></a>00031 <span class="keyword">const</span> <span class="keywordtype">string</span> file_name; 96 <a name="l00032"></a>00032 97 <a name="l00033"></a>00033 <span class="keyword">public</span>: 98 <a name="l00035"></a>00035 UI_File(); 99 <a name="l00036"></a>00036 100 <a name="l00038"></a>00038 UI_File( <span class="keyword">const</span> <span class="keywordtype">string</span> &file_name ); 101 <a name="l00039"></a>00039 102 <a name="l00041"></a>00041 <span class="keywordtype">void</span> save(<span class="keyword">const</span> <span class="keywordtype">string</span> &file_name); 103 <a name="l00042"></a>00042 104 <a name="l00043"></a>00043 operator Setting&(); 105 <a name="l00044"></a>00044 }; 106 <a name="l00045"></a>00045 107 <a name="l00077"></a><a class="code" href="classbdm_1_1UI.html">00077</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a> 108 <a name="l00078"></a>00078 { 109 <a name="l00079"></a>00079 <span class="keyword">private</span>: 110 <a name="l00084"></a>00084 <span class="keyword">class </span>Mapped_UI 111 <a name="l00085"></a>00085 { 112 <a name="l00086"></a>00086 <span class="keyword">private</span>: 113 <a name="l00088"></a>00088 <span class="keyword">typedef</span> map< const string, const UI* const > String_To_UI_Map; 114 <a name="l00089"></a>00089 115 <a name="l00091"></a>00091 <span class="keyword">typedef</span> map< const type_info * const, const string > Type_Info_To_String_Map; 116 <a name="l00092"></a>00092 117 <a name="l00094"></a>00094 <span class="keyword">static</span> String_To_UI_Map& mapped_strings(); 118 <a name="l00095"></a>00095 119 <a name="l00097"></a>00097 <span class="keyword">static</span> Type_Info_To_String_Map& mapped_type_infos(); 120 <a name="l00098"></a>00098 121 <a name="l00099"></a>00099 <span class="keyword">public</span>: 122 <a name="l00101"></a>00101 <span class="keyword">static</span> <span class="keywordtype">void</span> add_class( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name, <span class="keyword">const</span> type_info * <span class="keyword">const</span> class_type_info, <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>* <span class="keyword">const</span> ui ); 123 <a name="l00102"></a>00102 124 <a name="l00104"></a>00104 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>& retrieve_ui( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name ); 125 <a name="l00105"></a>00105 126 <a name="l00107"></a>00107 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">string</span>& retrieve_class_name( <span class="keyword">const</span> type_info* <span class="keyword">const</span> class_type_info ); 127 <a name="l00108"></a>00108 }; 128 <a name="l00109"></a>00109 83 <a name="l00020"></a>00020 <span class="preprocessor">#define UIREGISTER(class_name) template<> const Particular_UI<class_name>& Particular_UI<class_name>::ui = Particular_UI<class_name>(#class_name) </span> 84 <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor">#else</span> 85 <a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define UIREGISTER(class_name)</span> 86 <a name="l00023"></a>00023 <span class="preprocessor"></span><span class="preprocessor">#endif</span> 87 <a name="l00024"></a>00024 <span class="preprocessor"></span> 88 <a name="l00025"></a>00025 <span class="preprocessor">#define ASSERT_UITYPE(S,Type) it_assert_debug(S.getType()==Setting::Type, string("Wrong setting type, see input path \"")+string(S.getPath())+string("\""))</span> 89 <a name="l00026"></a>00026 <span class="preprocessor"></span> 90 <a name="l00027"></a>00027 <span class="keyword">namespace </span>bdm 91 <a name="l00028"></a>00028 { 92 <a name="l00029"></a>00029 <span class="keyword">class </span>UI_File : <span class="keyword">public</span> Config 93 <a name="l00030"></a>00030 { 94 <a name="l00031"></a>00031 <span class="keyword">private</span>: 95 <a name="l00032"></a>00032 <span class="keyword">const</span> <span class="keywordtype">string</span> file_name; 96 <a name="l00033"></a>00033 97 <a name="l00034"></a>00034 <span class="keyword">public</span>: 98 <a name="l00036"></a>00036 UI_File(); 99 <a name="l00037"></a>00037 100 <a name="l00039"></a>00039 UI_File( <span class="keyword">const</span> <span class="keywordtype">string</span> &file_name ); 101 <a name="l00040"></a>00040 102 <a name="l00042"></a>00042 <span class="keywordtype">void</span> save(<span class="keyword">const</span> <span class="keywordtype">string</span> &file_name); 103 <a name="l00043"></a>00043 104 <a name="l00044"></a>00044 operator Setting&(); 105 <a name="l00045"></a>00045 }; 106 <a name="l00046"></a>00046 107 <a name="l00078"></a><a class="code" href="classbdm_1_1UI.html">00078</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a> 108 <a name="l00079"></a>00079 { 109 <a name="l00080"></a>00080 <span class="keyword">private</span>: 110 <a name="l00085"></a>00085 <span class="keyword">class </span>Mapped_UI 111 <a name="l00086"></a>00086 { 112 <a name="l00087"></a>00087 <span class="keyword">private</span>: 113 <a name="l00089"></a>00089 <span class="keyword">typedef</span> map< const string, const UI* const > String_To_UI_Map; 114 <a name="l00090"></a>00090 115 <a name="l00092"></a>00092 <span class="keyword">typedef</span> map< const type_info * const, const string > Type_Info_To_String_Map; 116 <a name="l00093"></a>00093 117 <a name="l00095"></a>00095 <span class="keyword">static</span> String_To_UI_Map& mapped_strings(); 118 <a name="l00096"></a>00096 119 <a name="l00098"></a>00098 <span class="keyword">static</span> Type_Info_To_String_Map& mapped_type_infos(); 120 <a name="l00099"></a>00099 121 <a name="l00100"></a>00100 <span class="keyword">public</span>: 122 <a name="l00102"></a>00102 <span class="keyword">static</span> <span class="keywordtype">void</span> add_class( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name, <span class="keyword">const</span> type_info * <span class="keyword">const</span> class_type_info, <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>* <span class="keyword">const</span> ui ); 123 <a name="l00103"></a>00103 124 <a name="l00105"></a>00105 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>& retrieve_ui( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name ); 125 <a name="l00106"></a>00106 126 <a name="l00108"></a>00108 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">string</span>& retrieve_class_name( <span class="keyword">const</span> type_info* <span class="keyword">const</span> class_type_info ); 127 <a name="l00109"></a>00109 }; 129 128 <a name="l00110"></a>00110 130 129 <a name="l00111"></a>00111 131 130 <a name="l00112"></a>00112 132 <a name="l0011 4"></a>00114 <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* new_instance() <span class="keyword">const</span> = 0;133 <a name="l00115"></a>00115 134 <a name="l0011 9"></a>00119 <span class="keyword">static</span> <span class="keyword">const</span> Setting& to_child_setting( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index );135 <a name="l00120"></a>00120 136 <a name="l00121"></a>00121 <span class="keyword">static</span> <span class="keyword">const</span> Setting& to_child_setting( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name );137 <a name="l00122"></a>00122 131 <a name="l00113"></a>00113 132 <a name="l00115"></a>00115 <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* new_instance() <span class="keyword">const</span> = 0; 133 <a name="l00116"></a>00116 134 <a name="l00120"></a>00120 <span class="keyword">static</span> <span class="keyword">const</span> Setting& to_child_setting( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index ); 135 <a name="l00121"></a>00121 136 <a name="l00122"></a>00122 <span class="keyword">static</span> <span class="keyword">const</span> Setting& to_child_setting( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name ); 138 137 <a name="l00123"></a>00123 139 <a name="l0012 6"></a>00126140 <a name="l0012 8"></a>00128 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( mat& matrix, <span class="keyword">const</span> Setting &element );141 <a name="l001 30"></a>00130 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( ivec &vector, <span class="keyword">const</span> Setting &element );142 <a name="l00131"></a>00131 <span class=" comment">// jednak kvuli pretypovani, apak taky proto, ze na string nefunguje link_expander..</span>143 <a name="l00132"></a>00132 <span class=" keyword">static</span> <span class="keywordtype">void</span> from_setting( <span class="keywordtype">string</span> &<a class="code" href="classbdm_1_1str.html" title="Structure of RV (used internally), i.e. expanded RVs - TODO tak proc je ve verejnem...">str</a>, <span class="keyword">const</span> Setting &element );144 <a name="l0013 4"></a>00134145 <a name="l00135"></a>00135 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( vec &vector, <span class="keyword">const</span> Setting &element );146 <a name="l00136"></a>00136 147 <a name="l00137"></a>00137 <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( T* &instance, <span class="keyword">const</span> Setting &element )148 <a name="l00138"></a>00138 {149 <a name="l00139"></a>00139 <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a> link_expander( element );150 <a name="l00140"></a>00140 <span class="keyword">const</span> Setting &root = link_expander.<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html#5b09858b705318e7f23c3077fc62c199">root</a>();151 <a name="l00141"></a>00141 152 <a name="l00142"></a>00142 ASSERT_UITYPE(root,TypeGroup);153 <a name="l00143"></a>00143 154 <a name="l00144"></a>00144 <span class="comment">// we get a velue stored in the "class" attribute </span>155 <a name="l00145"></a>00145 <span class=" keywordtype">string</span> class_name;156 <a name="l00146"></a>00146 <span class="keyword flow">if</span>( !root.lookupValue( <span class="stringliteral">"class"</span>, class_name ) )157 <a name="l00147"></a>00147 ui_error( <span class="stringliteral">"the obligatory "</span><span class="stringliteral">"class"</span><span class="stringliteral">" identifier is missing"</span>, root );158 <a name="l00148"></a>00148 159 <a name="l00149"></a>00149 <span class="comment">// and finally we find a UserInfo related to this type</span>160 <a name="l00150"></a>00150 <span class=" keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>& related_UI = Mapped_UI::retrieve_ui( class_name );161 <a name="l00151"></a>00151 162 <a name="l00152"></a>00152 <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* typeless_instance = related_UI.<a class="code" href="classbdm_1_1UI.html#381571c026cf63837caff2f150315ea3" title="internal method assembling a typeless instance from components obtained by the &#39;AssemblyComponen...">new_instance</a>();163 <a name="l00153"></a>00153 164 <a name="l00154"></a>00154 instance = NULL;165 <a name="l00155"></a>00155 <span class="keywordflow">try</span>166 <a name="l00156"></a>00156 {167 <a name="l00157"></a>00157 instance = (T*) typeless_instance ;168 <a name="l00158"></a>00158 }169 <a name="l00159"></a>00159 <span class="keywordflow">catch</span>(...)170 <a name="l00160"></a>00160 {171 <a name="l00161"></a>00161 it_error ( <span class="stringliteral">"UI error: class "</span> + class_name + <span class="stringliteral">" is not a descendant of the desired output class. Try to call the UI::build function with a different type parameter."</span> );172 <a name="l00162"></a>00162 }173 <a name="l00163"></a>00163 174 <a name="l00164"></a>00164 <span class="keywordflow">try</span>175 <a name="l00165"></a>00165 {176 <a name="l00166"></a>00166 instance->from_setting( root );177 <a name="l00167"></a>00167 }178 <a name="l00168"></a>00168 <span class="keywordflow">catch</span>(SettingException xcptn)179 <a name="l00169"></a>00169 {180 <a name="l00170"></a>00170 it_error ( <span class="stringliteral">"UI error: the method "</span> + class_name + <span class="stringliteral">".from_setting(Setting&) has thrown an exception when parsing the setting "</span> + xcptn.getPath() + <span class="stringliteral">". Try to correct this method."</span> );181 <a name="l00171"></a>00171 }182 <a name="l00172"></a>00172 }183 <a name="l00173"></a>00173 138 <a name="l00124"></a>00124 139 <a name="l00127"></a>00127 140 <a name="l00129"></a>00129 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( mat& matrix, <span class="keyword">const</span> Setting &element ); 141 <a name="l00131"></a>00131 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( ivec &vector, <span class="keyword">const</span> Setting &element ); 142 <a name="l00132"></a>00132 <span class="comment">// jednak kvuli pretypovani, apak taky proto, ze na string nefunguje link_expander..</span> 143 <a name="l00133"></a>00133 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( <span class="keywordtype">string</span> &<a class="code" href="classbdm_1_1str.html" title="Structure of RV (used internally), i.e. expanded RVs - TODO tak proc je ve verejnem...">str</a>, <span class="keyword">const</span> Setting &element ); 144 <a name="l00135"></a>00135 145 <a name="l00136"></a>00136 <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( vec &vector, <span class="keyword">const</span> Setting &element ); 146 <a name="l00137"></a>00137 147 <a name="l00138"></a>00138 <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( T* &instance, <span class="keyword">const</span> Setting &element ) 148 <a name="l00139"></a>00139 { 149 <a name="l00140"></a>00140 <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a> link_expander( element ); 150 <a name="l00141"></a>00141 <span class="keyword">const</span> Setting &root = link_expander.<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html#5b09858b705318e7f23c3077fc62c199">root</a>(); 151 <a name="l00142"></a>00142 152 <a name="l00143"></a>00143 ASSERT_UITYPE(root,TypeGroup); 153 <a name="l00144"></a>00144 154 <a name="l00145"></a>00145 <span class="comment">// we get a velue stored in the "class" attribute </span> 155 <a name="l00146"></a>00146 <span class="keywordtype">string</span> class_name; 156 <a name="l00147"></a>00147 <span class="keywordflow">if</span>( !root.lookupValue( <span class="stringliteral">"class"</span>, class_name ) ) 157 <a name="l00148"></a>00148 ui_error( <span class="stringliteral">"the obligatory "</span><span class="stringliteral">"class"</span><span class="stringliteral">" identifier is missing"</span>, root ); 158 <a name="l00149"></a>00149 159 <a name="l00150"></a>00150 <span class="comment">// and finally we find a UserInfo related to this type</span> 160 <a name="l00151"></a>00151 <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>& related_UI = Mapped_UI::retrieve_ui( class_name ); 161 <a name="l00152"></a>00152 162 <a name="l00153"></a>00153 <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* typeless_instance = related_UI.<a class="code" href="classbdm_1_1UI.html#381571c026cf63837caff2f150315ea3" title="internal method assembling a typeless instance from components obtained by the &#39;AssemblyComponen...">new_instance</a>(); 163 <a name="l00154"></a>00154 164 <a name="l00155"></a>00155 instance = NULL; 165 <a name="l00156"></a>00156 <span class="keywordflow">try</span> 166 <a name="l00157"></a>00157 { 167 <a name="l00158"></a>00158 instance = (T*) typeless_instance ; 168 <a name="l00159"></a>00159 } 169 <a name="l00160"></a>00160 <span class="keywordflow">catch</span>(...) 170 <a name="l00161"></a>00161 { 171 <a name="l00162"></a>00162 it_error ( <span class="stringliteral">"UI error: class "</span> + class_name + <span class="stringliteral">" is not a descendant of the desired output class. Try to call the UI::build function with a different type parameter."</span> ); 172 <a name="l00163"></a>00163 } 173 <a name="l00164"></a>00164 174 <a name="l00165"></a>00165 <span class="keywordflow">try</span> 175 <a name="l00166"></a>00166 { 176 <a name="l00167"></a>00167 instance->from_setting( root ); 177 <a name="l00168"></a>00168 } 178 <a name="l00169"></a>00169 <span class="keywordflow">catch</span>(SettingException xcptn) 179 <a name="l00170"></a>00170 { 180 <a name="l00171"></a>00171 it_error ( <span class="stringliteral">"UI error: the method "</span> + class_name + <span class="stringliteral">".from_setting(Setting&) has thrown an exception when parsing the setting "</span> + xcptn.getPath() + <span class="stringliteral">". Try to correct this method."</span> ); 181 <a name="l00172"></a>00172 } 182 <a name="l00173"></a>00173 } 184 183 <a name="l00174"></a>00174 185 <a name="l0017 6"></a>00176 <span class="comment">// efektivne jen pro vect, mat a string, pro dalsi je nutne pridat from_setting metodu.. ale to asi necceme</span>186 <a name="l00177"></a>00177 <span class=" keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element )187 <a name="l00178"></a>00178 {188 <a name="l00179"></a>00179 <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a> link_expander( element );189 <a name="l00180"></a>00180 <span class="keyword">const</span> Setting &root = link_expander.<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html#5b09858b705318e7f23c3077fc62c199">root</a>();190 <a name="l00181"></a>00181 191 <a name="l00182"></a>00182 ASSERT_UITYPE(root,TypeList);192 <a name="l00183"></a>00183 193 <a name="l00184"></a>00184 <span class="keywordtype">int</span> len = root.getLength();194 <a name="l00185"></a>00185 array_to_load.set_length( len);195 <a name="l00186"></a>00186 <span class="keywordflow">if</span>( len == 0 ) <span class="keywordflow">return</span>;196 <a name="l00187"></a>00187 197 <a name="l00188"></a>00188 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i < len; i++ )198 <a name="l00189"></a>00189 from_setting( array_to_load(i), root[i] );199 <a name="l00190"></a>00190 }200 <a name="l00191"></a>00191 201 <a name="l0019 3"></a>00193184 <a name="l00175"></a>00175 185 <a name="l00177"></a>00177 <span class="comment">// efektivne jen pro vect, mat a string, pro dalsi je nutne pridat from_setting metodu.. ale to asi necceme</span> 186 <a name="l00178"></a>00178 <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> from_setting( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element ) 187 <a name="l00179"></a>00179 { 188 <a name="l00180"></a>00180 <span class="keyword">const</span> <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a> link_expander( element ); 189 <a name="l00181"></a>00181 <span class="keyword">const</span> Setting &root = link_expander.<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html#5b09858b705318e7f23c3077fc62c199">root</a>(); 190 <a name="l00182"></a>00182 191 <a name="l00183"></a>00183 ASSERT_UITYPE(root,TypeList); 192 <a name="l00184"></a>00184 193 <a name="l00185"></a>00185 <span class="keywordtype">int</span> len = root.getLength(); 194 <a name="l00186"></a>00186 array_to_load.set_length( len ); 195 <a name="l00187"></a>00187 <span class="keywordflow">if</span>( len == 0 ) <span class="keywordflow">return</span>; 196 <a name="l00188"></a>00188 197 <a name="l00189"></a>00189 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i < len; i++ ) 198 <a name="l00190"></a>00190 from_setting( array_to_load(i), root[i] ); 199 <a name="l00191"></a>00191 } 200 <a name="l00192"></a>00192 202 201 <a name="l00194"></a>00194 203 <a name="l00195"></a>00195 <span class="keyword">static</span> <span class="keywordtype">void</span> ui_error( <span class="keywordtype">string</span> message, <span class="keyword">const</span> Setting &element );204 <a name="l00196"></a>00196 205 <a name="l00197"></a>00197 <span class="keyword">protected</span>:206 <a name="l0019 9"></a><a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8">00199</a> <a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8" title="default constructor">UI</a>( <span class="keyword">const</span> <span class="keywordtype">string</span>& class_name, <span class="keyword">const</span> type_info * <span class="keyword">const</span> class_type_info )207 <a name="l00200"></a> 00200 {208 <a name="l00201"></a>00201 Mapped_UI::add_class( class_name, class_type_info, <span class="keyword">this</span> );209 <a name="l00202"></a>00202 }210 <a name="l00203"></a>00203 211 <a name="l0020 5"></a><a class="code" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88">00205</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88" title="Virtual destructor for future use;.">~UI</a>(){};212 <a name="l00206"></a> 00206213 <a name="l00207"></a>00207 <span class="keyword">public</span>:214 <a name="l002 11"></a>00211215 <a name="l00212"></a>00212 <span class="comment">// vraci true, kdyz to byl platny link, jinak false.. v pripade chyby konci it_errorem..</span>216 <a name="l00213"></a>00213 <span class="comment">// do elementu vrati setting prislusny po rozbaleni linku, jinak ponecha beze zmeny</span>217 <a name="l00214"></a> <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">00214</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a>218 <a name="l00215"></a> 00215 {219 <a name="l00216"></a>00216 <span class="keyword">private</span>:220 <a name="l00217"></a>00217 UI_File *file;221 <a name="l00218"></a>00218 <span class="keyword">const</span> Setting *result;222 <a name="l00219"></a>00219 223 <a name="l00220"></a>00220 <span class="keyword">public</span>:224 <a name="l00221"></a>00221 225 <a name="l00222"></a>00222 <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a>( <span class="keyword">const</span> Setting &potential_link );226 <a name="l00223"></a>00223 227 <a name="l00224"></a>00224 ~<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a>();228 <a name="l00225"></a>00225 229 <a name="l00226"></a>00226 <span class="keyword">const</span> Setting& root() <span class="keyword">const</span>;230 <a name="l00227"></a>00227 };231 <a name="l00228"></a>00228 202 <a name="l00195"></a>00195 203 <a name="l00196"></a>00196 <span class="keyword">static</span> <span class="keywordtype">void</span> ui_error( <span class="keywordtype">string</span> message, <span class="keyword">const</span> Setting &element ); 204 <a name="l00197"></a>00197 205 <a name="l00198"></a>00198 <span class="keyword">protected</span>: 206 <a name="l00200"></a><a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8">00200</a> <a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8" title="default constructor">UI</a>( <span class="keyword">const</span> <span class="keywordtype">string</span>& class_name, <span class="keyword">const</span> type_info * <span class="keyword">const</span> class_type_info ) 207 <a name="l00201"></a>00201 { 208 <a name="l00202"></a>00202 Mapped_UI::add_class( class_name, class_type_info, <span class="keyword">this</span> ); 209 <a name="l00203"></a>00203 } 210 <a name="l00204"></a>00204 211 <a name="l00206"></a><a class="code" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88">00206</a> <span class="keyword">virtual</span> <a class="code" href="classbdm_1_1UI.html#95a5a0e160bf21357f99a9291b0b5e88" title="Virtual destructor for future use;.">~UI</a>(){}; 212 <a name="l00207"></a>00207 213 <a name="l00208"></a>00208 <span class="keyword">public</span>: 214 <a name="l00212"></a>00212 215 <a name="l00213"></a>00213 <span class="comment">// vraci true, kdyz to byl platny link, jinak false.. v pripade chyby konci it_errorem..</span> 216 <a name="l00214"></a>00214 <span class="comment">// do elementu vrati setting prislusny po rozbaleni linku, jinak ponecha beze zmeny</span> 217 <a name="l00215"></a><a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">00215</a> <span class="keyword">class </span><a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a> 218 <a name="l00216"></a>00216 { 219 <a name="l00217"></a>00217 <span class="keyword">private</span>: 220 <a name="l00218"></a>00218 UI_File *file; 221 <a name="l00219"></a>00219 <span class="keyword">const</span> Setting *result; 222 <a name="l00220"></a>00220 223 <a name="l00221"></a>00221 <span class="keyword">public</span>: 224 <a name="l00222"></a>00222 225 <a name="l00223"></a>00223 <a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a>( <span class="keyword">const</span> Setting &potential_link ); 226 <a name="l00224"></a>00224 227 <a name="l00225"></a>00225 ~<a class="code" href="classbdm_1_1UI_1_1SettingsResolver.html">SettingsResolver</a>(); 228 <a name="l00226"></a>00226 229 <a name="l00227"></a>00227 <span class="keyword">const</span> Setting& root() <span class="keyword">const</span>; 230 <a name="l00228"></a>00228 }; 232 231 <a name="l00229"></a>00229 233 232 <a name="l00230"></a>00230 234 <a name="l0023 2"></a><a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125">00232</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> T* <a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125" title="Prototype of a UI builder. Return value is by the second argument since it type checking...">build</a>( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index )235 <a name="l00233"></a> 00233 {236 <a name="l00234"></a>00234 T* instance;237 <a name="l00235"></a>00235 from_setting<T>( to_child_setting( element, index ) );238 <a name="l00236"></a>00236 <span class="keywordflow">return</span> instance;239 <a name="l00237"></a>00237 }240 <a name="l00238"></a>00238 241 <a name="l00239"></a>00239 <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> T* <a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125" title="Prototype of a UI builder. Return value is by the second argument since it type checking...">build</a>( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name )242 <a name="l00240"></a>00240 {243 <a name="l00241"></a>00241 T* instance;244 <a name="l00242"></a>00242 from_setting<T>( instance, to_child_setting( element, name ) );245 <a name="l00243"></a>00243 <span class="keywordflow">return</span> instance;246 <a name="l00244"></a>00244 }247 <a name="l00245"></a>00245 248 <a name="l0024 7"></a><a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2">00247</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( T &instance, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name )249 <a name="l00248"></a> 00248 {250 <a name="l00249"></a>00249 from_setting( instance, to_child_setting( element, name ) );251 <a name="l00250"></a>00250 }252 <a name="l00251"></a>00251 253 <a name="l0025 3"></a><a class="code" href="classbdm_1_1UI.html#3d04bb3d7dbcf0da0b4d5d3d5b7df51a">00253</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( T &instance, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index )254 <a name="l00254"></a> 00254 {255 <a name="l00255"></a>00255 from_setting( instance, to_child_setting( element, index ) );256 <a name="l00256"></a>00256 }257 <a name="l00257"></a>00257 258 <a name="l0025 9"></a><a class="code" href="classbdm_1_1UI.html#00bb5f2a328d272b0a3ffbda1a902d54">00259</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name )259 <a name="l00260"></a> 00260 {260 <a name="l00261"></a>00261 from_setting( array_to_load, to_child_setting( element, name ) );261 <a name="l00262"></a>00262 }262 <a name="l00263"></a>00263 263 <a name="l0026 5"></a><a class="code" href="classbdm_1_1UI.html#b6a224b6aea027e167d3d565b39144e0">00265</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index )264 <a name="l00266"></a> 00266 {265 <a name="l00267"></a>00267 from_setting( array_to_load, to_child_setting( element, index ) );266 <a name="l00268"></a>00268 }267 <a name="l00269"></a>00269 268 <a name="l00270"></a>00270 <span class="keyword">template</span>< <span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> T * <span class="keyword">const</span> instance, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span>)269 <a name="l00271"></a>00271 {270 <a name="l00272"></a>00272 Setting &root = (name == <span class="stringliteral">""</span>) ? element.add( Setting::TypeGroup )271 <a name="l00273"></a>00273 : element.add( name, Setting::TypeGroup );272 <a name="l00274"></a>00274 273 <a name="l00275"></a>00275 <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name = Mapped_UI::retrieve_class_name( &<span class="keyword">typeid</span>(*instance) );274 <a name="l00276"></a>00276 275 <a name="l00277"></a>00277 <span class="comment">// add attribute "class" </span>276 <a name="l00278"></a>00278 Setting &type = root.add( <span class="stringliteral">"class"</span>, Setting::TypeString );277 <a name="l00279"></a>00279 type = class_name;278 <a name="l00280"></a>00280 279 <a name="l00281"></a>00281 <span class="keywordflow">try</span>280 <a name="l00282"></a>00282 {281 <a name="l00283"></a>00283 instance->to_setting( root );282 <a name="l00284"></a>00284 }283 <a name="l00285"></a>00285 <span class="keywordflow">catch</span>(SettingException xcptn)284 <a name="l00286"></a>00286 {285 <a name="l00287"></a>00287 it_error ( <span class="stringliteral">"UI error: the method "</span> + class_name + <span class="stringliteral">".to_setting(Setting&) has thrown an exception when filling the setting "</span> + xcptn.getPath() + <span class="stringliteral">". Try to correct this method."</span> );286 <a name="l00288"></a>00288 }287 <a name="l00289"></a>00289 }288 <a name="l00290"></a>00290 289 <a name="l0029 2"></a><a class="code" href="classbdm_1_1UI.html#4514f93573a9d9126c506d176fbd3163">00292</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> Array<T> &array_to_save, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> )290 <a name="l00293"></a> 00293 {291 <a name="l00294"></a>00294 ASSERT_UITYPE(element,TypeGroup);292 <a name="l00295"></a>00295 Setting &list = (name == <span class="stringliteral">""</span>) ? element.add( Setting::TypeList )293 <a name="l00296"></a>00296 : element.add( name, Setting::TypeList );294 <a name="l00297"></a>00297 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i<array_to_save.length(); i++ )295 <a name="l00298"></a>00298 save( array_to_save(i), list );296 <a name="l00299"></a>00299 }297 <a name="l00300"></a>00300 233 <a name="l00231"></a>00231 234 <a name="l00233"></a><a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125">00233</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> T* <a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125" title="Prototype of a UI builder. Return value is by the second argument since it type checking...">build</a>( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index ) 235 <a name="l00234"></a>00234 { 236 <a name="l00235"></a>00235 T* instance; 237 <a name="l00236"></a>00236 from_setting<T>( to_child_setting( element, index ) ); 238 <a name="l00237"></a>00237 <span class="keywordflow">return</span> instance; 239 <a name="l00238"></a>00238 } 240 <a name="l00239"></a>00239 241 <a name="l00240"></a>00240 <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> T* <a class="code" href="classbdm_1_1UI.html#f0eccc7bbe4b680f3e1cb84b455a1125" title="Prototype of a UI builder. Return value is by the second argument since it type checking...">build</a>( <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name ) 242 <a name="l00241"></a>00241 { 243 <a name="l00242"></a>00242 T* instance; 244 <a name="l00243"></a>00243 from_setting<T>( instance, to_child_setting( element, name ) ); 245 <a name="l00244"></a>00244 <span class="keywordflow">return</span> instance; 246 <a name="l00245"></a>00245 } 247 <a name="l00246"></a>00246 248 <a name="l00248"></a><a class="code" href="classbdm_1_1UI.html#652bfd23f5052e4f1cb317057d74a3e2">00248</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( T &instance, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name ) 249 <a name="l00249"></a>00249 { 250 <a name="l00250"></a>00250 from_setting( instance, to_child_setting( element, name ) ); 251 <a name="l00251"></a>00251 } 252 <a name="l00252"></a>00252 253 <a name="l00254"></a><a class="code" href="classbdm_1_1UI.html#3d04bb3d7dbcf0da0b4d5d3d5b7df51a">00254</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( T &instance, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index ) 254 <a name="l00255"></a>00255 { 255 <a name="l00256"></a>00256 from_setting( instance, to_child_setting( element, index ) ); 256 <a name="l00257"></a>00257 } 257 <a name="l00258"></a>00258 258 <a name="l00260"></a><a class="code" href="classbdm_1_1UI.html#00bb5f2a328d272b0a3ffbda1a902d54">00260</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name ) 259 <a name="l00261"></a>00261 { 260 <a name="l00262"></a>00262 from_setting( array_to_load, to_child_setting( element, name ) ); 261 <a name="l00263"></a>00263 } 262 <a name="l00264"></a>00264 263 <a name="l00266"></a><a class="code" href="classbdm_1_1UI.html#b6a224b6aea027e167d3d565b39144e0">00266</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> <span class="keyword">get</span>( Array<T> &array_to_load, <span class="keyword">const</span> Setting &element, <span class="keyword">const</span> <span class="keywordtype">int</span> index ) 264 <a name="l00267"></a>00267 { 265 <a name="l00268"></a>00268 from_setting( array_to_load, to_child_setting( element, index ) ); 266 <a name="l00269"></a>00269 } 267 <a name="l00270"></a>00270 268 <a name="l00271"></a>00271 <span class="keyword">template</span>< <span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> T * <span class="keyword">const</span> instance, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span>) 269 <a name="l00272"></a>00272 { 270 <a name="l00273"></a>00273 Setting &root = (name == <span class="stringliteral">""</span>) ? element.add( Setting::TypeGroup ) 271 <a name="l00274"></a>00274 : element.add( name, Setting::TypeGroup ); 272 <a name="l00275"></a>00275 273 <a name="l00276"></a>00276 <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name = Mapped_UI::retrieve_class_name( &<span class="keyword">typeid</span>(*instance) ); 274 <a name="l00277"></a>00277 275 <a name="l00278"></a>00278 <span class="comment">// add attribute "class" </span> 276 <a name="l00279"></a>00279 Setting &type = root.add( <span class="stringliteral">"class"</span>, Setting::TypeString ); 277 <a name="l00280"></a>00280 type = class_name; 278 <a name="l00281"></a>00281 279 <a name="l00282"></a>00282 <span class="keywordflow">try</span> 280 <a name="l00283"></a>00283 { 281 <a name="l00284"></a>00284 instance->to_setting( root ); 282 <a name="l00285"></a>00285 } 283 <a name="l00286"></a>00286 <span class="keywordflow">catch</span>(SettingException xcptn) 284 <a name="l00287"></a>00287 { 285 <a name="l00288"></a>00288 it_error ( <span class="stringliteral">"UI error: the method "</span> + class_name + <span class="stringliteral">".to_setting(Setting&) has thrown an exception when filling the setting "</span> + xcptn.getPath() + <span class="stringliteral">". Try to correct this method."</span> ); 286 <a name="l00289"></a>00289 } 287 <a name="l00290"></a>00290 } 288 <a name="l00291"></a>00291 289 <a name="l00293"></a><a class="code" href="classbdm_1_1UI.html#4514f93573a9d9126c506d176fbd3163">00293</a> <span class="keyword">template</span><<span class="keyword">class</span> T> <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> Array<T> &array_to_save, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> ) 290 <a name="l00294"></a>00294 { 291 <a name="l00295"></a>00295 ASSERT_UITYPE(element,TypeGroup); 292 <a name="l00296"></a>00296 Setting &list = (name == <span class="stringliteral">""</span>) ? element.add( Setting::TypeList ) 293 <a name="l00297"></a>00297 : element.add( name, Setting::TypeList ); 294 <a name="l00298"></a>00298 <span class="keywordflow">for</span>( <span class="keywordtype">int</span> i=0; i<array_to_save.length(); i++ ) 295 <a name="l00299"></a>00299 save( array_to_save(i), list ); 296 <a name="l00300"></a>00300 } 298 297 <a name="l00301"></a>00301 299 <a name="l0030 3"></a>00303 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> mat &matrix, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> );300 <a name="l00304"></a>00304 301 <a name="l0030 6"></a>00306 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> ivec &vec, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> );302 <a name="l00307"></a>00307 303 <a name="l00308"></a>00308 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> vec &vector, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name);304 <a name="l00309"></a>00309 305 <a name="l00310"></a>00310 <span class="keyword">private</span>:306 <a name="l0031 2"></a>00312 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> <span class="keywordtype">string</span> &str, Setting &element);307 <a name="l00313"></a>00313 308 <a name="l00314"></a>00314 };309 <a name="l00315"></a>00315 298 <a name="l00302"></a>00302 299 <a name="l00304"></a>00304 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> mat &matrix, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> ); 300 <a name="l00305"></a>00305 301 <a name="l00307"></a>00307 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> ivec &vec, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name = <span class="stringliteral">""</span> ); 302 <a name="l00308"></a>00308 303 <a name="l00309"></a>00309 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> vec &vector, Setting &element, <span class="keyword">const</span> <span class="keywordtype">string</span> &name); 304 <a name="l00310"></a>00310 305 <a name="l00311"></a>00311 <span class="keyword">private</span>: 306 <a name="l00313"></a>00313 <span class="keyword">static</span> <span class="keywordtype">void</span> save( <span class="keyword">const</span> <span class="keywordtype">string</span> &str, Setting &element); 307 <a name="l00314"></a>00314 308 <a name="l00315"></a>00315 }; 310 309 <a name="l00316"></a>00316 311 <a name="l003 22"></a><a class="code" href="classbdm_1_1Particular__UI.html">00322</a> <span class="keyword">template</span><<span class="keyword">typename</span> T> <span class="keyword">class </span><a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI</a> : <span class="keyword">private</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a>312 <a name="l00323"></a> 00323 {313 <a name="l00324"></a>00324 <span class="keyword">public</span>:314 <a name="l00325"></a>00325 315 <a name="l0032 7"></a>00327 <a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI<T></a>( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name) : <a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8" title="default constructor">UI</a>( class_name, &<span class="keyword">typeid</span>(T) )316 <a name="l00328"></a>00328 { cout << class_name << endl;317 <a name="l00329"></a> <a class="code" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">00329</a> };318 <a name="l00330"></a> 00330319 <a name="l0033 3"></a>00333 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI<T></a>& <a class="code" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">ui</a>;320 <a name="l00334"></a>00334 321 <a name="l00335"></a> <a class="code" href="classbdm_1_1Particular__UI.html#6ae004150ae2de7645c62219c74340ff">00335</a> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* <a class="code" href="classbdm_1_1Particular__UI.html#6ae004150ae2de7645c62219c74340ff" title="internal method assembling a typeless instance from components obtained by the &#39;AssemblyComponen...">new_instance</a>()<span class="keyword"> const</span>322 <a name="l00336"></a> 00336 <span class="keyword"> </span>{323 <a name="l00337"></a>00337 <span class="keywordflow">return</span> <span class="keyword">new</span> T();324 <a name="l00338"></a>00338 }325 <a name="l00339"></a>00339 };326 <a name="l00340"></a>00340 310 <a name="l00317"></a>00317 311 <a name="l00323"></a><a class="code" href="classbdm_1_1Particular__UI.html">00323</a> <span class="keyword">template</span><<span class="keyword">typename</span> T> <span class="keyword">class </span><a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI</a> : <span class="keyword">private</span> <a class="code" href="classbdm_1_1UI.html" title="This class serves to load and/or save DOMElements into/from files stored on a hard-disk...">UI</a> 312 <a name="l00324"></a>00324 { 313 <a name="l00325"></a>00325 <span class="keyword">public</span>: 314 <a name="l00326"></a>00326 315 <a name="l00328"></a>00328 <a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI<T></a>( <span class="keyword">const</span> <span class="keywordtype">string</span> &class_name) : <a class="code" href="classbdm_1_1UI.html#d60234c0673f345424329894b9b0cef8" title="default constructor">UI</a>( class_name, &<span class="keyword">typeid</span>(T) ) 316 <a name="l00329"></a>00329 { cout << class_name << endl; 317 <a name="l00330"></a><a class="code" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">00330</a> }; 318 <a name="l00331"></a>00331 319 <a name="l00334"></a>00334 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="classbdm_1_1Particular__UI.html" title="The main userinfo template class. You should derive this class whenever you need...">Particular_UI<T></a>& <a class="code" href="classbdm_1_1Particular__UI.html#ca33b00e0c341706003930c4b20a1e36">ui</a>; 320 <a name="l00335"></a>00335 321 <a name="l00336"></a><a class="code" href="classbdm_1_1Particular__UI.html#6ae004150ae2de7645c62219c74340ff">00336</a> <a class="code" href="classbdm_1_1bdmroot.html" title="Root class of BDM objects.">bdmroot</a>* <a class="code" href="classbdm_1_1Particular__UI.html#6ae004150ae2de7645c62219c74340ff" title="internal method assembling a typeless instance from components obtained by the &#39;AssemblyComponen...">new_instance</a>()<span class="keyword"> const</span> 322 <a name="l00337"></a>00337 <span class="keyword"> </span>{ 323 <a name="l00338"></a>00338 <span class="keywordflow">return</span> <span class="keyword">new</span> T(); 324 <a name="l00339"></a>00339 } 325 <a name="l00340"></a>00340 }; 327 326 <a name="l00341"></a>00341 328 327 <a name="l00342"></a>00342 329 328 <a name="l00343"></a>00343 330 <a name="l00344"></a>00344 } 331 <a name="l00345"></a>00345 332 <a name="l00369"></a>00369 <span class="preprocessor">#endif // #ifndef USER_INFO_H</span> 329 <a name="l00344"></a>00344 330 <a name="l00345"></a>00345 } 331 <a name="l00346"></a>00346 332 <a name="l00370"></a>00370 <span class="preprocessor">#endif // #ifndef USER_INFO_H</span> 333 333 </pre></div></div> 334 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 334 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 335 335 <a href="http://www.doxygen.org/index.html"> 336 336 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> -
TabularUnified library/doc/html/vector_and_matrix.html ¶
r375 r384 115 115 </pre></div><p> 116 116 If this is what you see, then congratulations! You have managed to compile your first it++ program! </div> 117 <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jun 15 13:47:072009 for mixpp by 117 <hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 17 14:13:28 2009 for mixpp by 118 118 <a href="http://www.doxygen.org/index.html"> 119 119 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>