Show
Ignore:
Timestamp:
12/18/08 20:38:46 (16 years ago)
Author:
smidl
Message:

doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classmprod.tex

    r210 r219  
    3030 
    3131\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}{ 
     33double \hyperlink{classmprod_f5e1075f133f203113d92084b4a47c28}{evallogcond} (const vec \&val, const vec \&cond)} 
     34\label{classmprod_f5e1075f133f203113d92084b4a47c28} 
    3535 
    3636\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  
    3737vec \hyperlink{classmprod_a48887eb8738a9e5550bfc38eb8e9d68}{samplecond} (const vec \&cond, double \&ll) 
    3838\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}{ 
     40mat \textbf{samplecond} (const vec \&cond, vec \&ll, int N)} 
     41\label{classmprod_e171c40e210539c2af01d6237785620b} 
     42 
     43\item  
    4144\hyperlink{classRV}{RV} \hyperlink{classcompositepdf_635d219fb3e32852400d6f98aa4bdc93}{getrv} (bool checkoverlap=false) 
    4245\begin{CompactList}\small\item\em find common rv, flag \item\end{CompactList}\item  
     
    4649 
    4750\begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\item  
     51virtual mat \hyperlink{classmpdf_b1dae6171ee39a6a05976c7b1007a3c5}{samplecond\_\-m} (const vec \&cond, vec \&ll, int N) 
     52\begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item  
    4853\hypertarget{classmpdf_0f95a0cc6ab40611f46804682446ed83}{ 
    4954virtual void \hyperlink{classmpdf_0f95a0cc6ab40611f46804682446ed83}{condition} (const vec \&cond)} 
     
    5156 
    5257\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}{ 
     59virtual vec \hyperlink{classmpdf_95fcff214848f66f1b489459370573fa}{evallogcond\_\-m} (const mat \&Dt, const vec \&cond)} 
     60\label{classmpdf_95fcff214848f66f1b489459370573fa} 
    5661 
    57 \item  
     62\begin{CompactList}\small\item\em Matrix version of evallogcond. \item\end{CompactList}\item  
    5863\hypertarget{classmpdf_15ef062183b1ccdf794732d5fa0b77cd}{ 
    5964\hyperlink{classRV}{RV} \hyperlink{classmpdf_15ef062183b1ccdf794732d5fa0b77cd}{\_\-rvc} () const } 
     
    135140Reimplemented from \hyperlink{classmpdf_3f172b79ec4a5ebc87898a5381141f1b}{mpdf}. 
    136141 
    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}{ 
     142References RV::count(), dls, epdfs, compositepdf::mpdfs, compositepdf::n, and mpdf::rv.\hypertarget{classcompositepdf_635d219fb3e32852400d6f98aa4bdc93}{ 
    158143\index{mprod@{mprod}!getrv@{getrv}} 
    159144\index{getrv@{getrv}!mprod@{mprod}} 
     
    171156 
    172157 
    173 References RV::add(), compositepdf::mpdfs, and compositepdf::n. 
     158References 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 
     165Returns.  
     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 
     174References mpdf::condition(), RV::count(), mpdf::ep, epdf::evallog(), mpdf::rv, and epdf::sample(). 
    174175 
    175176The documentation for this class was generated from the following file:\begin{CompactItemize}