root/doc/html/classmlnorm.html @ 81

Revision 79, 11.1 kB (checked in by smidl, 16 years ago)

oprava dokumentace

Line 
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">
3<title>mixpp: mlnorm&lt; sq_T &gt; Class Template Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.3 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
12    <li><a href="files.html"><span>Files</span></a></li>
13    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
14  </ul>
15</div>
16<div class="tabs">
17  <ul>
18    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
19    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
20    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
21  </ul>
22</div>
23<h1>mlnorm&lt; sq_T &gt; Class Template Reference</h1><!-- doxytag: class="mlnorm" --><!-- doxytag: inherits="mEF" -->Normal distributed linear function with linear function of mean value;. 
24<a href="#_details">More...</a>
25<p>
26<code>#include &lt;<a class="el" href="libEF_8h-source.html">libEF.h</a>&gt;</code>
27<p>
28<div class="dynheader">
29Inheritance diagram for mlnorm&lt; sq_T &gt;:</div>
30<div class="dynsection">
31<p><center><img src="classmlnorm__inherit__graph.png" border="0" usemap="#mlnorm_3_01sq__T_01_4__inherit__map" alt="Inheritance graph"></center>
32<map name="mlnorm_3_01sq__T_01_4__inherit__map">
33<area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="44,84,95,111"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="41,7,97,33"></map>
34<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
35<div class="dynheader">
36Collaboration diagram for mlnorm&lt; sq_T &gt;:</div>
37<div class="dynsection">
38<p><center><img src="classmlnorm__coll__graph.png" border="0" usemap="#mlnorm_3_01sq__T_01_4__coll__map" alt="Collaboration graph"></center>
39<map name="mlnorm_3_01sq__T_01_4__coll__map">
40<area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="44,284,95,311"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="41,204,97,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="57,7,95,33"><area shape="rect" title="rv\nrvc" alt="" coords="68,31,76,39"><area shape="rect" title="rv\nrvc" alt="" coords="63,200,71,208"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="92,105,143,132"><area shape="rect" title="rv" alt="" coords="79,31,87,39"><area shape="rect" title="rv" alt="" coords="108,101,116,109"><area shape="rect" title="ep" alt="" coords="107,129,115,137"><area shape="rect" title="ep" alt="" coords="72,200,80,208"></map>
41<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>
42
43<p>
44<a href="classmlnorm-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
45<tr><td></td></tr>
46<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f927203b3f31171c5c10ffc7caa797f5"></a><!-- doxytag: member="mlnorm::mlnorm" ref="f927203b3f31171c5c10ffc7caa797f5" args="(RV &amp;rv, RV &amp;rvc)" -->
48&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#f927203b3f31171c5c10ffc7caa797f5">mlnorm</a> (<a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a>, <a class="el" href="classRV.html">RV</a> &amp;<a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a>)</td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <br></td></tr>
51<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b6749030c5d5abcb3eb6898f74cea3c0"></a><!-- doxytag: member="mlnorm::set_parameters" ref="b6749030c5d5abcb3eb6898f74cea3c0" args="(const mat &amp;A, const sq_T &amp;R)" -->
52void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#b6749030c5d5abcb3eb6898f74cea3c0">set_parameters</a> (const mat &amp;A, const sq_T &amp;R)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set <code>A</code> and <code>R</code>. <br></td></tr>
55<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="decf3e3b5c8e0812e5b4dbe94fa2ae18"></a><!-- doxytag: member="mlnorm::samplecond" ref="decf3e3b5c8e0812e5b4dbe94fa2ae18" args="(vec &amp;cond, double &amp;lik)" -->
56vec&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#decf3e3b5c8e0812e5b4dbe94fa2ae18">samplecond</a> (vec &amp;cond, double &amp;lik)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate one sample of the posterior. <br></td></tr>
59<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="215fb88cc8b95d64cdefd6849abdd1e8"></a><!-- doxytag: member="mlnorm::samplecond" ref="215fb88cc8b95d64cdefd6849abdd1e8" args="(vec &amp;cond, vec &amp;lik, int n)" -->
60mat&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#215fb88cc8b95d64cdefd6849abdd1e8">samplecond</a> (vec &amp;cond, vec &amp;lik, int n)</td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generate matrix of samples of the posterior. <br></td></tr>
63<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5232fc7e305eceab4e2bd6a8daa44195"></a><!-- doxytag: member="mlnorm::condition" ref="5232fc7e305eceab4e2bd6a8daa44195" args="(vec &amp;cond)" -->
64void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#5232fc7e305eceab4e2bd6a8daa44195">condition</a> (vec &amp;cond)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set value of <code>rvc</code> . Result of this operation is stored in <code><a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a></code> use function <code>_ep</code> to access it. <br></td></tr>
67<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0f95a0cc6ab40611f46804682446ed83"></a><!-- doxytag: member="mlnorm::condition" ref="0f95a0cc6ab40611f46804682446ed83" args="(const vec &amp;cond)" -->
68virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#0f95a0cc6ab40611f46804682446ed83">condition</a> (const vec &amp;cond)</td></tr>
69
70<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Update <code>ep</code> so that it represents this <a class="el" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies.">mpdf</a> conditioned on <code>rvc</code> = cond. <br></td></tr>
71<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80b738ece5bd4f8c4edaee4b38906f91"></a><!-- doxytag: member="mlnorm::evalcond" ref="80b738ece5bd4f8c4edaee4b38906f91" args="(const vec &amp;dt, const vec &amp;cond)" -->
72virtual double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#80b738ece5bd4f8c4edaee4b38906f91">evalcond</a> (const vec &amp;dt, const vec &amp;cond)</td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Shortcut for conditioning and evaluation of the internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. In some cases, this operation can be implemented efficiently. <br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ec9c850305984582548e8deb64f0ffe8"></a><!-- doxytag: member="mlnorm::_rvc" ref="ec9c850305984582548e8deb64f0ffe8" args="()" -->
76<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#ec9c850305984582548e8deb64f0ffe8">_rvc</a> ()</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e17780ee5b2cfe05922a6c56af1462f8"></a><!-- doxytag: member="mlnorm::_epdf" ref="e17780ee5b2cfe05922a6c56af1462f8" args="()" -->
80<a class="el" href="classepdf.html">epdf</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a> ()</td></tr>
81
82<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">access function <br></td></tr>
83<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="mlnorm::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" -->
85<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr>
86
87<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">modeled random variable <br></td></tr>
88<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acb7dda792b3cd5576f39fa3129abbab"></a><!-- doxytag: member="mlnorm::rvc" ref="acb7dda792b3cd5576f39fa3129abbab" args="" -->
89<a class="el" href="classRV.html">RV</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">random variable in condition <br></td></tr>
92<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7aa894208a32f3487827df6d5054424c"></a><!-- doxytag: member="mlnorm::ep" ref="7aa894208a32f3487827df6d5054424c" args="" -->
93<a class="el" href="classepdf.html">epdf</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td></tr>
94
95<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">pointer to internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> <br></td></tr>
96</table>
97<hr><a name="_details"></a><h2>Detailed Description</h2>
98<h3>template&lt;class sq_T&gt;<br>
99 class mlnorm&lt; sq_T &gt;</h3>
100
101Normal distributed linear function with linear function of mean value;.
102<p>
103Mean value $mu=A*rvc$. <hr>The documentation for this class was generated from the following file:<ul>
104<li>work/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul>
105<hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 18 11:15:21 2008 for mixpp by&nbsp;
106<a href="http://www.doxygen.org/index.html">
107<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
108</body>
109</html>
Note: See TracBrowser for help on using the browser.