Changeset 269 for doc/latex/classbdm_1_1mprod.tex
- Timestamp:
- 02/11/09 14:15:39 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classbdm_1_1mprod.tex
r261 r269 36 36 \begin{CompactList}\small\item\em Shortcut for conditioning and evaluation of the internal \hyperlink{classbdm_1_1epdf}{epdf}. In some cases, this operation can be implemented efficiently. \item\end{CompactList}\item 37 37 vec \hyperlink{classbdm_1_1mprod_1a37c2aaba8bde7fce5351c39b6e1168}{samplecond} (const vec \&cond, double \&ll) 38 \ begin{CompactList}\small\item\em Returns a sample from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. \item\end{CompactList}\item38 \item 39 39 \hypertarget{classbdm_1_1mprod_b493b5565dc6a5617927421d32697cc6}{ 40 40 mat \textbf{samplecond} (const vec \&cond, vec \&ll, int N)} … … 49 49 50 50 \begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\item 51 virtual vec \hyperlink{classbdm_1_1mpdf_f0c1db6fcbb3aae2dd6123884457a367}{samplecond} (const vec \&cond) 52 \begin{CompactList}\small\item\em Returns a sample from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. \item\end{CompactList}\item 51 53 virtual mat \hyperlink{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{samplecond\_\-m} (const vec \&cond, vec \&ll, int N) 52 54 \begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item … … 130 132 \index{bdm::mprod@{bdm::mprod}!samplecond@{samplecond}} 131 133 \index{samplecond@{samplecond}!bdm::mprod@{bdm::mprod}} 132 \subsubsection[samplecond]{\setlength{\rightskip}{0pt plus 5cm}vec bdm::mprod::samplecond (const vec \& {\em cond}, \/ double \& {\em ll})\hspace{0.3cm}{\tt \mbox{[}inline , virtual\mbox{]}}}}134 \subsubsection[samplecond]{\setlength{\rightskip}{0pt plus 5cm}vec bdm::mprod::samplecond (const vec \& {\em cond}, \/ double \& {\em ll})\hspace{0.3cm}{\tt \mbox{[}inline\mbox{]}}}} 133 135 \label{classbdm_1_1mprod_1a37c2aaba8bde7fce5351c39b6e1168} 134 136 135 137 136 Returns a sample from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$.137 138 \begin{Desc}139 \item[Parameters:]140 \begin{description}141 \item[{\em cond}]is numeric value of {\tt rv} \item[{\em ll}]is a return value of log-likelihood of the sample. \end{description}142 \end{Desc}143 138 144 139 145 Reimplemented from \hyperlink{classbdm_1_1mpdf_e4848a428d8ef0549c6e4a9ed386d9f2}{bdm::mpdf}. 140 Ugly hack to help to discover if mpfs are not in proper order. Correct solution = check that explicitely. 146 141 147 142 References bdm::RV::count(), dls, epdfs, bdm::compositepdf::mpdfs, bdm::compositepdf::n, and bdm::mpdf::rv.\hypertarget{classbdm_1_1compositepdf_c73d39acc4378eee6a63155c3517d3c9}{ … … 161 156 162 157 163 References bdm::RV::add(), bdm::compositepdf::mpdfs, and bdm::compositepdf::n.\hypertarget{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{ 158 References bdm::RV::add(), bdm::compositepdf::mpdfs, and bdm::compositepdf::n.\hypertarget{classbdm_1_1mpdf_f0c1db6fcbb3aae2dd6123884457a367}{ 159 \index{bdm::mprod@{bdm::mprod}!samplecond@{samplecond}} 160 \index{samplecond@{samplecond}!bdm::mprod@{bdm::mprod}} 161 \subsubsection[samplecond]{\setlength{\rightskip}{0pt plus 5cm}virtual vec bdm::mpdf::samplecond (const vec \& {\em cond})\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 162 \label{classbdm_1_1mpdf_f0c1db6fcbb3aae2dd6123884457a367} 163 164 165 Returns a sample from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. 166 167 \begin{Desc} 168 \item[Parameters:] 169 \begin{description} 170 \item[{\em cond}]is numeric value of {\tt rv} \end{description} 171 \end{Desc} 172 173 174 References bdm::mpdf::condition(), bdm::mpdf::ep, and bdm::epdf::sample(). 175 176 Referenced by bdm::MPF$<$ BM\_\-T $>$::bayes(), bdm::PF::bayes(), and bdm::ArxDS::step().\hypertarget{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{ 164 177 \index{bdm::mprod@{bdm::mprod}!samplecond\_\-m@{samplecond\_\-m}} 165 178 \index{samplecond\_\-m@{samplecond\_\-m}!bdm::mprod@{bdm::mprod}}