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_1eprod.tex

    r269 r270  
    33\label{classbdm_1_1eprod}\index{bdm::eprod@{bdm::eprod}} 
    44} 
    5 Product of independent epdfs. For dependent pdfs, use \hyperlink{classbdm_1_1mprod}{mprod}.   
    6  
    7  
    85{\tt \#include $<$emix.h$>$} 
    96 
     
    1512\end{center} 
    1613\end{figure} 
    17 Collaboration diagram for bdm::eprod:\nopagebreak 
    18 \begin{figure}[H] 
    19 \begin{center} 
    20 \leavevmode 
    21 \includegraphics[width=75pt]{classbdm_1_1eprod__coll__graph} 
    22 \end{center} 
    23 \end{figure} 
    24 \subsection*{Public Member Functions} 
     14 
     15 
     16\subsection{Detailed Description} 
     17Product of independent epdfs. For dependent pdfs, use \hyperlink{classbdm_1_1mprod}{mprod}. \subsection*{Public Member Functions} 
    2518\begin{CompactItemize} 
    2619\item  
     
    4437\label{classbdm_1_1eprod_af48debea25d3473bcb71b6a77fac741} 
    4538 
    46 \begin{CompactList}\small\item\em Returns a sample, $x$ from density $epdf(rv)$. \item\end{CompactList}\item  
     39\begin{CompactList}\small\item\em Returns a sample, $ x $ from density $ f_x()$. \item\end{CompactList}\item  
    4740\hypertarget{classbdm_1_1eprod_a5a91e67d2f74ff2b0b8eecde2fa42e2}{ 
    4841double \hyperlink{classbdm_1_1eprod_a5a91e67d2f74ff2b0b8eecde2fa42e2}{evallog} (const vec \&val) const } 
     
    5952\label{classbdm_1_1eprod_708b37971aab3667f20e325c358632cf} 
    6053 
    61 \begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item  
     54\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\end{CompactItemize} 
     55\begin{Indent}{\bf Matematical Operations}\par 
     56\begin{CompactItemize} 
     57\item  
    6258\hypertarget{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{ 
    6359virtual mat \hyperlink{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058}{sample\_\-m} (int N) const } 
    6460\label{classbdm_1_1epdf_b4cf45fd83cc7573ede9fe1215256058} 
    6561 
    66 \begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item  
     62\begin{CompactList}\small\item\em Returns N samples, $ [x_1 , x_2 , \ldots \ $ from density $ f_x(rv)$. \item\end{CompactList}\item  
    6763\hypertarget{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{ 
    6864virtual vec \hyperlink{classbdm_1_1epdf_34956d4dd3176eeb5937cf48a1546b62}{evallog\_\-m} (const mat \&Val) const } 
     
    7975\label{classbdm_1_1epdf_3fb2ece54f720b62ad325e61214fa0a1} 
    8076 
    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}{ 
     83void \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}{ 
     88bool \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  
    8292\hypertarget{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{ 
    8393const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21}{\_\-rv} () const } 
    8494\label{classbdm_1_1epdf_a4ab378d5e004c3ff3e2d4e64f7bba21} 
    8595 
    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}{ 
     102bool \hyperlink{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{dimension} () const } 
     103\label{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b} 
    90104 
    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} 
    92107\subsection*{Protected Attributes} 
    93108\begin{CompactItemize} 
     
    98113 
    99114\begin{CompactList}\small\item\em Components (epdfs). \item\end{CompactList}\item  
    100 \hypertarget{classbdm_1_1eprod_a42b1820428ac06eecb6d938cb6896ff}{ 
    101 Array$<$ \hyperlink{classbdm_1_1datalink__e2e}{datalink\_\-e2e} $\ast$ $>$ \hyperlink{classbdm_1_1eprod_a42b1820428ac06eecb6d938cb6896ff}{dls}} 
    102 \label{classbdm_1_1eprod_a42b1820428ac06eecb6d938cb6896ff} 
     115\hypertarget{classbdm_1_1eprod_6b5a9be71a644f6009e7beda6c762a43}{ 
     116Array$<$ \hyperlink{classbdm_1_1datalink}{datalink} $\ast$ $>$ \hyperlink{classbdm_1_1eprod_6b5a9be71a644f6009e7beda6c762a43}{dls}} 
     117\label{classbdm_1_1eprod_6b5a9be71a644f6009e7beda6c762a43} 
    103118 
    104119\begin{CompactList}\small\item\em Array of indeces. \item\end{CompactList}\item  
     120\hypertarget{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{ 
     121int \hyperlink{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce}{dim}} 
     122\label{classbdm_1_1epdf_16adac20ec7fe07e1ea0b27d917788ce} 
     123 
     124\begin{CompactList}\small\item\em dimension of the random variable \item\end{CompactList}\item  
    105125\hypertarget{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{ 
    106126\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}} 
    107127\label{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8} 
    108128 
    109 \begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize} 
     129\begin{CompactList}\small\item\em Description of the random variable. \item\end{CompactList}\end{CompactItemize} 
    110130 
    111  
    112 \subsection{Detailed Description} 
    113 Product of independent epdfs. For dependent pdfs, use \hyperlink{classbdm_1_1mprod}{mprod}.  
    114131 
    115132The documentation for this class was generated from the following file:\begin{CompactItemize}