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: mlstudent Class 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.6 --> |
---|
8 | <div class="navigation" id="top"> |
---|
9 | <div class="tabs"> |
---|
10 | <ul> |
---|
11 | <li><a href="index.html"><span>Main Page</span></a></li> |
---|
12 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
13 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
14 | <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
---|
15 | <li><a href="files.html"><span>Files</span></a></li> |
---|
16 | </ul> |
---|
17 | </div> |
---|
18 | <div class="tabs"> |
---|
19 | <ul> |
---|
20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
23 | </ul> |
---|
24 | </div> |
---|
25 | </div> |
---|
26 | <div class="contents"> |
---|
27 | <h1>mlstudent Class Reference</h1><!-- doxytag: class="mlstudent" --><!-- doxytag: inherits="mlnorm< ldmat >" --><code>#include <<a class="el" href="libEF_8h-source.html">libEF.h</a>></code> |
---|
28 | <p> |
---|
29 | <div class="dynheader"> |
---|
30 | Inheritance diagram for mlstudent:</div> |
---|
31 | <div class="dynsection"> |
---|
32 | <p><center><img src="classmlstudent__inherit__graph.png" border="0" usemap="#mlstudent__inherit__map" alt="Inheritance graph"></center> |
---|
33 | <map name="mlstudent__inherit__map"> |
---|
34 | <area shape="rect" href="classmlnorm.html" title="mlnorm\< ldmat \>" alt="" coords="5,263,144,289"><area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="31,87,79,113"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="76,167,207,193"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="28,7,81,33"></map> |
---|
35 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
36 | <div class="dynheader"> |
---|
37 | Collaboration diagram for mlstudent:</div> |
---|
38 | <div class="dynsection"> |
---|
39 | <p><center><img src="classmlstudent__coll__graph.png" border="0" usemap="#mlstudent__coll__map" alt="Collaboration graph"></center> |
---|
40 | <map name="mlstudent__coll__map"> |
---|
41 | <area shape="rect" href="classmlnorm.html" title="mlnorm\< ldmat \>" alt="" coords="141,527,280,553"><area shape="rect" href="classmEF.html" title="Exponential family model." alt="" coords="111,300,159,327"><area shape="rect" href="classmlnorm.html" title="Normal distributed linear function with linear function of mean value;." alt="" coords="5,396,136,423"><area shape="rect" href="classmpdf.html" title="Conditional probability density, e.g. modeling some dependencies." alt="" coords="108,204,161,231"><area shape="rect" href="classRV.html" title="Class representing variables, most often random variables." alt="" coords="139,7,176,33"><area shape="rect" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density." alt="" coords="173,105,221,132"><area shape="rect" href="classeEF.html" title="General conjugate exponential family posterior density." alt="" coords="189,204,232,231"><area shape="rect" href="classenorm.html" title="enorm\< ldmat \>" alt="" coords="212,396,343,423"><area shape="rect" href="classenorm.html" title="Gaussian density with positive definite (decomposed) covariance matrix." alt="" coords="244,300,367,327"><area shape="rect" href="classldmat.html" title="Matrix stored in LD form, (commonly known as UD)." alt="" coords="391,300,449,327"><area shape="rect" href="classsqmat.html" title="Virtual class for representation of double symmetric matrices in square-root form..." alt="" coords="389,204,451,231"></map> |
---|
42 | <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> |
---|
43 | |
---|
44 | <p> |
---|
45 | <a href="classmlstudent-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
46 | <tr><td></td></tr> |
---|
47 | <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
---|
48 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4bacc99b1427f7001e47e070c91fe877"></a><!-- doxytag: member="mlstudent::mlstudent" ref="4bacc99b1427f7001e47e070c91fe877" args="(const RV &rv0, const RV &rvc0)" --> |
---|
49 | </td><td class="memItemRight" valign="bottom"><b>mlstudent</b> (const <a class="el" href="classRV.html">RV</a> &rv0, const <a class="el" href="classRV.html">RV</a> &rvc0)</td></tr> |
---|
50 | |
---|
51 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="160b9a825dac16d6b8a79ba15ddb2cfa"></a><!-- doxytag: member="mlstudent::set_parameters" ref="160b9a825dac16d6b8a79ba15ddb2cfa" args="(const mat &A0, const vec &mu0, const ldmat &R0, const ldmat &Lambda0)" --> |
---|
52 | void </td><td class="memItemRight" valign="bottom"><b>set_parameters</b> (const mat &A0, const vec &mu0, const <a class="el" href="classldmat.html">ldmat</a> &R0, const <a class="el" href="classldmat.html">ldmat</a> &Lambda0)</td></tr> |
---|
53 | |
---|
54 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d153460ae0180f4bc7f28301f5cde876"></a><!-- doxytag: member="mlstudent::condition" ref="d153460ae0180f4bc7f28301f5cde876" args="(const vec &cond)" --> |
---|
55 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlstudent.html#d153460ae0180f4bc7f28301f5cde876">condition</a> (const vec &cond)</td></tr> |
---|
56 | |
---|
57 | <tr><td class="mdescLeft"> </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> |
---|
58 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f95dfce0b500636a44ecd7e5210de999"></a><!-- doxytag: member="mlstudent::set_parameters" ref="f95dfce0b500636a44ecd7e5210de999" args="(const mat &A, const vec &mu0, const ldmat &R)" --> |
---|
59 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#f95dfce0b500636a44ecd7e5210de999">set_parameters</a> (const mat &A, const vec &mu0, const <a class="el" href="classldmat.html">ldmat</a> &R)</td></tr> |
---|
60 | |
---|
61 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Set <code>A</code> and <code>R</code>. <br></td></tr> |
---|
62 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2732ae47835dd25d5784bf08fde0a546"></a><!-- doxytag: member="mlstudent::_mu_const" ref="2732ae47835dd25d5784bf08fde0a546" args="()" --> |
---|
63 | vec & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#2732ae47835dd25d5784bf08fde0a546">_mu_const</a> ()</td></tr> |
---|
64 | |
---|
65 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
66 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="65ec3840c21b21102896bfd2282b47b3"></a><!-- doxytag: member="mlstudent::_A" ref="65ec3840c21b21102896bfd2282b47b3" args="()" --> |
---|
67 | mat & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#65ec3840c21b21102896bfd2282b47b3">_A</a> ()</td></tr> |
---|
68 | |
---|
69 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
70 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3ff2b03fbb5e1133a5fe1bf831939f63"></a><!-- doxytag: member="mlstudent::_R" ref="3ff2b03fbb5e1133a5fe1bf831939f63" args="()" --> |
---|
71 | mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#3ff2b03fbb5e1133a5fe1bf831939f63">_R</a> ()</td></tr> |
---|
72 | |
---|
73 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
74 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#3f172b79ec4a5ebc87898a5381141f1b">samplecond</a> (const vec &cond, double &ll)</td></tr> |
---|
75 | |
---|
76 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. <a href="#3f172b79ec4a5ebc87898a5381141f1b"></a><br></td></tr> |
---|
77 | <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#b1dae6171ee39a6a05976c7b1007a3c5">samplecond_m</a> (const vec &cond, vec &ll, int N)</td></tr> |
---|
78 | |
---|
79 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns. <a href="#b1dae6171ee39a6a05976c7b1007a3c5"></a><br></td></tr> |
---|
80 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2ef8a6374029d990a678782f6decebbe"></a><!-- doxytag: member="mlstudent::evallogcond" ref="2ef8a6374029d990a678782f6decebbe" args="(const vec &dt, const vec &cond)" --> |
---|
81 | virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#2ef8a6374029d990a678782f6decebbe">evallogcond</a> (const vec &dt, const vec &cond)</td></tr> |
---|
82 | |
---|
83 | <tr><td class="mdescLeft"> </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> |
---|
84 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="95fcff214848f66f1b489459370573fa"></a><!-- doxytag: member="mlstudent::evallogcond_m" ref="95fcff214848f66f1b489459370573fa" args="(const mat &Dt, const vec &cond)" --> |
---|
85 | virtual vec </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#95fcff214848f66f1b489459370573fa">evallogcond_m</a> (const mat &Dt, const vec &cond)</td></tr> |
---|
86 | |
---|
87 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Matrix version of evallogcond. <br></td></tr> |
---|
88 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="15ef062183b1ccdf794732d5fa0b77cd"></a><!-- doxytag: member="mlstudent::_rvc" ref="15ef062183b1ccdf794732d5fa0b77cd" args="() const " --> |
---|
89 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#15ef062183b1ccdf794732d5fa0b77cd">_rvc</a> () const </td></tr> |
---|
90 | |
---|
91 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
92 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="71256ffb5fbd08f41d650e606a5bd585"></a><!-- doxytag: member="mlstudent::_rv" ref="71256ffb5fbd08f41d650e606a5bd585" args="() const " --> |
---|
93 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#71256ffb5fbd08f41d650e606a5bd585">_rv</a> () const </td></tr> |
---|
94 | |
---|
95 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
96 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e17780ee5b2cfe05922a6c56af1462f8"></a><!-- doxytag: member="mlstudent::_epdf" ref="e17780ee5b2cfe05922a6c56af1462f8" args="()" --> |
---|
97 | <a class="el" href="classepdf.html">epdf</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#e17780ee5b2cfe05922a6c56af1462f8">_epdf</a> ()</td></tr> |
---|
98 | |
---|
99 | <tr><td class="mdescLeft"> </td><td class="mdescRight">access function <br></td></tr> |
---|
100 | <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> |
---|
101 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37bc739863e41fcd6dc4645bdca8099c"></a><!-- doxytag: member="mlstudent::Lambda" ref="37bc739863e41fcd6dc4645bdca8099c" args="" --> |
---|
102 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><b>Lambda</b></td></tr> |
---|
103 | |
---|
104 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="01ca0dd5fdb399b0941a86f30a95d1ba"></a><!-- doxytag: member="mlstudent::_R" ref="01ca0dd5fdb399b0941a86f30a95d1ba" args="" --> |
---|
105 | <a class="el" href="classldmat.html">ldmat</a> & </td><td class="memItemRight" valign="bottom"><b>_R</b></td></tr> |
---|
106 | |
---|
107 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9b6b64156d06ccf57e5f549a6bf9dc96"></a><!-- doxytag: member="mlstudent::Re" ref="9b6b64156d06ccf57e5f549a6bf9dc96" args="" --> |
---|
108 | <a class="el" href="classldmat.html">ldmat</a> </td><td class="memItemRight" valign="bottom"><b>Re</b></td></tr> |
---|
109 | |
---|
110 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b76ee2171ace4fb3ff95a131ae8fc421"></a><!-- doxytag: member="mlstudent::epdf" ref="b76ee2171ace4fb3ff95a131ae8fc421" args="" --> |
---|
111 | <a class="el" href="classenorm.html">enorm</a>< <a class="el" href="classldmat.html">ldmat</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmlnorm.html#b76ee2171ace4fb3ff95a131ae8fc421">epdf</a></td></tr> |
---|
112 | |
---|
113 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Internal <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a> that arise by conditioning on <code>rvc</code>. <br></td></tr> |
---|
114 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="90a62528ca1ce79b6396ff899119da0f"></a><!-- doxytag: member="mlstudent::A" ref="90a62528ca1ce79b6396ff899119da0f" args="" --> |
---|
115 | mat </td><td class="memItemRight" valign="bottom"><b>A</b></td></tr> |
---|
116 | |
---|
117 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ebab82017f10fbde483971bbf3b4004d"></a><!-- doxytag: member="mlstudent::mu_const" ref="ebab82017f10fbde483971bbf3b4004d" args="" --> |
---|
118 | vec </td><td class="memItemRight" valign="bottom"><b>mu_const</b></td></tr> |
---|
119 | |
---|
120 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="17552bef9aeba92a42516fe7d39a5893"></a><!-- doxytag: member="mlstudent::_mu" ref="17552bef9aeba92a42516fe7d39a5893" args="" --> |
---|
121 | vec & </td><td class="memItemRight" valign="bottom"><b>_mu</b></td></tr> |
---|
122 | |
---|
123 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6687c07ff07d47812dd565368ca59eb"></a><!-- doxytag: member="mlstudent::rv" ref="f6687c07ff07d47812dd565368ca59eb" args="" --> |
---|
124 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#f6687c07ff07d47812dd565368ca59eb">rv</a></td></tr> |
---|
125 | |
---|
126 | <tr><td class="mdescLeft"> </td><td class="mdescRight">modeled random variable <br></td></tr> |
---|
127 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="acb7dda792b3cd5576f39fa3129abbab"></a><!-- doxytag: member="mlstudent::rvc" ref="acb7dda792b3cd5576f39fa3129abbab" args="" --> |
---|
128 | <a class="el" href="classRV.html">RV</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#acb7dda792b3cd5576f39fa3129abbab">rvc</a></td></tr> |
---|
129 | |
---|
130 | <tr><td class="mdescLeft"> </td><td class="mdescRight">random variable in condition <br></td></tr> |
---|
131 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7aa894208a32f3487827df6d5054424c"></a><!-- doxytag: member="mlstudent::ep" ref="7aa894208a32f3487827df6d5054424c" args="" --> |
---|
132 | <a class="el" href="classepdf.html">epdf</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classmpdf.html#7aa894208a32f3487827df6d5054424c">ep</a></td></tr> |
---|
133 | |
---|
134 | <tr><td class="mdescLeft"> </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> |
---|
135 | <tr><td colspan="2"><br><h2>Friends</h2></td></tr> |
---|
136 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1917009347bb410f73bf827df8767b09"></a><!-- doxytag: member="mlstudent::operator<<" ref="1917009347bb410f73bf827df8767b09" args="(std::ostream &os, mlnorm< sq_M > &ml)" --> |
---|
137 | std::ostream & </td><td class="memItemRight" valign="bottom"><b>operator<<</b> (std::ostream &os, <a class="el" href="classmlnorm.html">mlnorm</a>< sq_M > &ml)</td></tr> |
---|
138 | |
---|
139 | </table> |
---|
140 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
141 | (Approximate) Student t density with linear function of mean value <hr><h2>Member Function Documentation</h2> |
---|
142 | <a class="anchor" name="3f172b79ec4a5ebc87898a5381141f1b"></a><!-- doxytag: member="mlstudent::samplecond" ref="3f172b79ec4a5ebc87898a5381141f1b" args="(const vec &cond, double &ll)" --> |
---|
143 | <div class="memitem"> |
---|
144 | <div class="memproto"> |
---|
145 | <table class="memname"> |
---|
146 | <tr> |
---|
147 | <td class="memname">virtual vec mpdf::samplecond </td> |
---|
148 | <td>(</td> |
---|
149 | <td class="paramtype">const vec & </td> |
---|
150 | <td class="paramname"> <em>cond</em>, </td> |
---|
151 | </tr> |
---|
152 | <tr> |
---|
153 | <td class="paramkey"></td> |
---|
154 | <td></td> |
---|
155 | <td class="paramtype">double & </td> |
---|
156 | <td class="paramname"> <em>ll</em></td><td> </td> |
---|
157 | </tr> |
---|
158 | <tr> |
---|
159 | <td></td> |
---|
160 | <td>)</td> |
---|
161 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> |
---|
162 | </tr> |
---|
163 | </table> |
---|
164 | </div> |
---|
165 | <div class="memdoc"> |
---|
166 | |
---|
167 | <p> |
---|
168 | Returns the required moment of the <a class="el" href="classepdf.html" title="Probability density function with numerical statistics, e.g. posterior density.">epdf</a>. |
---|
169 | <p> |
---|
170 | Returns a sample from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
171 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
172 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> |
---|
173 | <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr> |
---|
174 | </table> |
---|
175 | </dl> |
---|
176 | |
---|
177 | <p>Reimplemented in <a class="el" href="classmprod.html#a48887eb8738a9e5550bfc38eb8e9d68">mprod</a>.</p> |
---|
178 | |
---|
179 | <p>References <a class="el" href="libBM_8h-source.html#l00235">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00216">mpdf::ep</a>, <a class="el" href="classepdf.html#e1996af1da1fa1214270066a96ca113e">epdf::evallog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> |
---|
180 | |
---|
181 | <p>Referenced by <a class="el" href="libPF_8h-source.html#l00138">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> |
---|
182 | |
---|
183 | </div> |
---|
184 | </div><p> |
---|
185 | <a class="anchor" name="b1dae6171ee39a6a05976c7b1007a3c5"></a><!-- doxytag: member="mlstudent::samplecond_m" ref="b1dae6171ee39a6a05976c7b1007a3c5" args="(const vec &cond, vec &ll, int N)" --> |
---|
186 | <div class="memitem"> |
---|
187 | <div class="memproto"> |
---|
188 | <table class="memname"> |
---|
189 | <tr> |
---|
190 | <td class="memname">virtual mat mpdf::samplecond_m </td> |
---|
191 | <td>(</td> |
---|
192 | <td class="paramtype">const vec & </td> |
---|
193 | <td class="paramname"> <em>cond</em>, </td> |
---|
194 | </tr> |
---|
195 | <tr> |
---|
196 | <td class="paramkey"></td> |
---|
197 | <td></td> |
---|
198 | <td class="paramtype">vec & </td> |
---|
199 | <td class="paramname"> <em>ll</em>, </td> |
---|
200 | </tr> |
---|
201 | <tr> |
---|
202 | <td class="paramkey"></td> |
---|
203 | <td></td> |
---|
204 | <td class="paramtype">int </td> |
---|
205 | <td class="paramname"> <em>N</em></td><td> </td> |
---|
206 | </tr> |
---|
207 | <tr> |
---|
208 | <td></td> |
---|
209 | <td>)</td> |
---|
210 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> |
---|
211 | </tr> |
---|
212 | </table> |
---|
213 | </div> |
---|
214 | <div class="memdoc"> |
---|
215 | |
---|
216 | <p> |
---|
217 | Returns. |
---|
218 | <p> |
---|
219 | <dl compact><dt><b>Parameters:</b></dt><dd> |
---|
220 | <table border="0" cellspacing="2" cellpadding="0"> |
---|
221 | <tr><td valign="top"></td><td valign="top"><em>N</em> </td><td>samples from the density conditioned on <code>cond</code>, <img class="formulaInl" alt="$x \sim epdf(rv|cond)$" src="form_10.png">. </td></tr> |
---|
222 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> |
---|
223 | <tr><td valign="top"></td><td valign="top"><em>ll</em> </td><td>is a return value of log-likelihood of the sample. </td></tr> |
---|
224 | </table> |
---|
225 | </dl> |
---|
226 | |
---|
227 | <p>References <a class="el" href="libBM_8h-source.html#l00235">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00077">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00216">mpdf::ep</a>, <a class="el" href="classepdf.html#e1996af1da1fa1214270066a96ca113e">epdf::evallog()</a>, <a class="el" href="libBM_8h-source.html#l00212">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> |
---|
228 | |
---|
229 | </div> |
---|
230 | </div><p> |
---|
231 | <hr>The documentation for this class was generated from the following file:<ul> |
---|
232 | <li>work/git/mixpp/bdm/stat/<a class="el" href="libEF_8h-source.html">libEF.h</a></ul> |
---|
233 | </div> |
---|
234 | <hr size="1"><address style="text-align: right;"><small>Generated on Thu Dec 4 14:42:25 2008 for mixpp by |
---|
235 | <a href="http://www.doxygen.org/index.html"> |
---|
236 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> |
---|
237 | </body> |
---|
238 | </html> |
---|