\section{egiw Class Reference}
\label{classegiw}\index{egiw@{egiw}}
Gauss-inverse-Wishart density stored in LD form.  


{\tt \#include $<$libEF.h$>$}

Inheritance diagram for egiw:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=40pt]{classegiw__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for egiw:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=69pt]{classegiw__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf egiw} ({\bf RV} {\bf rv}, mat V0, double nu0)\label{classegiw_c52a2173c6eb1490edce9c6c7c05d60b}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
vec {\bf sample} () const 
\begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item 
vec {\bf mean} () const \label{classegiw_6deb0ff2859f41ef7cbdf6a842cabb29}

\begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item 
double {\bf evalpdflog} (const vec \&val) const \label{classegiw_425cbc53b377274e28c6add942bab62d}

\begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item 
double {\bf lognc} () const \label{classegiw_70eb1a0b88459b227f919b425b0d3359}

\begin{CompactList}\small\item\em logarithm of the normalizing constant, $\mathcal{I}$ \item\end{CompactList}\item 
{\bf ldmat} \& {\bf \_\-V} ()\label{classegiw_533e792e1175bfa06d5d595dc5d080d5}

\begin{CompactList}\small\item\em returns a pointer to the internal statistics. Use with Care! \item\end{CompactList}\item 
double \& {\bf \_\-nu} ()\label{classegiw_08029c481ff95d24f093df0573879afe}

\begin{CompactList}\small\item\em returns a pointer to the internal statistics. Use with Care! \item\end{CompactList}\item 
virtual void {\bf tupdate} (double phi, mat \&vbar, double nubar)\label{classeEF_fd88bc35550ec8fe9281d358216d0fcf}

\begin{CompactList}\small\item\em TODO decide if it is really needed. \item\end{CompactList}\item 
virtual void {\bf dupdate} (mat \&v, double {\bf nu}=1.0)\label{classeEF_5863718c3b2fb1496dece10c5b745d5c}

\begin{CompactList}\small\item\em TODO decide if it is really needed. \item\end{CompactList}\item 
virtual mat {\bf sampleN} (int N) const \label{classepdf_54d7dd53a641b618771cd9bee135181f}

\begin{CompactList}\small\item\em Returns N samples from density $epdf(rv)$. \item\end{CompactList}\item 
virtual double {\bf eval} (const vec \&val) const \label{classepdf_3ea597362e11a0040fe7c990269d072c}

\begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item 
{\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337}

\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf ldmat} {\bf V}\label{classegiw_f343d03ede89db820edf44a6297fa442}

\begin{CompactList}\small\item\em Extended information matrix of sufficient statistics. \item\end{CompactList}\item 
double {\bf nu}\label{classegiw_4a2f130b91afe84f6d62fed289d5d453}

\begin{CompactList}\small\item\em Number of data records (degrees of freedom) of sufficient statistics. \item\end{CompactList}\item 
{\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9}

\begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
Gauss-inverse-Wishart density stored in LD form. 

More?... 

\subsection{Member Function Documentation}
\index{egiw@{egiw}!sample@{sample}}
\index{sample@{sample}!egiw@{egiw}}
\subsubsection[sample]{\setlength{\rightskip}{0pt plus 5cm}vec egiw::sample () const\hspace{0.3cm}{\tt  [virtual]}}\label{classegiw_3d2c1f2ba0f9966781f1e0ae695e8a6f}


Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. 

Returns a sample, $x$ from density $epdf(rv)$ 

Implements {\bf epdf} \doxyref{}{p.}{classepdf_8019654e494bf5e458f6fb947e11b262}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
work/git/mixpp/bdm/stat/{\bf libEF.h}\item 
work/git/mixpp/bdm/stat/libEF.cpp\end{CompactItemize}
