root/doc/latex/classeuni.tex @ 140

Revision 140, 3.8 kB (checked in by smidl, 16 years ago)

Latex doc

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