Changeset 270 for doc/latex/classbdm_1_1euni.tex
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classbdm_1_1euni.tex
r261 r270 3 3 \label{classbdm_1_1euni}\index{bdm::euni@{bdm::euni}} 4 4 } 5 Uniform distributed density on a rectangular support.6 7 8 5 {\tt \#include $<$libEF.h$>$} 9 6 … … 15 12 \end{center} 16 13 \end{figure} 17 Collaboration diagram for bdm::euni:\nopagebreak 18 \begin{figure}[H] 19 \begin{center} 20 \leavevmode 21 \includegraphics[width=75pt]{classbdm_1_1euni__coll__graph} 22 \end{center} 23 \end{figure} 24 \subsection*{Public Member Functions} 14 15 16 \subsection{Detailed Description} 17 Uniform distributed density on a rectangular support. \subsection*{Public Member Functions} 25 18 \begin{CompactItemize} 26 19 \item 27 \hypertarget{classbdm_1_1euni_ dca02eda833d6295e0c19f6e120b64e0}{28 \hyperlink{classbdm_1_1euni_ dca02eda833d6295e0c19f6e120b64e0}{euni} (const \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv})}29 \label{classbdm_1_1euni_ dca02eda833d6295e0c19f6e120b64e0}20 \hypertarget{classbdm_1_1euni_8887b088e3ab0b01e96b88237d707b97}{ 21 \hyperlink{classbdm_1_1euni_8887b088e3ab0b01e96b88237d707b97}{euni} ()} 22 \label{classbdm_1_1euni_8887b088e3ab0b01e96b88237d707b97} 30 23 31 24 \begin{CompactList}\small\item\em Defualt constructor. \item\end{CompactList}\item … … 44 37 \label{classbdm_1_1euni_fc5df80359ead2918384b2004ce67194} 45 38 46 \begin{CompactList}\small\item\em Returns a sample, $ x$ from density $epdf(rv)$. \item\end{CompactList}\item39 \begin{CompactList}\small\item\em Returns a sample, $ x $ from density $ f_x()$. \item\end{CompactList}\item 47 40 \hypertarget{classbdm_1_1euni_8e130b323c62b42f1699537f99af6f09}{ 48 41 void \hyperlink{classbdm_1_1euni_8e130b323c62b42f1699537f99af6f09}{set\_\-parameters} (const vec \&low0, const vec \&high0)} … … 59 52 \label{classbdm_1_1euni_951f932155111f6053c980f672b4c22c} 60 53 61 \begin{CompactList}\small\item\em return expected variance (not covariance!) \item\end{CompactList}\item 54 \begin{CompactList}\small\item\em return expected variance (not covariance!) \item\end{CompactList}\end{CompactItemize} 55 \begin{Indent}{\bf Matematical Operations}\par 56 \begin{CompactItemize} 57 \item 62 58 \hypertarget{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{ 63 59 virtual mat \hyperlink{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{sample\_\-m} (int N) const } 64 60 \label{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058} 65 61 66 \begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item62 \begin{CompactList}\small\item\em Returns N samples, $ [x_1 , x_2 , \ldots \ $ from density $ f_x(rv)$. \item\end{CompactList}\item 67 63 \hypertarget{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{ 68 64 virtual vec \hyperlink{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{evallog\_\-m} (const mat \&Val) const } … … 79 75 \label{classbdm_1_1epdf_3fb2ece54f720b62ad325e61214fa0a1} 80 76 81 \begin{CompactList}\small\item\em Return marginal density on the given \hyperlink{classbdm_1_1RV}{RV}, the remainig rvs are intergrated out. \item\end{CompactList}\item 77 \begin{CompactList}\small\item\em Return marginal density on the given \hyperlink{classbdm_1_1RV}{RV}, the remainig rvs are intergrated out. \item\end{CompactList}\end{CompactItemize} 78 \end{Indent} 79 \begin{Indent}{\bf Connection to other classes}\par 80 {\em Description of the random quantity via attribute {\tt rv} is optional. For operations such as sampling {\tt rv} does not need to be set. However, for {\tt marginalization} and {\tt conditioning} {\tt rv} has to be set. NB: }\begin{CompactItemize} 81 \item 82 \hypertarget{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{ 83 void \hyperlink{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{set\_\-rv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv0)} 84 \label{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff} 85 86 \begin{CompactList}\small\item\em Name its rv. \item\end{CompactList}\item 87 \hypertarget{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{ 88 bool \hyperlink{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{isnamed} () const } 89 \label{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9} 90 91 \begin{CompactList}\small\item\em True if rv is assigned. \item\end{CompactList}\item 82 92 \hypertarget{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{ 83 93 const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{\_\-rv} () const } 84 94 \label{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21} 85 95 86 \begin{CompactList}\small\item\em access function, possibly dangerous! \item\end{CompactList}\item 87 \hypertarget{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{ 88 void \hyperlink{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{\_\-renewrv} (const \hyperlink{classbdm_1_1RV}{RV} \&in\_\-rv)} 89 \label{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f} 96 \begin{CompactList}\small\item\em Return name (fails when isnamed is false). \item\end{CompactList}\end{CompactItemize} 97 \end{Indent} 98 \begin{Indent}{\bf Access to attributes}\par 99 \begin{CompactItemize} 100 \item 101 \hypertarget{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{ 102 bool \hyperlink{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{dimension} () const } 103 \label{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b} 90 104 91 \begin{CompactList}\small\item\em modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize} 105 \begin{CompactList}\small\item\em Size of the random variable. \item\end{CompactList}\end{CompactItemize} 106 \end{Indent} 92 107 \subsection*{Protected Attributes} 93 108 \begin{CompactItemize} … … 118 133 119 134 \begin{CompactList}\small\item\em cache of log( {\tt nk} ) \item\end{CompactList}\item 135 \hypertarget{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{ 136 int \hyperlink{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{dim}} 137 \label{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce} 138 139 \begin{CompactList}\small\item\em dimension of the random variable \item\end{CompactList}\item 120 140 \hypertarget{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{ 121 141 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}} 122 142 \label{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8} 123 143 124 \begin{CompactList}\small\item\em Identifiedof the random variable. \item\end{CompactList}\end{CompactItemize}144 \begin{CompactList}\small\item\em Description of the random variable. \item\end{CompactList}\end{CompactItemize} 125 145 126 127 \subsection{Detailed Description}128 Uniform distributed density on a rectangular support.129 146 130 147 The documentation for this class was generated from the following file:\begin{CompactItemize}