Show
Ignore:
Timestamp:
02/11/09 14:15:39 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classbdm_1_1mprod.tex

    r261 r269  
    3636\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  
    3737vec \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}\item  
     38\item  
    3939\hypertarget{classbdm_1_1mprod_b493b5565dc6a5617927421d32697cc6}{ 
    4040mat \textbf{samplecond} (const vec \&cond, vec \&ll, int N)} 
     
    4949 
    5050\begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\item  
     51virtual 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  
    5153virtual mat \hyperlink{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{samplecond\_\-m} (const vec \&cond, vec \&ll, int N) 
    5254\begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item  
     
    130132\index{bdm::mprod@{bdm::mprod}!samplecond@{samplecond}} 
    131133\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{]}}}} 
    133135\label{classbdm_1_1mprod_1a37c2aaba8bde7fce5351c39b6e1168} 
    134136 
    135137 
    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} 
    143138 
    144139 
    145 Reimplemented from \hyperlink{classbdm_1_1mpdf_e4848a428d8ef0549c6e4a9ed386d9f2}{bdm::mpdf}. 
     140Ugly hack to help to discover if mpfs are not in proper order. Correct solution = check that explicitely.  
    146141 
    147142References bdm::RV::count(), dls, epdfs, bdm::compositepdf::mpdfs, bdm::compositepdf::n, and bdm::mpdf::rv.\hypertarget{classbdm_1_1compositepdf_c73d39acc4378eee6a63155c3517d3c9}{ 
     
    161156 
    162157 
    163 References bdm::RV::add(), bdm::compositepdf::mpdfs, and bdm::compositepdf::n.\hypertarget{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{ 
     158References 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 
     165Returns 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 
     174References bdm::mpdf::condition(), bdm::mpdf::ep, and bdm::epdf::sample(). 
     175 
     176Referenced by bdm::MPF$<$ BM\_\-T $>$::bayes(), bdm::PF::bayes(), and bdm::ArxDS::step().\hypertarget{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{ 
    164177\index{bdm::mprod@{bdm::mprod}!samplecond\_\-m@{samplecond\_\-m}} 
    165178\index{samplecond\_\-m@{samplecond\_\-m}!bdm::mprod@{bdm::mprod}}