Show
Ignore:
Timestamp:
08/30/09 22:13:15 (15 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

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

    r590 r591  
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
    2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 
     1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
     2<html xmlns="http://www.w3.org/1999/xhtml"> 
     3<head> 
     4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> 
    35<title>mixpp: bdm::eEF Class Reference</title> 
    4 <link href="tabs.css" rel="stylesheet" type="text/css"> 
    5 <link href="doxygen.css" rel="stylesheet" type="text/css"> 
    6 </head><body> 
    7 <!-- Generated by Doxygen 1.5.8 --> 
     6<link href="tabs.css" rel="stylesheet" type="text/css"/> 
     7<link href="doxygen.css" rel="stylesheet" type="text/css"/> 
     8</head> 
     9<body> 
     10<!-- Generated by Doxygen 1.6.1 --> 
    811<script type="text/javascript"> 
    912<!-- 
     
    6871</div> 
    6972<div class="contents"> 
    70 <h1>bdm::eEF Class Reference</h1><!-- doxytag: class="bdm::eEF" --><!-- doxytag: inherits="bdm::epdf" -->General conjugate exponential family posterior density.   
    71 <a href="#_details">More...</a> 
    72 <p> 
    73 <code>#include &lt;<a class="el" href="exp__family_8h-source.html">exp_family.h</a>&gt;</code> 
    74 <p> 
    75  
    76 <p> 
    77 <a href="classbdm_1_1eEF-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> 
    78 <tr><td></td></tr> 
    79 <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> 
    80 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d5459d472d0feca7cf1fb5f65c4b9ef4"></a><!-- doxytag: member="bdm::eEF::eEF" ref="d5459d472d0feca7cf1fb5f65c4b9ef4" args="()" --> 
    81 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#d5459d472d0feca7cf1fb5f65c4b9ef4">eEF</a> ()</td></tr> 
    82  
    83 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default constructor <br></td></tr> 
    84 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cd678fc9b02007a4b8d6692e746f1bf8"></a><!-- doxytag: member="bdm::eEF::lognc" ref="cd678fc9b02007a4b8d6692e746f1bf8" args="() const =0" --> 
    85 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#cd678fc9b02007a4b8d6692e746f1bf8">lognc</a> () const =0</td></tr> 
    86  
    87 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_89.png"> <br></td></tr> 
    88 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4135778ecd9ab774762936c82a097c6"></a><!-- doxytag: member="bdm::eEF::evallog_nn" ref="a4135778ecd9ab774762936c82a097c6" args="(const vec &amp;val) const " --> 
    89 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#a4135778ecd9ab774762936c82a097c6">evallog_nn</a> (const vec &amp;val) const </td></tr> 
    90  
    91 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> 
    92 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a36d06ecdd6f4c79dc122510eaccc692"></a><!-- doxytag: member="bdm::eEF::evallog" ref="a36d06ecdd6f4c79dc122510eaccc692" args="(const vec &amp;val) const " --> 
    93 virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#a36d06ecdd6f4c79dc122510eaccc692">evallog</a> (const vec &amp;val) const </td></tr> 
    94  
    95 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br></td></tr> 
    96 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6886c60b6b690e503913240db5de0c6f"></a><!-- doxytag: member="bdm::eEF::evallog_m" ref="6886c60b6b690e503913240db5de0c6f" args="(const mat &amp;Val) const " --> 
    97 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#6886c60b6b690e503913240db5de0c6f">evallog_m</a> (const mat &amp;Val) const </td></tr> 
    98  
    99 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br></td></tr> 
    100 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d793f4fd6d0dcec5f16bff0ae45fc7d5"></a><!-- doxytag: member="bdm::eEF::evallog_m" ref="d793f4fd6d0dcec5f16bff0ae45fc7d5" args="(const Array&lt; vec &gt; &amp;Val) const " --> 
    101 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#d793f4fd6d0dcec5f16bff0ae45fc7d5">evallog_m</a> (const Array&lt; vec &gt; &amp;Val) const </td></tr> 
    102  
    103 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br></td></tr> 
    104 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="cf38af29e8e3d650c640509a52396053"></a><!-- doxytag: member="bdm::eEF::pow" ref="cf38af29e8e3d650c640509a52396053" args="(double p)" --> 
    105 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#cf38af29e8e3d650c640509a52396053">pow</a> (double p)</td></tr> 
    106  
    107 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br></td></tr> 
    108 <tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#fa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &amp;set)</td></tr> 
    109  
    110 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eEF::to_string" ref="af0e6941ba5919cae1bc530e2181b109" args="()" --> 
    111 virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#af0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
    112  
    113 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br></td></tr> 
    114 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::eEF::to_setting" ref="67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
    115 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
    116  
    117 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br></td></tr> 
    118 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::eEF::validate" ref="1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
    119 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
    120  
    121 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br></td></tr> 
     73<h1>bdm::eEF Class Reference</h1><!-- doxytag: class="bdm::eEF" --><!-- doxytag: inherits="bdm::epdf" --> 
     74<p>General conjugate exponential family posterior density.   
     75<a href="#_details">More...</a></p> 
     76 
     77<p><code>#include &lt;<a class="el" href="exp__family_8h_source.html">exp_family.h</a>&gt;</code></p> 
     78 
     79<p><a href="classbdm_1_1eEF-members.html">List of all members.</a></p> 
     80<table border="0" cellpadding="0" cellspacing="0"> 
     81<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> 
     82<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad5459d472d0feca7cf1fb5f65c4b9ef4"></a><!-- doxytag: member="bdm::eEF::eEF" ref="ad5459d472d0feca7cf1fb5f65c4b9ef4" args="()" --> 
     83&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#ad5459d472d0feca7cf1fb5f65c4b9ef4">eEF</a> ()</td></tr> 
     84<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default constructor <br/></td></tr> 
     85<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd678fc9b02007a4b8d6692e746f1bf8"></a><!-- doxytag: member="bdm::eEF::lognc" ref="acd678fc9b02007a4b8d6692e746f1bf8" args="() const =0" --> 
     86virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#acd678fc9b02007a4b8d6692e746f1bf8">lognc</a> () const =0</td></tr> 
     87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">logarithm of the normalizing constant, <img class="formulaInl" alt="$\mathcal{I}$" src="form_89.png"/> <br/></td></tr> 
     88<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4135778ecd9ab774762936c82a097c6"></a><!-- doxytag: member="bdm::eEF::evallog_nn" ref="aa4135778ecd9ab774762936c82a097c6" args="(const vec &amp;val) const " --> 
     89virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#aa4135778ecd9ab774762936c82a097c6">evallog_nn</a> (const vec &amp;val) const </td></tr> 
     90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br/></td></tr> 
     91<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa36d06ecdd6f4c79dc122510eaccc692"></a><!-- doxytag: member="bdm::eEF::evallog" ref="aa36d06ecdd6f4c79dc122510eaccc692" args="(const vec &amp;val) const " --> 
     92virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#aa36d06ecdd6f4c79dc122510eaccc692">evallog</a> (const vec &amp;val) const </td></tr> 
     93<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability. <br/></td></tr> 
     94<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6886c60b6b690e503913240db5de0c6f"></a><!-- doxytag: member="bdm::eEF::evallog_m" ref="a6886c60b6b690e503913240db5de0c6f" args="(const mat &amp;Val) const " --> 
     95virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#a6886c60b6b690e503913240db5de0c6f">evallog_m</a> (const mat &amp;Val) const </td></tr> 
     96<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br/></td></tr> 
     97<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad793f4fd6d0dcec5f16bff0ae45fc7d5"></a><!-- doxytag: member="bdm::eEF::evallog_m" ref="ad793f4fd6d0dcec5f16bff0ae45fc7d5" args="(const Array&lt; vec &gt; &amp;Val) const " --> 
     98virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#ad793f4fd6d0dcec5f16bff0ae45fc7d5">evallog_m</a> (const Array&lt; vec &gt; &amp;Val) const </td></tr> 
     99<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Evaluate normalized log-probability for many samples. <br/></td></tr> 
     100<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf38af29e8e3d650c640509a52396053"></a><!-- doxytag: member="bdm::eEF::pow" ref="acf38af29e8e3d650c640509a52396053" args="(double p)" --> 
     101virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1eEF.html#acf38af29e8e3d650c640509a52396053">pow</a> (double p)</td></tr> 
     102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Power of the density, used e.g. to flatten the density. <br/></td></tr> 
     103<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#afa9efc98a065b31c630fe18cc418f725">from_setting</a> (const Setting &amp;set)</td></tr> 
     104<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf0e6941ba5919cae1bc530e2181b109"></a><!-- doxytag: member="bdm::eEF::to_string" ref="aaf0e6941ba5919cae1bc530e2181b109" args="()" --> 
     105virtual string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#aaf0e6941ba5919cae1bc530e2181b109">to_string</a> ()</td></tr> 
     106<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method returns a basic info about the current instance. <br/></td></tr> 
     107<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67d954d255ede776eade7334d4895790"></a><!-- doxytag: member="bdm::eEF::to_setting" ref="a67d954d255ede776eade7334d4895790" args="(Setting &amp;set) const " --> 
     108virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a67d954d255ede776eade7334d4895790">to_setting</a> (Setting &amp;set) const </td></tr> 
     109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method save all the instance properties into the Setting structure. <br/></td></tr> 
     110<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c314bd6d6dacb8ba78ea5eb88fd9516"></a><!-- doxytag: member="bdm::eEF::validate" ref="a1c314bd6d6dacb8ba78ea5eb88fd9516" args="()" --> 
     111virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1root.html#a1c314bd6d6dacb8ba78ea5eb88fd9516">validate</a> ()</td></tr> 
     112<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method TODO. <br/></td></tr> 
    122113<tr><td colspan="2"><div class="groupHeader">Constructors</div></td></tr> 
    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> 
     114<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp559a25fdb98a7d1fd1c3771ac568d5e9"></a> 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: </p> 
     115<ul> 
    124116<li>empty constructor, </li> 
    125117<li>copy constructor,</li> 
    126118</ul> 
    127 The following constructors should be supported for convenience: <ul> 
     119<p>The following constructors should be supported for convenience: </p> 
     120<ul> 
    128121<li>constructor followed by calling <code>set_parameters()</code> </li> 
    129 <li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li> 
     122<li>constructor accepting random variables calling <code><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff" title="Name its rv.">set_rv()</a></code> </li> 
    130123</ul> 
    131 All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. <br><br></div></td></tr> 
    132 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eEF::set_parameters" ref="840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
     124<p>All internal data structures are constructed as empty. Their values (including sizes) will be set by method <code>set_parameters()</code>. This way references can be initialized in constructors. </p> 
     125<br/><br/></div></td></tr> 
     126<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a840de94aa33cf4f2ebd2427f45a165d8"></a><!-- doxytag: member="bdm::eEF::set_parameters" ref="a840de94aa33cf4f2ebd2427f45a165d8" args="(int dim0)" --> 
    133127void&nbsp;</td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (int dim0)</td></tr> 
    134  
    135128<tr><td colspan="2"><div class="groupHeader">Matematical Operations</div></td></tr> 
    136 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::eEF::sample" ref="75ba57a89681a8efec488f5796c7cc1b" args="() const " --> 
    137 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </td></tr> 
    138  
    139 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png">. <br></td></tr> 
    140 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEF::sample_m" ref="b4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
    141 virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#b4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 
    142  
    143 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png">. <br></td></tr> 
    144 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eEF::condition" ref="1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " --> 
    145 virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 
    146  
    147 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br></td></tr> 
    148 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::eEF::marginal" ref="a84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " --> 
    149 virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 
    150  
    151 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br></td></tr> 
    152 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0c8d13d788094605b3cdab20a6e22b75"></a><!-- doxytag: member="bdm::eEF::mean" ref="0c8d13d788094605b3cdab20a6e22b75" args="() const " --> 
    153 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0c8d13d788094605b3cdab20a6e22b75">mean</a> () const </td></tr> 
    154  
    155 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br></td></tr> 
    156 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4543d40ccfc5d549b0c831a57a3ed84c"></a><!-- doxytag: member="bdm::eEF::variance" ref="4543d40ccfc5d549b0c831a57a3ed84c" args="() const " --> 
    157 virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#4543d40ccfc5d549b0c831a57a3ed84c">variance</a> () const </td></tr> 
    158  
    159 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br></td></tr> 
    160 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::eEF::qbounds" ref="0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " --> 
    161 virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr> 
    162  
    163 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br></td></tr> 
     129<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp96552c993870a5dd6bb0ea321f1ceb78"></a> </p> 
     130<br/><br/></div></td></tr> 
     131<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75ba57a89681a8efec488f5796c7cc1b"></a><!-- doxytag: member="bdm::eEF::sample" ref="a75ba57a89681a8efec488f5796c7cc1b" args="() const " --> 
     132virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a75ba57a89681a8efec488f5796c7cc1b">sample</a> () const </td></tr> 
     133<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a sample, <img class="formulaInl" alt="$ x $" src="form_7.png"/> from density <img class="formulaInl" alt="$ f_x()$" src="form_8.png"/>. <br/></td></tr> 
     134<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cf45fd83cc7573ede9fe1215256058"></a><!-- doxytag: member="bdm::eEF::sample_m" ref="ab4cf45fd83cc7573ede9fe1215256058" args="(int N) const " --> 
     135virtual mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ab4cf45fd83cc7573ede9fe1215256058">sample_m</a> (int N) const </td></tr> 
     136<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns N samples, <img class="formulaInl" alt="$ [x_1 , x_2 , \ldots \ $" src="form_9.png"/> from density <img class="formulaInl" alt="$ f_x(rv)$" src="form_10.png"/>. <br/></td></tr> 
     137<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1499d35b79bce0cfa64fc5cafb9c03b2"></a><!-- doxytag: member="bdm::eEF::condition" ref="a1499d35b79bce0cfa64fc5cafb9c03b2" args="(const RV &amp;rv) const " --> 
     138virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1mpdf.html">mpdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a1499d35b79bce0cfa64fc5cafb9c03b2">condition</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 
     139<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return conditional density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remaining rvs will be in conditioning. <br/></td></tr> 
     140<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa84b05f5293cab2aeb4e07faffa60906"></a><!-- doxytag: member="bdm::eEF::marginal" ref="aa84b05f5293cab2aeb4e07faffa60906" args="(const RV &amp;rv) const " --> 
     141virtual <a class="el" href="classbdm_1_1shared__ptr.html">shared_ptr</a>&lt; <a class="el" href="classbdm_1_1epdf.html">epdf</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa84b05f5293cab2aeb4e07faffa60906">marginal</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;<a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a>) const </td></tr> 
     142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return marginal density on the given <a class="el" href="classbdm_1_1RV.html" title="Class representing variables, most often random variables.">RV</a>, the remainig rvs are intergrated out. <br/></td></tr> 
     143<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c8d13d788094605b3cdab20a6e22b75"></a><!-- doxytag: member="bdm::eEF::mean" ref="a0c8d13d788094605b3cdab20a6e22b75" args="() const " --> 
     144virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0c8d13d788094605b3cdab20a6e22b75">mean</a> () const </td></tr> 
     145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected value <br/></td></tr> 
     146<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4543d40ccfc5d549b0c831a57a3ed84c"></a><!-- doxytag: member="bdm::eEF::variance" ref="a4543d40ccfc5d549b0c831a57a3ed84c" args="() const " --> 
     147virtual vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4543d40ccfc5d549b0c831a57a3ed84c">variance</a> () const </td></tr> 
     148<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return expected variance (not covariance!) <br/></td></tr> 
     149<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0a7705e80601957f7226d333a0a6d539"></a><!-- doxytag: member="bdm::eEF::qbounds" ref="a0a7705e80601957f7226d333a0a6d539" args="(vec &amp;lb, vec &amp;ub, double percentage=0.95) const " --> 
     150virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a0a7705e80601957f7226d333a0a6d539">qbounds</a> (vec &amp;lb, vec &amp;ub, double percentage=0.95) const </td></tr> 
     151<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Lower and upper bounds of <code>percentage</code> % quantile, returns mean-2*sigma as default. <br/></td></tr> 
    164152<tr><td colspan="2"><div class="groupHeader">Connection to other classes</div></td></tr> 
    165 <tr><td colspan="2"><div class="groupText">Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: <br><br></div></td></tr> 
    166 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eEF::set_rv" ref="f423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
    167 void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#f423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr> 
    168  
    169 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br></td></tr> 
    170 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEF::isnamed" ref="c4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
    171 bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#c4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 
    172  
    173 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br></td></tr> 
    174 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEF::_rv" ref="a4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 
    175 const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 
    176  
    177 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br></td></tr> 
     153<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp14fc6e1cb822e9dfc5edc16c20fabe11"></a> Description of the random quantity via attribute <code>rv</code> is optional. For operations such as sampling <code>rv</code> does not need to be set. However, for <code>marginalization</code> and <code>conditioning</code> <code>rv</code> has to be set. NB: </p> 
     154<br/><br/></div></td></tr> 
     155<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af423e28448dbb69ef4905295ec8de8ff"></a><!-- doxytag: member="bdm::eEF::set_rv" ref="af423e28448dbb69ef4905295ec8de8ff" args="(const RV &amp;rv0)" --> 
     156void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#af423e28448dbb69ef4905295ec8de8ff">set_rv</a> (const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;rv0)</td></tr> 
     157<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Name its rv. <br/></td></tr> 
     158<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac4b863ff84c7a4882fb3ad18556027f9"></a><!-- doxytag: member="bdm::eEF::isnamed" ref="ac4b863ff84c7a4882fb3ad18556027f9" args="() const " --> 
     159bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#ac4b863ff84c7a4882fb3ad18556027f9">isnamed</a> () const </td></tr> 
     160<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if rv is assigned. <br/></td></tr> 
     161<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa4ab378d5e004c3ff3e2d4e64f7bba21"></a><!-- doxytag: member="bdm::eEF::_rv" ref="aa4ab378d5e004c3ff3e2d4e64f7bba21" args="() const " --> 
     162const <a class="el" href="classbdm_1_1RV.html">RV</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#aa4ab378d5e004c3ff3e2d4e64f7bba21">_rv</a> () const </td></tr> 
     163<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return name (fails when isnamed is false). <br/></td></tr> 
    178164<tr><td colspan="2"><div class="groupHeader">Access to attributes</div></td></tr> 
    179 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::eEF::dimension" ref="7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
    180 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
    181  
    182 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br></td></tr> 
    183 <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> 
    184 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEF::dim" ref="16adac20ec7fe07e1ea0b27d917788ce" args="" --> 
    185 int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 
    186  
    187 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br></td></tr> 
    188 <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEF::rv" ref="62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 
    189 <a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 
    190  
    191 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br></td></tr> 
     165<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpb6eb094f9e6af11f8a7d9efa9d8e3623"></a> </p> 
     166<br/><br/></div></td></tr> 
     167<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7083a65f7b7a0d0d13b2c516bd2ec29c"></a><!-- doxytag: member="bdm::eEF::dimension" ref="a7083a65f7b7a0d0d13b2c516bd2ec29c" args="() const " --> 
     168int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a7083a65f7b7a0d0d13b2c516bd2ec29c">dimension</a> () const </td></tr> 
     169<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Size of the random variable. <br/></td></tr> 
     170<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> 
     171<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16adac20ec7fe07e1ea0b27d917788ce"></a><!-- doxytag: member="bdm::eEF::dim" ref="a16adac20ec7fe07e1ea0b27d917788ce" args="" --> 
     172int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a16adac20ec7fe07e1ea0b27d917788ce">dim</a></td></tr> 
     173<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">dimension of the random variable <br/></td></tr> 
     174<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c5b8ff71d9ebe6cd58d3c342eb1dc8"></a><!-- doxytag: member="bdm::eEF::rv" ref="a62c5b8ff71d9ebe6cd58d3c342eb1dc8" args="" --> 
     175<a class="el" href="classbdm_1_1RV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8">rv</a></td></tr> 
     176<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Description of the random variable. <br/></td></tr> 
    192177</table> 
    193 <hr><a name="_details"></a><h2>Detailed Description</h2> 
    194 General conjugate exponential family posterior density.  
    195 <p> 
    196 More?... <hr><h2>Member Function Documentation</h2> 
    197 <a class="anchor" name="fa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eEF::from_setting" ref="fa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
     178<hr/><a name="_details"></a><h2>Detailed Description</h2> 
     179<p>General conjugate exponential family posterior density. </p> 
     180<p>More?... </p> 
     181<hr/><h2>Member Function Documentation</h2> 
     182<a class="anchor" id="afa9efc98a065b31c630fe18cc418f725"></a><!-- doxytag: member="bdm::eEF::from_setting" ref="afa9efc98a065b31c630fe18cc418f725" args="(const Setting &amp;set)" --> 
    198183<div class="memitem"> 
    199184<div class="memproto"> 
    200185      <table class="memname"> 
    201186        <tr> 
    202           <td class="memname">void bdm::epdf::from_setting           </td> 
     187          <td class="memname">void bdm::epdf::from_setting </td> 
    203188          <td>(</td> 
    204189          <td class="paramtype">const Setting &amp;&nbsp;</td> 
    205           <td class="paramname"> <em>set</em>          </td> 
     190          <td class="paramname"> <em>set</em></td> 
    206191          <td>&nbsp;)&nbsp;</td> 
    207192          <td><code> [inline, virtual, inherited]</code></td> 
     
    210195</div> 
    211196<div class="memdoc"> 
    212  
    213 <p> 
    214 Load from structure with elements: <div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">"RV"</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
     197<p>Load from structure with elements: </p> 
     198<div class="fragment"><pre class="fragment"> { <a class="code" href="classbdm_1_1epdf.html#a62c5b8ff71d9ebe6cd58d3c342eb1dc8" title="Description of the random variable.">rv</a> = {<span class="keyword">class</span>=<span class="stringliteral">&quot;RV&quot;</span>, names=(...),}; <span class="comment">// RV describing meaning of random variable</span> 
    215199   <span class="comment">// elements of offsprings</span> 
    216200 } 
    217201</pre></div>  
    218 <p>Reimplemented from <a class="el" href="classbdm_1_1root.html#0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
    219  
    220 <p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p> 
    221  
    222 <p>References <a class="el" href="bdmbase_8h-source.html#l00357">bdm::epdf::set_rv()</a>.</p> 
    223  
    224 </div> 
    225 </div><p> 
    226 <hr>The documentation for this class was generated from the following file:<ul> 
    227 <li><a class="el" href="exp__family_8h-source.html">exp_family.h</a></ul> 
    228 </div> 
    229 <hr size="1"><address style="text-align: right;"><small>Generated on Sat Aug 29 20:49:46 2009 for mixpp by&nbsp; 
     202<p>Reimplemented from <a class="el" href="classbdm_1_1root.html#a0551e3121091c5199bf4413b50522176">bdm::root</a>.</p> 
     203 
     204<p>Reimplemented in <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; sq_T &gt;</a>, <a class="el" href="classbdm_1_1egiw.html#a55b76ec75bd2df5ef9cab3be20a33bbb">bdm::egiw</a>, <a class="el" href="classbdm_1_1egamma.html#a8a6fd1a1c0190f3e0d95a2a1f99aafc1">bdm::egamma</a>, <a class="el" href="classbdm_1_1euni.html#a77f5fef1f006fe056066da23b9e5f042">bdm::euni</a>, <a class="el" href="classbdm_1_1merger__base.html#a10dd390fc6f0d1733bb07cb51977160c">bdm::merger_base</a>, <a class="el" href="classbdm_1_1merger__mix.html#a9f12b2c66344e25e6b3ef0255d000478">bdm::merger_mix</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; ldmat &gt;</a>, <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; chmat &gt;</a>, and <a class="el" href="classbdm_1_1enorm.html#a61bd470764020bea6e1ed35000f259e6">bdm::enorm&lt; fsqmat &gt;</a>.</p> 
     205 
     206<p>References <a class="el" href="bdmbase_8h_source.html#l00357">bdm::epdf::set_rv()</a>.</p> 
     207 
     208</div> 
     209</div> 
     210<hr/>The documentation for this class was generated from the following file:<ul> 
     211<li><a class="el" href="exp__family_8h_source.html">exp_family.h</a></li> 
     212</ul> 
     213</div> 
     214<hr size="1"/><address style="text-align: right;"><small>Generated on Sun Aug 30 22:10:51 2009 for mixpp by&nbsp; 
    230215<a href="http://www.doxygen.org/index.html"> 
    231 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> 
     216<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> 
    232217</body> 
    233218</html>