1 | \section{euni Class Reference} |
---|
2 | \label{classeuni}\index{euni@{euni}} |
---|
3 | Uniform distributed density on a rectangular support. |
---|
4 | |
---|
5 | |
---|
6 | {\tt \#include $<$libEF.h$>$} |
---|
7 | |
---|
8 | Inheritance diagram for euni:\nopagebreak |
---|
9 | \begin{figure}[H] |
---|
10 | \begin{center} |
---|
11 | \leavevmode |
---|
12 | \includegraphics[width=41pt]{classeuni__inherit__graph} |
---|
13 | \end{center} |
---|
14 | \end{figure} |
---|
15 | Collaboration diagram for euni:\nopagebreak |
---|
16 | \begin{figure}[H] |
---|
17 | \begin{center} |
---|
18 | \leavevmode |
---|
19 | \includegraphics[width=41pt]{classeuni__coll__graph} |
---|
20 | \end{center} |
---|
21 | \end{figure} |
---|
22 | \subsection*{Public Member Functions} |
---|
23 | \begin{CompactItemize} |
---|
24 | \item |
---|
25 | \textbf{euni} (const {\bf RV} rv)\label{classeuni_2537a6c239cff52e3ba814851a1116cd} |
---|
26 | |
---|
27 | \item |
---|
28 | double {\bf eval} (const vec \&val)\label{classeuni_95f29237feb32fcadf570a181d5a0918} |
---|
29 | |
---|
30 | \begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item |
---|
31 | double {\bf evalpdflog} (const vec \&val)\label{classeuni_830fca2ffb6786530529c57eabc81666} |
---|
32 | |
---|
33 | \begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item |
---|
34 | vec {\bf sample} () |
---|
35 | \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item |
---|
36 | void \textbf{set\_\-parameters} (const vec \&low0, const vec \&high0)\label{classeuni_4fd7c6a05100616ad16ece405cad7bf2} |
---|
37 | |
---|
38 | \item |
---|
39 | vec {\bf mean} ()\label{classeuni_34a2f2d23158c40b97b44dfe551a1b3d} |
---|
40 | |
---|
41 | \begin{CompactList}\small\item\em return expected value \item\end{CompactList}\end{CompactItemize} |
---|
42 | \subsection*{Protected Attributes} |
---|
43 | \begin{CompactItemize} |
---|
44 | \item |
---|
45 | vec {\bf low}\label{classeuni_ef42cd8d7645422048d46c46ec5cdac1} |
---|
46 | |
---|
47 | \begin{CompactList}\small\item\em lower bound on support \item\end{CompactList}\item |
---|
48 | vec {\bf high}\label{classeuni_71b6d6b41aeb61a7f76f682b72119231} |
---|
49 | |
---|
50 | \begin{CompactList}\small\item\em upper bound on support \item\end{CompactList}\item |
---|
51 | vec {\bf distance}\label{classeuni_52a6ff4a54010f88a6a19fca605c64a4} |
---|
52 | |
---|
53 | \begin{CompactList}\small\item\em internal \item\end{CompactList}\item |
---|
54 | double {\bf nk}\label{classeuni_63105490e946e43372d6187ad1bafdda} |
---|
55 | |
---|
56 | \begin{CompactList}\small\item\em normalizing coefficients \item\end{CompactList}\item |
---|
57 | double \textbf{lnk}\label{classeuni_f445a0ce24f39d14c1a4eed53fc8e2c3} |
---|
58 | |
---|
59 | \item |
---|
60 | {\bf RV} \textbf{rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9} |
---|
61 | |
---|
62 | \end{CompactItemize} |
---|
63 | |
---|
64 | |
---|
65 | \subsection{Detailed Description} |
---|
66 | Uniform distributed density on a rectangular support. |
---|
67 | |
---|
68 | \subsection{Member Function Documentation} |
---|
69 | \index{euni@{euni}!sample@{sample}} |
---|
70 | \index{sample@{sample}!euni@{euni}} |
---|
71 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}vec euni::sample ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classeuni_0f71562e3e919aba823cb7d9d420ad4c} |
---|
72 | |
---|
73 | |
---|
74 | Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. |
---|
75 | |
---|
76 | Returns a sample from the density, $x \sim epdf(rv)$ |
---|
77 | |
---|
78 | Implements {\bf epdf} \doxyref{}{p.}{classepdf_7f74d871d50b9ff360f1b3879092a9fa}. |
---|
79 | |
---|
80 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
81 | \item |
---|
82 | work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize} |
---|