root/doc/latex/classeuni.tex @ 91

Revision 91, 3.6 kB (checked in by smidl, 16 years ago)

drobnosti a dokumentace

  • 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 
42{\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337}
43
44\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
45\subsection*{Protected Attributes}
46\begin{CompactItemize}
47\item 
48vec {\bf low}\label{classeuni_ef42cd8d7645422048d46c46ec5cdac1}
49
50\begin{CompactList}\small\item\em lower bound on support \item\end{CompactList}\item 
51vec {\bf high}\label{classeuni_71b6d6b41aeb61a7f76f682b72119231}
52
53\begin{CompactList}\small\item\em upper bound on support \item\end{CompactList}\item 
54vec {\bf distance}\label{classeuni_52a6ff4a54010f88a6a19fca605c64a4}
55
56\begin{CompactList}\small\item\em internal \item\end{CompactList}\item 
57double {\bf nk}\label{classeuni_63105490e946e43372d6187ad1bafdda}
58
59\begin{CompactList}\small\item\em normalizing coefficients \item\end{CompactList}\item 
60double {\bf lnk}\label{classeuni_f445a0ce24f39d14c1a4eed53fc8e2c3}
61
62\begin{CompactList}\small\item\em cache of log( {\tt nk} ) \item\end{CompactList}\item 
63{\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9}
64
65\begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize}
66
67
68\subsection{Detailed Description}
69Uniform distributed density on a rectangular support.
70
71\subsection{Member Function Documentation}
72\index{euni@{euni}!sample@{sample}}
73\index{sample@{sample}!euni@{euni}}
74\subsubsection{\setlength{\rightskip}{0pt plus 5cm}vec euni::sample () const\hspace{0.3cm}{\tt  [inline, virtual]}}\label{classeuni_4a0e09392be17beaee120ba98fc038cd}
75
76
77Returns the required moment of the \doxyref{epdf}{p.}{classepdf}.
78
79Returns a sample from the density, $x \sim epdf(rv)$ 
80
81Implements {\bf epdf} \doxyref{}{p.}{classepdf_8019654e494bf5e458f6fb947e11b262}.
82
83References RV::count(), distance, low, and epdf::rv.
84
85The documentation for this class was generated from the following file:\begin{CompactItemize}
86\item 
87work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize}
Note: See TracBrowser for help on using the browser.