Show
Ignore:
Timestamp:
02/16/09 10:02:08 (16 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classbdm_1_1merger.tex

    r261 r270  
    33\label{classbdm_1_1merger}\index{bdm::merger@{bdm::merger}} 
    44} 
    5 Function for general combination of pdfs.   
    6  
    7  
    85{\tt \#include $<$merger.h$>$} 
    96 
     
    1512\end{center} 
    1613\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} 
     17Function for general combination of pdfs.  
     18 
     19Mixtures of Gaussian densities are used internally. Switching to other densities should be trivial. \subsection*{Public Member Functions} 
    2520\begin{CompactItemize} 
    2621\item  
     
    9893\label{classbdm_1_1compositepdf_c71fc2c51f49d797e61f479f543c75ce} 
    9994 
    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  
    10199\hypertarget{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{ 
    102100virtual mat \hyperlink{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{sample\_\-m} (int N) const } 
    103101\label{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058} 
    104102 
    105 \begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item  
     103\begin{CompactList}\small\item\em Returns N samples, $ [x_1 , x_2 , \ldots \ $ from density $ f_x(rv)$. \item\end{CompactList}\item  
    106104\hypertarget{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{ 
    107105virtual vec \hyperlink{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{evallog\_\-m} (const mat \&Val) const } 
     
    118116\label{classbdm_1_1epdf_3fb2ece54f720b62ad325e61214fa0a1} 
    119117 
    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}{ 
     124void \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}{ 
     129bool \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  
    121133\hypertarget{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{ 
    122134const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{\_\-rv} () const } 
    123135\label{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21} 
    124136 
    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}{ 
     143bool \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} 
    131148\subsection*{Protected Attributes} 
    132149\begin{CompactItemize} 
     
    182199 
    183200\begin{CompactList}\small\item\em Elements of composition. \item\end{CompactList}\item  
     201\hypertarget{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{ 
     202int \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  
    184206\hypertarget{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{ 
    185207\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}} 
    186208\label{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8} 
    187209 
    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 
    195212 
    196213\subsection{Member Function Documentation}