Show
Ignore:
Timestamp:
09/24/08 13:31:03 (16 years ago)
Author:
smidl
Message:

Latex doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classeprod.tex

    r145 r172  
     1\hypertarget{classeprod}{ 
    12\section{eprod Class Reference} 
    23\label{classeprod}\index{eprod@{eprod}} 
    3 Chain rule decomposition of \doxyref{epdf}{p.}{classepdf}.   
     4} 
     5Product of independent epdfs. For dependent pdfs, use \hyperlink{classmprod}{mprod}.   
    46 
    57 
     
    2325\begin{CompactItemize} 
    2426\item  
    25 \textbf{eprod} (Array$<$ {\bf epdf} $>$ Facs)\label{classeprod_6c76cb1658c345cc30374c340608006c} 
     27\hypertarget{classeprod_288ace3ff1df274dfa89e1a641448a43}{ 
     28\textbf{eprod} (const Array$<$ const \hyperlink{classepdf}{epdf} $\ast$ $>$ epdfs0)} 
     29\label{classeprod_288ace3ff1df274dfa89e1a641448a43} 
    2630 
    2731\item  
    28 virtual vec {\bf sample} () const =0 
    29 \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item  
    30 virtual mat {\bf sampleN} (int N) const \label{classepdf_54d7dd53a641b618771cd9bee135181f} 
     32\hypertarget{classeprod_5752dd999e1f4638f9558b0cc35b64f7}{ 
     33vec \hyperlink{classeprod_5752dd999e1f4638f9558b0cc35b64f7}{mean} () const } 
     34\label{classeprod_5752dd999e1f4638f9558b0cc35b64f7} 
     35 
     36\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item  
     37\hypertarget{classeprod_94a5b7c44056cf7f4e688d53ba6295b4}{ 
     38vec \hyperlink{classeprod_94a5b7c44056cf7f4e688d53ba6295b4}{sample} () const } 
     39\label{classeprod_94a5b7c44056cf7f4e688d53ba6295b4} 
     40 
     41\begin{CompactList}\small\item\em Returns a sample, $x$ from density $epdf(rv)$. \item\end{CompactList}\item  
     42\hypertarget{classeprod_5adef154e3655a872c284b02635b8b35}{ 
     43double \hyperlink{classeprod_5adef154e3655a872c284b02635b8b35}{evalpdflog} (const vec \&val) const } 
     44\label{classeprod_5adef154e3655a872c284b02635b8b35} 
     45 
     46\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item  
     47\hypertarget{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f}{ 
     48const \hyperlink{classepdf}{epdf} $\ast$ \hyperlink{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f}{operator()} (int i) const } 
     49\label{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f} 
     50 
     51\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     52\hypertarget{classepdf_54d7dd53a641b618771cd9bee135181f}{ 
     53virtual mat \hyperlink{classepdf_54d7dd53a641b618771cd9bee135181f}{sampleN} (int N) const } 
     54\label{classepdf_54d7dd53a641b618771cd9bee135181f} 
    3155 
    3256\begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item  
    33 virtual double {\bf eval} (const vec \&val) const \label{classepdf_3ea597362e11a0040fe7c990269d072c} 
     57\hypertarget{classepdf_3ea597362e11a0040fe7c990269d072c}{ 
     58virtual double \hyperlink{classepdf_3ea597362e11a0040fe7c990269d072c}{eval} (const vec \&val) const } 
     59\label{classepdf_3ea597362e11a0040fe7c990269d072c} 
    3460 
    3561\begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item  
    36 virtual double {\bf evalpdflog} (const vec \&val) const =0\label{classepdf_6aef3eca74899692503769c18add1a4c} 
     62\hypertarget{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}{ 
     63virtual vec \hyperlink{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}{evalpdflog} (const mat \&Val) const } 
     64\label{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877} 
    3765 
    38 \begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item  
    39 virtual vec {\bf mean} () const =0\label{classepdf_bf0a070a8f3e67a93604ca724638b870} 
     66\begin{CompactList}\small\item\em Compute log-probability of multiple values argument {\tt val}. \item\end{CompactList}\item  
     67\hypertarget{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{ 
     68const \hyperlink{classRV}{RV} \& \hyperlink{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{\_\-rv} () const } 
     69\label{classepdf_ca0d32aabb4cbba347e0c37fe8607562} 
    4070 
    41 \begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item  
    42 {\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337} 
     71\begin{CompactList}\small\item\em access function, possibly dangerous! \item\end{CompactList}\item  
     72\hypertarget{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5}{ 
     73void \hyperlink{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5}{\_\-renewrv} (const \hyperlink{classRV}{RV} \&in\_\-rv)} 
     74\label{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5} 
    4375 
    44 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 
     76\begin{CompactList}\small\item\em modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize} 
    4577\subsection*{Protected Attributes} 
    4678\begin{CompactItemize} 
    4779\item  
    48 Array$<$ {\bf epdf} $\ast$ $>$ \textbf{epdfs}\label{classeprod_5307a27aaf48be8213294b05ac533c39} 
     80\hypertarget{classeprod_63fc0db078542bce1c5dff94f9c3a357}{ 
     81Array$<$ const \hyperlink{classepdf}{epdf} $\ast$ $>$ \hyperlink{classeprod_63fc0db078542bce1c5dff94f9c3a357}{epdfs}} 
     82\label{classeprod_63fc0db078542bce1c5dff94f9c3a357} 
    4983 
    50 \item  
    51 Array$<$ {\bf mpdf} $\ast$ $>$ \textbf{mpdfs}\label{classeprod_a4387c81276ca66c1ca9336cf8bf74a8} 
     84\begin{CompactList}\small\item\em Components (epdfs). \item\end{CompactList}\item  
     85\hypertarget{classeprod_a471987de1115dc639eccff65f3b9aa3}{ 
     86Array$<$ ivec $>$ \hyperlink{classeprod_a471987de1115dc639eccff65f3b9aa3}{rvinds}} 
     87\label{classeprod_a471987de1115dc639eccff65f3b9aa3} 
    5288 
    53 \item  
    54 ivec \textbf{sizes}\label{classeprod_68b66b05b3b6987472247f541846a366} 
    55  
    56 \item  
    57 {\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9} 
     89\begin{CompactList}\small\item\em Array of indeces. \item\end{CompactList}\item  
     90\hypertarget{classepdf_74da992e3f5d598da8850b646b79b9d9}{ 
     91\hyperlink{classRV}{RV} \hyperlink{classepdf_74da992e3f5d598da8850b646b79b9d9}{rv}} 
     92\label{classepdf_74da992e3f5d598da8850b646b79b9d9} 
    5893 
    5994\begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize} 
     
    6196 
    6297\subsection{Detailed Description} 
    63 Chain rule decomposition of \doxyref{epdf}{p.}{classepdf}.  
    64  
    65 Probability density in the form of Chain-rule decomposition: $\backslash$[ f(x\_\-1,x\_\-2,x\_\-3) = f(x\_\-1$|$x\_\-2,x\_\-3)f(x\_\-2,x\_\-3)f(x\_\-3) $\backslash$] Note that  
    66  
    67 \subsection{Member Function Documentation} 
    68 \index{eprod@{eprod}!sample@{sample}} 
    69 \index{sample@{sample}!eprod@{eprod}} 
    70 \subsubsection[sample]{\setlength{\rightskip}{0pt plus 5cm}virtual vec epdf::sample () const\hspace{0.3cm}{\tt  [pure virtual, inherited]}}\label{classepdf_8019654e494bf5e458f6fb947e11b262} 
    71  
    72  
    73 Returns the required moment of the \doxyref{epdf}{p.}{classepdf}.  
    74  
    75 Returns a sample, $x$ from density $epdf(rv)$  
    76  
    77 Implemented in {\bf emix} \doxyref{}{p.}{classemix_0650601f24e633e0ab09aa1e46c14483}, {\bf enorm$<$ sq\_\-T $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, {\bf egiw} \doxyref{}{p.}{classegiw_3d2c1f2ba0f9966781f1e0ae695e8a6f}, {\bf egamma} \doxyref{}{p.}{classegamma_8e10c0021b5dfdd9cb62c6959b5ef425}, {\bf euni} \doxyref{}{p.}{classeuni_4a0e09392be17beaee120ba98fc038cd}, {\bf eEmp} \doxyref{}{p.}{classeEmp_83f9283f92b805508d896479dc1ccf12}, {\bf enorm$<$ ldmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, {\bf enorm$<$ chmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, and {\bf enorm$<$ fsqmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}. 
    78  
    79 Referenced by mpdf::samplecond(), PF::set\_\-est(), and eEmp::set\_\-parameters(). 
     98Product of independent epdfs. For dependent pdfs, use \hyperlink{classmprod}{mprod}.  
    8099 
    81100The documentation for this class was generated from the following file:\begin{CompactItemize} 
    82101\item  
    83 work/git/mixpp/bdm/stat/{\bf emix.h}\end{CompactItemize} 
     102work/git/mixpp/bdm/stat/\hyperlink{emix_8h}{emix.h}\end{CompactItemize}