Changeset 219 for doc/latex/classmprod.tex
- Timestamp:
- 12/18/08 20:38:46 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classmprod.tex
r210 r219 30 30 31 31 \begin{CompactList}\small\item\em Constructor from list of mFacs,. \item\end{CompactList}\item 32 \hypertarget{classmprod_ 1e662c8d90a96bf19235a05373d6887a}{33 double \hyperlink{classmprod_ 1e662c8d90a96bf19235a05373d6887a}{evalcond} (const vec \&val, const vec \&cond)}34 \label{classmprod_ 1e662c8d90a96bf19235a05373d6887a}32 \hypertarget{classmprod_f5e1075f133f203113d92084b4a47c28}{ 33 double \hyperlink{classmprod_f5e1075f133f203113d92084b4a47c28}{evallogcond} (const vec \&val, const vec \&cond)} 34 \label{classmprod_f5e1075f133f203113d92084b4a47c28} 35 35 36 36 \begin{CompactList}\small\item\em Shortcut for conditioning and evaluation of the internal \hyperlink{classepdf}{epdf}. In some cases, this operation can be implemented efficiently. \item\end{CompactList}\item 37 37 vec \hyperlink{classmprod_a48887eb8738a9e5550bfc38eb8e9d68}{samplecond} (const vec \&cond, double \&ll) 38 38 \begin{CompactList}\small\item\em Returns the required moment of the \hyperlink{classepdf}{epdf}. \item\end{CompactList}\item 39 mat \hyperlink{classmprod_e171c40e210539c2af01d6237785620b}{samplecond} (const vec \&cond, vec \&ll, int N) 40 \begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item 39 \hypertarget{classmprod_e171c40e210539c2af01d6237785620b}{ 40 mat \textbf{samplecond} (const vec \&cond, vec \&ll, int N)} 41 \label{classmprod_e171c40e210539c2af01d6237785620b} 42 43 \item 41 44 \hyperlink{classRV}{RV} \hyperlink{classcompositepdf_635d219fb3e32852400d6f98aa4bdc93}{getrv} (bool checkoverlap=false) 42 45 \begin{CompactList}\small\item\em find common rv, flag \item\end{CompactList}\item … … 46 49 47 50 \begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\item 51 virtual mat \hyperlink{classmpdf_b1dae6171ee39a6a05976c7b1007a3c5}{samplecond\_\-m} (const vec \&cond, vec \&ll, int N) 52 \begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item 48 53 \hypertarget{classmpdf_0f95a0cc6ab40611f46804682446ed83}{ 49 54 virtual void \hyperlink{classmpdf_0f95a0cc6ab40611f46804682446ed83}{condition} (const vec \&cond)} … … 51 56 52 57 \begin{CompactList}\small\item\em Update {\tt ep} so that it represents this \hyperlink{classmpdf}{mpdf} conditioned on {\tt rvc} = cond. \item\end{CompactList}\item 53 \hypertarget{classmpdf_ b7b2da35080cd15f1be365b805e7277e}{54 virtual vec \ textbf{evalcond\_\-m} (const mat \&Dt, const vec \&cond)}55 \label{classmpdf_ b7b2da35080cd15f1be365b805e7277e}58 \hypertarget{classmpdf_95fcff214848f66f1b489459370573fa}{ 59 virtual vec \hyperlink{classmpdf_95fcff214848f66f1b489459370573fa}{evallogcond\_\-m} (const mat \&Dt, const vec \&cond)} 60 \label{classmpdf_95fcff214848f66f1b489459370573fa} 56 61 57 \ item62 \begin{CompactList}\small\item\em Matrix version of evallogcond. \item\end{CompactList}\item 58 63 \hypertarget{classmpdf_15ef062183b1ccdf794732d5fa0b77cd}{ 59 64 \hyperlink{classRV}{RV} \hyperlink{classmpdf_15ef062183b1ccdf794732d5fa0b77cd}{\_\-rvc} () const } … … 135 140 Reimplemented from \hyperlink{classmpdf_3f172b79ec4a5ebc87898a5381141f1b}{mpdf}. 136 141 137 References RV::count(), dls, epdfs, compositepdf::mpdfs, compositepdf::n, and mpdf::rv. 138 139 Referenced by samplecond().\hypertarget{classmprod_e171c40e210539c2af01d6237785620b}{ 140 \index{mprod@{mprod}!samplecond@{samplecond}} 141 \index{samplecond@{samplecond}!mprod@{mprod}} 142 \subsubsection[samplecond]{\setlength{\rightskip}{0pt plus 5cm}mat mprod::samplecond (const vec \& {\em cond}, \/ vec \& {\em ll}, \/ int {\em N})\hspace{0.3cm}{\tt \mbox{[}inline, virtual\mbox{]}}}} 143 \label{classmprod_e171c40e210539c2af01d6237785620b} 144 145 146 Returns. 147 148 \begin{Desc} 149 \item[Parameters:] 150 \begin{description} 151 \item[{\em N}]samples from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. \item[{\em cond}]is numeric value of {\tt rv} \item[{\em ll}]is a return value of log-likelihood of the sample. \end{description} 152 \end{Desc} 153 154 155 Reimplemented from \hyperlink{classmpdf_0e37163660f93df2a4d723cedb1da89c}{mpdf}. 156 157 References RV::count(), mpdf::rv, and samplecond().\hypertarget{classcompositepdf_635d219fb3e32852400d6f98aa4bdc93}{ 142 References RV::count(), dls, epdfs, compositepdf::mpdfs, compositepdf::n, and mpdf::rv.\hypertarget{classcompositepdf_635d219fb3e32852400d6f98aa4bdc93}{ 158 143 \index{mprod@{mprod}!getrv@{getrv}} 159 144 \index{getrv@{getrv}!mprod@{mprod}} … … 171 156 172 157 173 References RV::add(), compositepdf::mpdfs, and compositepdf::n. 158 References RV::add(), compositepdf::mpdfs, and compositepdf::n.\hypertarget{classmpdf_b1dae6171ee39a6a05976c7b1007a3c5}{ 159 \index{mprod@{mprod}!samplecond\_\-m@{samplecond\_\-m}} 160 \index{samplecond\_\-m@{samplecond\_\-m}!mprod@{mprod}} 161 \subsubsection[samplecond\_\-m]{\setlength{\rightskip}{0pt plus 5cm}virtual mat mpdf::samplecond\_\-m (const vec \& {\em cond}, \/ vec \& {\em ll}, \/ int {\em N})\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 162 \label{classmpdf_b1dae6171ee39a6a05976c7b1007a3c5} 163 164 165 Returns. 166 167 \begin{Desc} 168 \item[Parameters:] 169 \begin{description} 170 \item[{\em N}]samples from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. \item[{\em cond}]is numeric value of {\tt rv} \item[{\em ll}]is a return value of log-likelihood of the sample. \end{description} 171 \end{Desc} 172 173 174 References mpdf::condition(), RV::count(), mpdf::ep, epdf::evallog(), mpdf::rv, and epdf::sample(). 174 175 175 176 The documentation for this class was generated from the following file:\begin{CompactItemize}