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

    r269 r270  
    33\label{classbdm_1_1mpdf}\index{bdm::mpdf@{bdm::mpdf}} 
    44} 
    5 Conditional probability density, e.g. modeling some dependencies.   
    6  
    7  
    85{\tt \#include $<$libBM.h$>$} 
    96 
     
    1512\end{center} 
    1613\end{figure} 
    17 Collaboration diagram for bdm::mpdf:\nopagebreak 
    18 \begin{figure}[H] 
    19 \begin{center} 
    20 \leavevmode 
    21 \includegraphics[width=87pt]{classbdm_1_1mpdf__coll__graph} 
    22 \end{center} 
    23 \end{figure} 
    24 \subsection*{Public Member Functions} 
     14 
     15 
     16\subsection{Detailed Description} 
     17Conditional probability density, e.g. modeling some dependencies. \subsection*{Public Member Functions} 
     18\begin{Indent}{\bf Constructors}\par 
     19\begin{CompactItemize} 
     20\item  
     21\hypertarget{classbdm_1_1mpdf_dc3f5e531994dd42447d678deb92fe48}{ 
     22\textbf{mpdf} ()} 
     23\label{classbdm_1_1mpdf_dc3f5e531994dd42447d678deb92fe48} 
     24 
     25\item  
     26\hypertarget{classbdm_1_1mpdf_7089fcbd918f201fdf4256119e31f173}{ 
     27\hyperlink{classbdm_1_1mpdf_7089fcbd918f201fdf4256119e31f173}{mpdf} (const \hyperlink{classbdm_1_1mpdf}{mpdf} \&m)} 
     28\label{classbdm_1_1mpdf_7089fcbd918f201fdf4256119e31f173} 
     29 
     30\begin{CompactList}\small\item\em copy constructor does not set pointer {\tt ep} - has to be done in offsprings! \item\end{CompactList}\end{CompactItemize} 
     31\end{Indent} 
     32\begin{Indent}{\bf Matematical operations}\par 
    2533\begin{CompactItemize} 
    2634\item  
    2735virtual vec \hyperlink{classbdm_1_1mpdf_f0c1db6fcbb3aae2dd6123884457a367}{samplecond} (const vec \&cond) 
    2836\begin{CompactList}\small\item\em Returns a sample from the density conditioned on {\tt cond}, $x \sim epdf(rv|cond)$. \item\end{CompactList}\item  
    29 virtual mat \hyperlink{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{samplecond\_\-m} (const vec \&cond, vec \&ll, int N) 
     37virtual mat \hyperlink{classbdm_1_1mpdf_afe4185b26baeb03688202e254d3b005}{samplecond\_\-m} (const vec \&cond, int N) 
    3038\begin{CompactList}\small\item\em Returns. \item\end{CompactList}\item  
    3139\hypertarget{classbdm_1_1mpdf_db94784a9aacf74c65c5a014f6743530}{ 
     
    4351\label{classbdm_1_1mpdf_0b0ed1ed663071bb7cf4a1349eb94fcb} 
    4452 
    45 \begin{CompactList}\small\item\em Matrix version of evallogcond. \item\end{CompactList}\item  
    46 \hypertarget{classbdm_1_1mpdf_2d83cf2a5ba40cab11dfe158ced9ee9a}{ 
    47 virtual \hyperlink{classbdm_1_1mpdf_2d83cf2a5ba40cab11dfe158ced9ee9a}{$\sim$mpdf} ()} 
    48 \label{classbdm_1_1mpdf_2d83cf2a5ba40cab11dfe158ced9ee9a} 
     53\begin{CompactList}\small\item\em Matrix version of evallogcond. \item\end{CompactList}\end{CompactItemize} 
     54\end{Indent} 
     55\begin{Indent}{\bf Access to attributes}\par 
     56\begin{CompactItemize} 
     57\item  
     58\hypertarget{classbdm_1_1mpdf_5571482d150fbcb72cc36f6694ce1a10}{ 
     59\hyperlink{classbdm_1_1RV}{RV} \textbf{\_\-rv} ()} 
     60\label{classbdm_1_1mpdf_5571482d150fbcb72cc36f6694ce1a10} 
    4961 
    50 \begin{CompactList}\small\item\em Destructor for future use;. \item\end{CompactList}\item  
    51 \hypertarget{classbdm_1_1mpdf_5fd998aa9e223231ab20f29762e594f7}{ 
    52 \hyperlink{classbdm_1_1mpdf_5fd998aa9e223231ab20f29762e594f7}{mpdf} (const \hyperlink{classbdm_1_1RV}{RV} \&rv0, const \hyperlink{classbdm_1_1RV}{RV} \&rvc0)} 
    53 \label{classbdm_1_1mpdf_5fd998aa9e223231ab20f29762e594f7} 
     62\item  
     63\hypertarget{classbdm_1_1mpdf_26001264236846897bd11e4baad47245}{ 
     64\hyperlink{classbdm_1_1RV}{RV} \textbf{\_\-rvc} ()} 
     65\label{classbdm_1_1mpdf_26001264236846897bd11e4baad47245} 
    5466 
    55 \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item  
    56 \hypertarget{classbdm_1_1mpdf_b3aba7311038bf990d706a64cab60cf8}{ 
    57 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1mpdf_b3aba7311038bf990d706a64cab60cf8}{\_\-rvc} () const } 
    58 \label{classbdm_1_1mpdf_b3aba7311038bf990d706a64cab60cf8} 
     67\item  
     68\hypertarget{classbdm_1_1mpdf_1c2bae3e1e90874e72941863974ec0ed}{ 
     69int \textbf{dimension} ()} 
     70\label{classbdm_1_1mpdf_1c2bae3e1e90874e72941863974ec0ed} 
    5971 
    60 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
    61 \hypertarget{classbdm_1_1mpdf_222d5280e309c5a053ba73841e98c151}{ 
    62 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1mpdf_222d5280e309c5a053ba73841e98c151}{\_\-rv} () const } 
    63 \label{classbdm_1_1mpdf_222d5280e309c5a053ba73841e98c151} 
     72\item  
     73\hypertarget{classbdm_1_1mpdf_35e135910aed187b7290742f50e61bc8}{ 
     74int \textbf{dimensionc} ()} 
     75\label{classbdm_1_1mpdf_35e135910aed187b7290742f50e61bc8} 
    6476 
    65 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     77\item  
    6678\hypertarget{classbdm_1_1mpdf_1892fe3933488942253679f068e9e7f6}{ 
    67 \hyperlink{classbdm_1_1epdf}{epdf} \& \hyperlink{classbdm_1_1mpdf_1892fe3933488942253679f068e9e7f6}{\_\-epdf} ()} 
     79\hyperlink{classbdm_1_1epdf}{epdf} \& \textbf{\_\-epdf} ()} 
    6880\label{classbdm_1_1mpdf_1892fe3933488942253679f068e9e7f6} 
    6981 
    70 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     82\item  
    7183\hypertarget{classbdm_1_1mpdf_05e843fd11c410a99dad2b88c55aca80}{ 
    72 \hyperlink{classbdm_1_1epdf}{epdf} $\ast$ \hyperlink{classbdm_1_1mpdf_05e843fd11c410a99dad2b88c55aca80}{\_\-e} ()} 
     84\hyperlink{classbdm_1_1epdf}{epdf} $\ast$ \textbf{\_\-e} ()} 
    7385\label{classbdm_1_1mpdf_05e843fd11c410a99dad2b88c55aca80} 
    7486 
    75 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 
     87\end{CompactItemize} 
     88\end{Indent} 
     89\begin{Indent}{\bf Connection to other objects}\par 
     90\begin{CompactItemize} 
     91\item  
     92\hypertarget{classbdm_1_1mpdf_7631a5570e4ade1420065e8df78f4401}{ 
     93void \textbf{set\_\-rvc} (const \hyperlink{classbdm_1_1RV}{RV} \&rvc0)} 
     94\label{classbdm_1_1mpdf_7631a5570e4ade1420065e8df78f4401} 
     95 
     96\item  
     97\hypertarget{classbdm_1_1mpdf_18ac26bc2f96ae01ef4eb06178abbd75}{ 
     98void \textbf{set\_\-rv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv0)} 
     99\label{classbdm_1_1mpdf_18ac26bc2f96ae01ef4eb06178abbd75} 
     100 
     101\item  
     102\hypertarget{classbdm_1_1mpdf_f8e3798150b42fd1f3e16ddbbe0e7045}{ 
     103bool \textbf{isnamed} ()} 
     104\label{classbdm_1_1mpdf_f8e3798150b42fd1f3e16ddbbe0e7045} 
     105 
     106\end{CompactItemize} 
     107\end{Indent} 
    76108\subsection*{Protected Attributes} 
    77109\begin{CompactItemize} 
    78110\item  
    79 \hypertarget{classbdm_1_1mpdf_9bcfb45435d30983f436d41c298cbb51}{ 
    80 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1mpdf_9bcfb45435d30983f436d41c298cbb51}{rv}} 
    81 \label{classbdm_1_1mpdf_9bcfb45435d30983f436d41c298cbb51} 
     111\hypertarget{classbdm_1_1mpdf_7c1900976ff13dbc09c9729b3bbff9e6}{ 
     112int \hyperlink{classbdm_1_1mpdf_7c1900976ff13dbc09c9729b3bbff9e6}{dimc}} 
     113\label{classbdm_1_1mpdf_7c1900976ff13dbc09c9729b3bbff9e6} 
    82114 
    83 \begin{CompactList}\small\item\em modeled random variable \item\end{CompactList}\item  
     115\begin{CompactList}\small\item\em dimension of the condition \item\end{CompactList}\item  
    84116\hypertarget{classbdm_1_1mpdf_5a5f08950daa08b85b01ddf4e1c36288}{ 
    85117\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1mpdf_5a5f08950daa08b85b01ddf4e1c36288}{rvc}} 
     
    93125\begin{CompactList}\small\item\em pointer to internal \hyperlink{classbdm_1_1epdf}{epdf} \item\end{CompactList}\end{CompactItemize} 
    94126 
    95  
    96 \subsection{Detailed Description} 
    97 Conditional probability density, e.g. modeling some dependencies.  
    98127 
    99128\subsection{Member Function Documentation} 
     
    116145References condition(), ep, and bdm::epdf::sample(). 
    117146 
    118 Referenced by bdm::MPF$<$ BM\_\-T $>$::bayes(), bdm::PF::bayes(), and bdm::ArxDS::step().\hypertarget{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652}{ 
     147Referenced by bdm::MPF$<$ BM\_\-T $>$::bayes(), bdm::PF::bayes(), and bdm::ArxDS::step().\hypertarget{classbdm_1_1mpdf_afe4185b26baeb03688202e254d3b005}{ 
    119148\index{bdm::mpdf@{bdm::mpdf}!samplecond\_\-m@{samplecond\_\-m}} 
    120149\index{samplecond\_\-m@{samplecond\_\-m}!bdm::mpdf@{bdm::mpdf}} 
    121 \subsubsection[samplecond\_\-m]{\setlength{\rightskip}{0pt plus 5cm}virtual mat bdm::mpdf::samplecond\_\-m (const vec \& {\em cond}, \/  vec \& {\em ll}, \/  int {\em N})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}} 
    122 \label{classbdm_1_1mpdf_ee26963a637b2ea1fb1933652981e652} 
     150\subsubsection[samplecond\_\-m]{\setlength{\rightskip}{0pt plus 5cm}virtual mat bdm::mpdf::samplecond\_\-m (const vec \& {\em cond}, \/  int {\em N})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual\mbox{]}}}} 
     151\label{classbdm_1_1mpdf_afe4185b26baeb03688202e254d3b005} 
    123152 
    124153 
     
    132161 
    133162 
    134 References condition(), bdm::RV::count(), ep, bdm::epdf::evallog(), rv, and bdm::epdf::sample(). 
     163References condition(), bdm::epdf::dimension(), ep, and bdm::epdf::sample(). 
    135164 
    136165The documentation for this class was generated from the following file:\begin{CompactItemize}