\section{euni Class Reference}
\label{classeuni}\index{euni@{euni}}
Uniform distributed density on a rectangular support.  


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

Inheritance diagram for euni:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=41pt]{classeuni__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for euni:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=41pt]{classeuni__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
\textbf{euni} (const {\bf RV} rv)\label{classeuni_2537a6c239cff52e3ba814851a1116cd}

\item 
double {\bf eval} (const vec \&val)\label{classeuni_95f29237feb32fcadf570a181d5a0918}

\begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item 
double {\bf evalpdflog} (const vec \&val)\label{classeuni_830fca2ffb6786530529c57eabc81666}

\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 
vec {\bf sample} ()
\begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 
void \textbf{set\_\-parameters} (const vec \&low0, const vec \&high0)\label{classeuni_4fd7c6a05100616ad16ece405cad7bf2}

\item 
vec {\bf mean} ()\label{classeuni_34a2f2d23158c40b97b44dfe551a1b3d}

\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
vec {\bf low}\label{classeuni_ef42cd8d7645422048d46c46ec5cdac1}

\begin{CompactList}\small\item\em lower bound on support \item\end{CompactList}\item 
vec {\bf high}\label{classeuni_71b6d6b41aeb61a7f76f682b72119231}

\begin{CompactList}\small\item\em upper bound on support \item\end{CompactList}\item 
vec {\bf distance}\label{classeuni_52a6ff4a54010f88a6a19fca605c64a4}

\begin{CompactList}\small\item\em internal \item\end{CompactList}\item 
double {\bf nk}\label{classeuni_63105490e946e43372d6187ad1bafdda}

\begin{CompactList}\small\item\em normalizing coefficients \item\end{CompactList}\item 
double \textbf{lnk}\label{classeuni_f445a0ce24f39d14c1a4eed53fc8e2c3}

\item 
{\bf RV} \textbf{rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9}

\end{CompactItemize}


\subsection{Detailed Description}
Uniform distributed density on a rectangular support. 

\subsection{Member Function Documentation}
\index{euni@{euni}!sample@{sample}}
\index{sample@{sample}!euni@{euni}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}vec euni::sample ()\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classeuni_0f71562e3e919aba823cb7d9d420ad4c}


Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. 

Returns a sample from the density, $x \sim epdf(rv)$ 

Implements {\bf epdf} \doxyref{}{p.}{classepdf_7f74d871d50b9ff360f1b3879092a9fa}.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize}
