| 106 |  | Mean value <img class="formulaInl" alt="$mu=A*rvc$" src="form_40.png">. <hr>The documentation for this class was generated from the following file:<ul> | 
                      
                        |  | 116 | Mean value <img class="formulaInl" alt="$mu=A*rvc$" src="form_40.png">. <hr><h2>Member Function Documentation</h2> | 
                        |  | 117 | <a class="anchor" name="3f172b79ec4a5ebc87898a5381141f1b"></a><!-- doxytag: member="mlnorm::samplecond" ref="3f172b79ec4a5ebc87898a5381141f1b" args="(const vec &cond, double &ll)" --> | 
                        |  | 118 | <div class="memitem"> | 
                        |  | 119 | <div class="memproto"> | 
                        |  | 120 | <table class="memname"> | 
                        |  | 121 | <tr> | 
                        |  | 122 | <td class="memname">virtual vec mpdf::samplecond           </td> | 
                        |  | 123 | <td>(</td> | 
                        |  | 124 | <td class="paramtype">const vec & </td> | 
                        |  | 125 | <td class="paramname"> <em>cond</em>, </td> | 
                        |  | 126 | </tr> | 
                        |  | 127 | <tr> | 
                        |  | 128 | <td class="paramkey"></td> | 
                        |  | 129 | <td></td> | 
                        |  | 130 | <td class="paramtype">double & </td> | 
                        |  | 131 | <td class="paramname"> <em>ll</em></td><td> </td> | 
                        |  | 132 | </tr> | 
                        |  | 133 | <tr> | 
                        |  | 134 | <td></td> | 
                        |  | 135 | <td>)</td> | 
                        |  | 136 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> | 
                        |  | 137 | </tr> | 
                        |  | 138 | </table> | 
                        |  | 139 | </div> | 
                        |  | 140 | <div class="memdoc"> | 
                        |  | 141 |  | 
                        |  | 142 | <p> | 
                        |  | 143 | 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>. | 
                        |  | 144 | <p> | 
                        |  | 145 | 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> | 
                        |  | 146 | <table border="0" cellspacing="2" cellpadding="0"> | 
                        |  | 147 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> | 
                        |  | 148 | <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> | 
                        |  | 149 | </table> | 
                        |  | 150 | </dl> | 
                        |  | 151 |  | 
                        |  | 152 | <p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> | 
                        |  | 153 |  | 
                        |  | 154 | <p>Referenced by <a class="el" href="libPF_8h-source.html#l00137">MPF< BM_T >::bayes()</a>, and <a class="el" href="libPF_8cpp-source.html#l00007">PF::bayes()</a>.</p> | 
                        |  | 155 |  | 
                        |  | 156 | </div> | 
                        |  | 157 | </div><p> | 
                        |  | 158 | <a class="anchor" name="0e37163660f93df2a4d723cedb1da89c"></a><!-- doxytag: member="mlnorm::samplecond" ref="0e37163660f93df2a4d723cedb1da89c" args="(const vec &cond, vec &ll, int N)" --> | 
                        |  | 159 | <div class="memitem"> | 
                        |  | 160 | <div class="memproto"> | 
                        |  | 161 | <table class="memname"> | 
                        |  | 162 | <tr> | 
                        |  | 163 | <td class="memname">virtual mat mpdf::samplecond           </td> | 
                        |  | 164 | <td>(</td> | 
                        |  | 165 | <td class="paramtype">const vec & </td> | 
                        |  | 166 | <td class="paramname"> <em>cond</em>, </td> | 
                        |  | 167 | </tr> | 
                        |  | 168 | <tr> | 
                        |  | 169 | <td class="paramkey"></td> | 
                        |  | 170 | <td></td> | 
                        |  | 171 | <td class="paramtype">vec & </td> | 
                        |  | 172 | <td class="paramname"> <em>ll</em>, </td> | 
                        |  | 173 | </tr> | 
                        |  | 174 | <tr> | 
                        |  | 175 | <td class="paramkey"></td> | 
                        |  | 176 | <td></td> | 
                        |  | 177 | <td class="paramtype">int </td> | 
                        |  | 178 | <td class="paramname"> <em>N</em></td><td> </td> | 
                        |  | 179 | </tr> | 
                        |  | 180 | <tr> | 
                        |  | 181 | <td></td> | 
                        |  | 182 | <td>)</td> | 
                        |  | 183 | <td></td><td></td><td><code> [inline, virtual, inherited]</code></td> | 
                        |  | 184 | </tr> | 
                        |  | 185 | </table> | 
                        |  | 186 | </div> | 
                        |  | 187 | <div class="memdoc"> | 
                        |  | 188 |  | 
                        |  | 189 | <p> | 
                        |  | 190 | Returns. | 
                        |  | 191 | <p> | 
                        |  | 192 | <dl compact><dt><b>Parameters:</b></dt><dd> | 
                        |  | 193 | <table border="0" cellspacing="2" cellpadding="0"> | 
                        |  | 194 | <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> | 
                        |  | 195 | <tr><td valign="top"></td><td valign="top"><em>cond</em> </td><td>is numeric value of <code>rv</code> </td></tr> | 
                        |  | 196 | <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> | 
                        |  | 197 | </table> | 
                        |  | 198 | </dl> | 
                        |  | 199 |  | 
                        |  | 200 | <p>References <a class="el" href="libBM_8h-source.html#l00195">mpdf::condition()</a>, <a class="el" href="libBM_8h-source.html#l00069">RV::count()</a>, <a class="el" href="libBM_8h-source.html#l00178">mpdf::ep</a>, <a class="el" href="classepdf.html#6aef3eca74899692503769c18add1a4c">epdf::evalpdflog()</a>, <a class="el" href="libBM_8h-source.html#l00174">mpdf::rv</a>, and <a class="el" href="classepdf.html#8019654e494bf5e458f6fb947e11b262">epdf::sample()</a>.</p> | 
                        |  | 201 |  | 
                        |  | 202 | </div> | 
                        |  | 203 | </div><p> | 
                        |  | 204 | <hr>The documentation for this class was generated from the following file:<ul> |