Changeset 270 for doc/latex/classbdm_1_1merger.tex
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classbdm_1_1merger.tex
r261 r270 3 3 \label{classbdm_1_1merger}\index{bdm::merger@{bdm::merger}} 4 4 } 5 Function for general combination of pdfs.6 7 8 5 {\tt \#include $<$merger.h$>$} 9 6 … … 15 12 \end{center} 16 13 \end{figure} 17 Collaboration diagram for bdm::merger:\nopagebreak 18 \begin{figure}[H] 19 \begin{center} 20 \leavevmode 21 \includegraphics[width=400pt]{classbdm_1_1merger__coll__graph} 22 \end{center} 23 \end{figure} 24 \subsection*{Public Member Functions} 14 15 16 \subsection{Detailed Description} 17 Function for general combination of pdfs. 18 19 Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. \subsection*{Public Member Functions} 25 20 \begin{CompactItemize} 26 21 \item … … 98 93 \label{classbdm_1_1compositepdf_c71fc2c51f49d797e61f479f543c75ce} 99 94 100 \begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\item 95 \begin{CompactList}\small\item\em common rvc of all mpdfs is written to rvc \item\end{CompactList}\end{CompactItemize} 96 \begin{Indent}{\bf Matematical Operations}\par 97 \begin{CompactItemize} 98 \item 101 99 \hypertarget{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{ 102 100 virtual mat \hyperlink{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{sample\_\-m} (int N) const } 103 101 \label{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058} 104 102 105 \begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item103 \begin{CompactList}\small\item\em Returns N samples, $ [x_1 , x_2 , \ldots \ $ from density $ f_x(rv)$. \item\end{CompactList}\item 106 104 \hypertarget{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{ 107 105 virtual vec \hyperlink{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{evallog\_\-m} (const mat \&Val) const } … … 118 116 \label{classbdm_1_1epdf_3fb2ece54f720b62ad325e61214fa0a1} 119 117 120 \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 118 \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} 119 \end{Indent} 120 \begin{Indent}{\bf Connection to other classes}\par 121 {\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} 122 \item 123 \hypertarget{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{ 124 void \hyperlink{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{set\_\-rv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv0)} 125 \label{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff} 126 127 \begin{CompactList}\small\item\em Name its rv. \item\end{CompactList}\item 128 \hypertarget{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{ 129 bool \hyperlink{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{isnamed} () const } 130 \label{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9} 131 132 \begin{CompactList}\small\item\em True if rv is assigned. \item\end{CompactList}\item 121 133 \hypertarget{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{ 122 134 const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{\_\-rv} () const } 123 135 \label{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21} 124 136 125 \begin{CompactList}\small\item\em access function, possibly dangerous! \item\end{CompactList}\item 126 \hypertarget{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{ 127 void \hyperlink{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{\_\-renewrv} (const \hyperlink{classbdm_1_1RV}{RV} \&in\_\-rv)} 128 \label{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f} 129 130 \begin{CompactList}\small\item\em modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize} 137 \begin{CompactList}\small\item\em Return name (fails when isnamed is false). \item\end{CompactList}\end{CompactItemize} 138 \end{Indent} 139 \begin{Indent}{\bf Access to attributes}\par 140 \begin{CompactItemize} 141 \item 142 \hypertarget{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{ 143 bool \hyperlink{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{dimension} () const } 144 \label{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b} 145 146 \begin{CompactList}\small\item\em Size of the random variable. \item\end{CompactList}\end{CompactItemize} 147 \end{Indent} 131 148 \subsection*{Protected Attributes} 132 149 \begin{CompactItemize} … … 182 199 183 200 \begin{CompactList}\small\item\em Elements of composition. \item\end{CompactList}\item 201 \hypertarget{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{ 202 int \hyperlink{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{dim}} 203 \label{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce} 204 205 \begin{CompactList}\small\item\em dimension of the random variable \item\end{CompactList}\item 184 206 \hypertarget{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{ 185 207 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}} 186 208 \label{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8} 187 209 188 \begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize} 189 190 191 \subsection{Detailed Description} 192 Function for general combination of pdfs. 193 194 Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. 210 \begin{CompactList}\small\item\em Description of the random variable. \item\end{CompactList}\end{CompactItemize} 211 195 212 196 213 \subsection{Member Function Documentation}