\hypertarget{classepdf}{
\section{epdf Class Reference}
\label{classepdf}\index{epdf@{epdf}}
}
Probability density function with numerical statistics, e.g. posterior density.  


{\tt \#include $<$libBM.h$>$}

Inheritance diagram for epdf:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{classepdf__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for epdf:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=39pt]{classepdf__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\hypertarget{classepdf_d8eb760037b3bad5a0d64081606697cd}{
\hyperlink{classepdf_d8eb760037b3bad5a0d64081606697cd}{epdf} ()}
\label{classepdf_d8eb760037b3bad5a0d64081606697cd}

\begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item 
\hypertarget{classepdf_c95b1a27a8dd9507bb9a5a3cb2809c7a}{
\hyperlink{classepdf_c95b1a27a8dd9507bb9a5a3cb2809c7a}{epdf} (const \hyperlink{classRV}{RV} \&rv0)}
\label{classepdf_c95b1a27a8dd9507bb9a5a3cb2809c7a}

\begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item 
\hypertarget{classepdf_8019654e494bf5e458f6fb947e11b262}{
virtual vec \hyperlink{classepdf_8019654e494bf5e458f6fb947e11b262}{sample} () const =0}
\label{classepdf_8019654e494bf5e458f6fb947e11b262}

\begin{CompactList}\small\item\em Returns a sample, $x$ from density $epdf(rv)$. \item\end{CompactList}\item 
\hypertarget{classepdf_76608914c3b19e150292d5c56e93e508}{
virtual mat \hyperlink{classepdf_76608914c3b19e150292d5c56e93e508}{sample\_\-m} (int N) const }
\label{classepdf_76608914c3b19e150292d5c56e93e508}

\begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item 
\hypertarget{classepdf_6aef3eca74899692503769c18add1a4c}{
virtual double \hyperlink{classepdf_6aef3eca74899692503769c18add1a4c}{evalpdflog} (const vec \&val) const =0}
\label{classepdf_6aef3eca74899692503769c18add1a4c}

\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 
\hypertarget{classepdf_cebbdd7a85e6328f7358fc0ba8eee06c}{
virtual vec \hyperlink{classepdf_cebbdd7a85e6328f7358fc0ba8eee06c}{evalpdflog\_\-m} (const mat \&Val) const }
\label{classepdf_cebbdd7a85e6328f7358fc0ba8eee06c}

\begin{CompactList}\small\item\em Compute log-probability of multiple values argument {\tt val}. \item\end{CompactList}\item 
\hypertarget{classepdf_e87dc8260a5c37bc1b03eb66174741a0}{
virtual \hyperlink{classmpdf}{mpdf} $\ast$ \hyperlink{classepdf_e87dc8260a5c37bc1b03eb66174741a0}{condition} (const \hyperlink{classRV}{RV} \&\hyperlink{classepdf_74da992e3f5d598da8850b646b79b9d9}{rv}) const }
\label{classepdf_e87dc8260a5c37bc1b03eb66174741a0}

\begin{CompactList}\small\item\em Return conditional density on the given \hyperlink{classRV}{RV}, the remaining rvs will be in conditioning. \item\end{CompactList}\item 
\hypertarget{classepdf_38de9f59b65ee06028554f3f74b66025}{
virtual \hyperlink{classepdf}{epdf} $\ast$ \hyperlink{classepdf_38de9f59b65ee06028554f3f74b66025}{marginal} (const \hyperlink{classRV}{RV} \&\hyperlink{classepdf_74da992e3f5d598da8850b646b79b9d9}{rv}) const }
\label{classepdf_38de9f59b65ee06028554f3f74b66025}

\begin{CompactList}\small\item\em Return marginal density on the given \hyperlink{classRV}{RV}, the remainig rvs are intergrated out. \item\end{CompactList}\item 
\hypertarget{classepdf_bf0a070a8f3e67a93604ca724638b870}{
virtual vec \hyperlink{classepdf_bf0a070a8f3e67a93604ca724638b870}{mean} () const =0}
\label{classepdf_bf0a070a8f3e67a93604ca724638b870}

\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item 
\hypertarget{classepdf_0a322dd106f04c0a2915e3d4f4227396}{
virtual \hyperlink{classepdf_0a322dd106f04c0a2915e3d4f4227396}{$\sim$epdf} ()}
\label{classepdf_0a322dd106f04c0a2915e3d4f4227396}

\begin{CompactList}\small\item\em Destructor for future use;. \item\end{CompactList}\item 
\hypertarget{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{
const \hyperlink{classRV}{RV} \& \hyperlink{classepdf_ca0d32aabb4cbba347e0c37fe8607562}{\_\-rv} () const }
\label{classepdf_ca0d32aabb4cbba347e0c37fe8607562}

\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 modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\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}


\subsection{Detailed Description}
Probability density function with numerical statistics, e.g. posterior density. 

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
work/git/mixpp/bdm/stat/\hyperlink{libBM_8h}{libBM.h}\item 
work/git/mixpp/bdm/stat/libBM.cpp\end{CompactItemize}
