17 | | Collaboration diagram for bdm::egiw:\nopagebreak |
18 | | \begin{figure}[H] |
19 | | \begin{center} |
20 | | \leavevmode |
21 | | \includegraphics[width=89pt]{classbdm_1_1egiw__coll__graph} |
22 | | \end{center} |
23 | | \end{figure} |
24 | | \subsection*{Public Member Functions} |
25 | | \begin{CompactItemize} |
26 | | \item |
27 | | \hypertarget{classbdm_1_1egiw_a60e072c191acf65ab480deeb11c5b88}{ |
28 | | \hyperlink{classbdm_1_1egiw_a60e072c191acf65ab480deeb11c5b88}{egiw} (\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}, mat V0, double nu0=-1.0)} |
29 | | \label{classbdm_1_1egiw_a60e072c191acf65ab480deeb11c5b88} |
30 | | |
31 | | \begin{CompactList}\small\item\em Default constructor, if nu0$<$0 a minimal nu0 will be computed. \item\end{CompactList}\item |
32 | | \hypertarget{classbdm_1_1egiw_bc3db93cb60dd29187eb3c6cfd557f97}{ |
33 | | \hyperlink{classbdm_1_1egiw_bc3db93cb60dd29187eb3c6cfd557f97}{egiw} (\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1epdf_62c5b8ff71d9ebe6cd58d3c342eb1dc8}{rv}, \hyperlink{classldmat}{ldmat} V0, double nu0=-1.0)} |
34 | | \label{classbdm_1_1egiw_bc3db93cb60dd29187eb3c6cfd557f97} |
35 | | |
36 | | \begin{CompactList}\small\item\em Full constructor for V in \hyperlink{classldmat}{ldmat} form. \item\end{CompactList}\item |
| 14 | |
| 15 | |
| 16 | \subsection{Detailed Description} |
| 17 | Gauss-inverse-Wishart density stored in LD form. |
| 18 | |
| 19 | For $p$-variate densities, given rv.count() should be $p\times$ V.rows(). \subsection*{Public Member Functions} |
| 20 | \begin{CompactItemize} |
| 21 | \item |
67 | | \hypertarget{classbdm_1_1egiw_15792f3112e5cf67d572f491b09324c8}{ |
68 | | \hyperlink{classldmat}{ldmat} \& \hyperlink{classbdm_1_1egiw_15792f3112e5cf67d572f491b09324c8}{\_\-V} ()} |
69 | | \label{classbdm_1_1egiw_15792f3112e5cf67d572f491b09324c8} |
70 | | |
71 | | \begin{CompactList}\small\item\em returns a pointer to the internal statistics. Use with Care! \item\end{CompactList}\item |
72 | | \hypertarget{classbdm_1_1egiw_ad9c539a80a552e837245ddcebcbbba4}{ |
73 | | const \hyperlink{classldmat}{ldmat} \& \hyperlink{classbdm_1_1egiw_ad9c539a80a552e837245ddcebcbbba4}{\_\-V} () const } |
74 | | \label{classbdm_1_1egiw_ad9c539a80a552e837245ddcebcbbba4} |
75 | | |
76 | | \begin{CompactList}\small\item\em returns a pointer to the internal statistics. Use with Care! \item\end{CompactList}\item |
77 | | \hypertarget{classbdm_1_1egiw_a025ee710274ca142dd0ae978735ad4a}{ |
78 | | double \& \hyperlink{classbdm_1_1egiw_a025ee710274ca142dd0ae978735ad4a}{\_\-nu} ()} |
79 | | \label{classbdm_1_1egiw_a025ee710274ca142dd0ae978735ad4a} |
80 | | |
81 | | \begin{CompactList}\small\item\em returns a pointer to the internal statistics. Use with Care! \item\end{CompactList}\item |
82 | | \hypertarget{classbdm_1_1egiw_cf3b2bcb158c15c24788bba90e4154e4}{ |
83 | | const double \& \textbf{\_\-nu} () const } |
84 | | \label{classbdm_1_1egiw_cf3b2bcb158c15c24788bba90e4154e4} |
85 | | |
86 | | \item |
106 | | \begin{CompactList}\small\item\em Evaluate normalized log-probability for many samples. \item\end{CompactList}\item |
| 71 | \begin{CompactList}\small\item\em Evaluate normalized log-probability for many samples. \item\end{CompactList}\end{CompactItemize} |
| 72 | \begin{Indent}{\bf Constructors}\par |
| 73 | \begin{CompactItemize} |
| 74 | \item |
| 75 | \hypertarget{classbdm_1_1egiw_50149cf136c9120b4fff71c117f0bb2e}{ |
| 76 | \textbf{egiw} ()} |
| 77 | \label{classbdm_1_1egiw_50149cf136c9120b4fff71c117f0bb2e} |
| 78 | |
| 79 | \item |
| 80 | \hypertarget{classbdm_1_1egiw_79037e048e717a076f342eb1d276870e}{ |
| 81 | \textbf{egiw} (int dimx0, \hyperlink{classldmat}{ldmat} V0, double nu0=-1.0)} |
| 82 | \label{classbdm_1_1egiw_79037e048e717a076f342eb1d276870e} |
| 83 | |
| 84 | \item |
| 85 | \hypertarget{classbdm_1_1egiw_40b04f8ef133d089c4be2c7983e18b5c}{ |
| 86 | void \textbf{set\_\-parameters} (int dimx0, \hyperlink{classldmat}{ldmat} V0, double nu0=-1.0)} |
| 87 | \label{classbdm_1_1egiw_40b04f8ef133d089c4be2c7983e18b5c} |
| 88 | |
| 89 | \end{CompactItemize} |
| 90 | \end{Indent} |
| 91 | \begin{Indent}{\bf Access attributes}\par |
| 92 | \begin{CompactItemize} |
| 93 | \item |
| 94 | \hypertarget{classbdm_1_1egiw_15792f3112e5cf67d572f491b09324c8}{ |
| 95 | \hyperlink{classldmat}{ldmat} \& \textbf{\_\-V} ()} |
| 96 | \label{classbdm_1_1egiw_15792f3112e5cf67d572f491b09324c8} |
| 97 | |
| 98 | \item |
| 99 | \hypertarget{classbdm_1_1egiw_ad9c539a80a552e837245ddcebcbbba4}{ |
| 100 | const \hyperlink{classldmat}{ldmat} \& \textbf{\_\-V} () const } |
| 101 | \label{classbdm_1_1egiw_ad9c539a80a552e837245ddcebcbbba4} |
| 102 | |
| 103 | \item |
| 104 | \hypertarget{classbdm_1_1egiw_a025ee710274ca142dd0ae978735ad4a}{ |
| 105 | double \& \textbf{\_\-nu} ()} |
| 106 | \label{classbdm_1_1egiw_a025ee710274ca142dd0ae978735ad4a} |
| 107 | |
| 108 | \item |
| 109 | \hypertarget{classbdm_1_1egiw_cf3b2bcb158c15c24788bba90e4154e4}{ |
| 110 | const double \& \textbf{\_\-nu} () const } |
| 111 | \label{classbdm_1_1egiw_cf3b2bcb158c15c24788bba90e4154e4} |
| 112 | |
| 113 | \end{CompactItemize} |
| 114 | \end{Indent} |
| 115 | \begin{Indent}{\bf Matematical Operations}\par |
| 116 | \begin{CompactItemize} |
| 117 | \item |
126 | | \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 |
| 137 | \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} |
| 138 | \end{Indent} |
| 139 | \begin{Indent}{\bf Connection to other classes}\par |
| 140 | {\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} |
| 141 | \item |
| 142 | \hypertarget{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{ |
| 143 | void \hyperlink{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff}{set\_\-rv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv0)} |
| 144 | \label{classbdm_1_1epdf_f423e28448dbb69ef4905295ec8de8ff} |
| 145 | |
| 146 | \begin{CompactList}\small\item\em Name its rv. \item\end{CompactList}\item |
| 147 | \hypertarget{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{ |
| 148 | bool \hyperlink{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9}{isnamed} () const } |
| 149 | \label{classbdm_1_1epdf_c4b863ff84c7a4882fb3ad18556027f9} |
| 150 | |
| 151 | \begin{CompactList}\small\item\em True if rv is assigned. \item\end{CompactList}\item |
131 | | \begin{CompactList}\small\item\em access function, possibly dangerous! \item\end{CompactList}\item |
132 | | \hypertarget{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{ |
133 | | void \hyperlink{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f}{\_\-renewrv} (const \hyperlink{classbdm_1_1RV}{RV} \&in\_\-rv)} |
134 | | \label{classbdm_1_1epdf_62e88cbce0ce77a8692f5e15d76e805f} |
135 | | |
136 | | \begin{CompactList}\small\item\em modifier function - useful when copying epdfs \item\end{CompactList}\end{CompactItemize} |
| 156 | \begin{CompactList}\small\item\em Return name (fails when isnamed is false). \item\end{CompactList}\end{CompactItemize} |
| 157 | \end{Indent} |
| 158 | \begin{Indent}{\bf Access to attributes}\par |
| 159 | \begin{CompactItemize} |
| 160 | \item |
| 161 | \hypertarget{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{ |
| 162 | bool \hyperlink{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b}{dimension} () const } |
| 163 | \label{classbdm_1_1epdf_46dfe100cd621716ee5c7ee25a20f24b} |
| 164 | |
| 165 | \begin{CompactList}\small\item\em Size of the random variable. \item\end{CompactList}\end{CompactItemize} |
| 166 | \end{Indent} |