\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_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 
\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 
\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_6af383b6f1c6ea6fc5f6724dd03d8877}{
virtual vec \hyperlink{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}{evalpdflog} (const mat \&Val) const }
\label{classepdf_6af383b6f1c6ea6fc5f6724dd03d8877}

\begin{CompactList}\small\item\em Compute log-probability of multiple values argument {\tt val}. \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}
