Index: doc/latex/classeprod.tex
===================================================================
--- doc/latex/classeprod.tex (revision 145)
+++ doc/latex/classeprod.tex (revision 172)
@@ -1,5 +1,7 @@
+\hypertarget{classeprod}{
 \section{eprod Class Reference}
 \label{classeprod}\index{eprod@{eprod}}
-Chain rule decomposition of \doxyref{epdf}{p.}{classepdf}.  
+}
+Product of independent epdfs. For dependent pdfs, use \hyperlink{classmprod}{mprod}.  
 
 
@@ -23,37 +25,70 @@
 \begin{CompactItemize}
 \item 
-\textbf{eprod} (Array$<$ {\bf epdf} $>$ Facs)\label{classeprod_6c76cb1658c345cc30374c340608006c}
+\hypertarget{classeprod_288ace3ff1df274dfa89e1a641448a43}{
+\textbf{eprod} (const Array$<$ const \hyperlink{classepdf}{epdf} $\ast$ $>$ epdfs0)}
+\label{classeprod_288ace3ff1df274dfa89e1a641448a43}
 
 \item 
-virtual vec {\bf sample} () const =0
-\begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 
-virtual mat {\bf sampleN} (int N) const \label{classepdf_54d7dd53a641b618771cd9bee135181f}
+\hypertarget{classeprod_5752dd999e1f4638f9558b0cc35b64f7}{
+vec \hyperlink{classeprod_5752dd999e1f4638f9558b0cc35b64f7}{mean} () const }
+\label{classeprod_5752dd999e1f4638f9558b0cc35b64f7}
+
+\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item 
+\hypertarget{classeprod_94a5b7c44056cf7f4e688d53ba6295b4}{
+vec \hyperlink{classeprod_94a5b7c44056cf7f4e688d53ba6295b4}{sample} () const }
+\label{classeprod_94a5b7c44056cf7f4e688d53ba6295b4}
+
+\begin{CompactList}\small\item\em Returns a sample, $x$ from density $epdf(rv)$. \item\end{CompactList}\item 
+\hypertarget{classeprod_5adef154e3655a872c284b02635b8b35}{
+double \hyperlink{classeprod_5adef154e3655a872c284b02635b8b35}{evalpdflog} (const vec \&val) const }
+\label{classeprod_5adef154e3655a872c284b02635b8b35}
+
+\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 
+\hypertarget{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f}{
+const \hyperlink{classepdf}{epdf} $\ast$ \hyperlink{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f}{operator()} (int i) const }
+\label{classeprod_c049331d8b1ec7e4c088cf0cc6d47f3f}
+
+\begin{CompactList}\small\item\em access function \item\end{CompactList}\item 
+\hypertarget{classepdf_54d7dd53a641b618771cd9bee135181f}{
+virtual mat \hyperlink{classepdf_54d7dd53a641b618771cd9bee135181f}{sampleN} (int N) const }
+\label{classepdf_54d7dd53a641b618771cd9bee135181f}
 
 \begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item 
-virtual double {\bf eval} (const vec \&val) const \label{classepdf_3ea597362e11a0040fe7c990269d072c}
+\hypertarget{classepdf_3ea597362e11a0040fe7c990269d072c}{
+virtual double \hyperlink{classepdf_3ea597362e11a0040fe7c990269d072c}{eval} (const vec \&val) const }
+\label{classepdf_3ea597362e11a0040fe7c990269d072c}
 
 \begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item 
-virtual double {\bf evalpdflog} (const vec \&val) const =0\label{classepdf_6aef3eca74899692503769c18add1a4c}
+\hypertarget{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}{
+virtual vec \hyperlink{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}{evalpdflog} (const mat \&Val) const }
+\label{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}
 
-\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 
-virtual vec {\bf mean} () const =0\label{classepdf_bf0a070a8f3e67a93604ca724638b870}
+\begin{CompactList}\small\item\em Compute log-probability of multiple values argument {\tt val}. \item\end{CompactList}\item 
+\hypertarget{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{
+const \hyperlink{classRV}{RV} \& \hyperlink{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{\_\-rv} () const }
+\label{classepdf_ca0d32aabb4cbba347e0c37fe8607562}
 
-\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item 
-{\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337}
+\begin{CompactList}\small\item\em access function, possibly dangerous! \item\end{CompactList}\item 
+\hypertarget{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5}{
+void \hyperlink{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5}{\_\-renewrv} (const \hyperlink{classRV}{RV} \&in\_\-rv)}
+\label{classepdf_7fb94ce90d1ac7077d29f7d6a6c3e0a5}
 
-\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
+\begin{CompactList}\small\item\em modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize}
 \subsection*{Protected Attributes}
 \begin{CompactItemize}
 \item 
-Array$<$ {\bf epdf} $\ast$ $>$ \textbf{epdfs}\label{classeprod_5307a27aaf48be8213294b05ac533c39}
+\hypertarget{classeprod_63fc0db078542bce1c5dff94f9c3a357}{
+Array$<$ const \hyperlink{classepdf}{epdf} $\ast$ $>$ \hyperlink{classeprod_63fc0db078542bce1c5dff94f9c3a357}{epdfs}}
+\label{classeprod_63fc0db078542bce1c5dff94f9c3a357}
 
-\item 
-Array$<$ {\bf mpdf} $\ast$ $>$ \textbf{mpdfs}\label{classeprod_a4387c81276ca66c1ca9336cf8bf74a8}
+\begin{CompactList}\small\item\em Components (epdfs). \item\end{CompactList}\item 
+\hypertarget{classeprod_a471987de1115dc639eccff65f3b9aa3}{
+Array$<$ ivec $>$ \hyperlink{classeprod_a471987de1115dc639eccff65f3b9aa3}{rvinds}}
+\label{classeprod_a471987de1115dc639eccff65f3b9aa3}
 
-\item 
-ivec \textbf{sizes}\label{classeprod_68b66b05b3b6987472247f541846a366}
-
-\item 
-{\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9}
+\begin{CompactList}\small\item\em Array of indeces. \item\end{CompactList}\item 
+\hypertarget{classepdf_74da992e3f5d598da8850b646b79b9d9}{
+\hyperlink{classRV}{RV} \hyperlink{classepdf_74da992e3f5d598da8850b646b79b9d9}{rv}}
+\label{classepdf_74da992e3f5d598da8850b646b79b9d9}
 
 \begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize}
@@ -61,23 +96,7 @@
 
 \subsection{Detailed Description}
-Chain rule decomposition of \doxyref{epdf}{p.}{classepdf}. 
-
-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 
-
-\subsection{Member Function Documentation}
-\index{eprod@{eprod}!sample@{sample}}
-\index{sample@{sample}!eprod@{eprod}}
-\subsubsection[sample]{\setlength{\rightskip}{0pt plus 5cm}virtual vec epdf::sample () const\hspace{0.3cm}{\tt  [pure virtual, inherited]}}\label{classepdf_8019654e494bf5e458f6fb947e11b262}
-
-
-Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. 
-
-Returns a sample, $x$ from density $epdf(rv)$ 
-
-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}.
-
-Referenced by mpdf::samplecond(), PF::set\_\-est(), and eEmp::set\_\-parameters().
+Product of independent epdfs. For dependent pdfs, use \hyperlink{classmprod}{mprod}. 
 
 The documentation for this class was generated from the following file:\begin{CompactItemize}
 \item 
-work/git/mixpp/bdm/stat/{\bf emix.h}\end{CompactItemize}
+work/git/mixpp/bdm/stat/\hyperlink{emix_8h}{emix.h}\end{CompactItemize}
