1 | \section{eEF Class Reference} |
---|
2 | \label{classeEF}\index{eEF@{eEF}} |
---|
3 | General conjugate exponential family posterior density. |
---|
4 | |
---|
5 | |
---|
6 | {\tt \#include $<$libEF.h$>$} |
---|
7 | |
---|
8 | Inheritance diagram for eEF:\nopagebreak |
---|
9 | \begin{figure}[H] |
---|
10 | \begin{center} |
---|
11 | \leavevmode |
---|
12 | \includegraphics[width=400pt]{classeEF__inherit__graph} |
---|
13 | \end{center} |
---|
14 | \end{figure} |
---|
15 | Collaboration diagram for eEF:\nopagebreak |
---|
16 | \begin{figure}[H] |
---|
17 | \begin{center} |
---|
18 | \leavevmode |
---|
19 | \includegraphics[width=39pt]{classeEF__coll__graph} |
---|
20 | \end{center} |
---|
21 | \end{figure} |
---|
22 | \subsection*{Public Member Functions} |
---|
23 | \begin{CompactItemize} |
---|
24 | \item |
---|
25 | {\bf eEF} (const {\bf RV} \&{\bf rv})\label{classeEF_7e3c63655e8375c76bf1f421245427a7} |
---|
26 | |
---|
27 | \begin{CompactList}\small\item\em default constructor \item\end{CompactList}\item |
---|
28 | virtual double {\bf lognc} () const =0\label{classeEF_69e5680dac10375d62520d26c672477d} |
---|
29 | |
---|
30 | \begin{CompactList}\small\item\em logarithm of the normalizing constant, $\mathcal{I}$ \item\end{CompactList}\item |
---|
31 | virtual void {\bf tupdate} (double phi, mat \&vbar, double nubar)\label{classeEF_fd88bc35550ec8fe9281d358216d0fcf} |
---|
32 | |
---|
33 | \begin{CompactList}\small\item\em TODO decide if it is really needed. \item\end{CompactList}\item |
---|
34 | virtual void {\bf dupdate} (mat \&v, double nu=1.0)\label{classeEF_5863718c3b2fb1496dece10c5b745d5c} |
---|
35 | |
---|
36 | \begin{CompactList}\small\item\em TODO decide if it is really needed. \item\end{CompactList}\item |
---|
37 | virtual vec {\bf sample} () const =0 |
---|
38 | \begin{CompactList}\small\item\em Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. \item\end{CompactList}\item |
---|
39 | virtual double {\bf eval} (const vec \&val) const \label{classepdf_3ea597362e11a0040fe7c990269d072c} |
---|
40 | |
---|
41 | \begin{CompactList}\small\item\em Compute probability of argument {\tt val}. \item\end{CompactList}\item |
---|
42 | virtual double {\bf evalpdflog} (const vec \&val) const =0\label{classepdf_6aef3eca74899692503769c18add1a4c} |
---|
43 | |
---|
44 | \begin{CompactList}\small\item\em Compute log-probability of argument {\tt val}. \item\end{CompactList}\item |
---|
45 | virtual vec {\bf mean} () const =0\label{classepdf_bf0a070a8f3e67a93604ca724638b870} |
---|
46 | |
---|
47 | \begin{CompactList}\small\item\em return expected value \item\end{CompactList}\item |
---|
48 | {\bf RV} {\bf \_\-rv} () const \label{classepdf_b89143f12c9b49282e30841e4fb5f337} |
---|
49 | |
---|
50 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} |
---|
51 | \subsection*{Protected Attributes} |
---|
52 | \begin{CompactItemize} |
---|
53 | \item |
---|
54 | {\bf RV} {\bf rv}\label{classepdf_74da992e3f5d598da8850b646b79b9d9} |
---|
55 | |
---|
56 | \begin{CompactList}\small\item\em Identified of the random variable. \item\end{CompactList}\end{CompactItemize} |
---|
57 | |
---|
58 | |
---|
59 | \subsection{Detailed Description} |
---|
60 | General conjugate exponential family posterior density. |
---|
61 | |
---|
62 | More?... |
---|
63 | |
---|
64 | \subsection{Member Function Documentation} |
---|
65 | \index{eEF@{eEF}!sample@{sample}} |
---|
66 | \index{sample@{sample}!eEF@{eEF}} |
---|
67 | \subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual vec epdf::sample () const\hspace{0.3cm}{\tt [pure virtual, inherited]}}\label{classepdf_8019654e494bf5e458f6fb947e11b262} |
---|
68 | |
---|
69 | |
---|
70 | Returns the required moment of the \doxyref{epdf}{p.}{classepdf}. |
---|
71 | |
---|
72 | Returns a sample, $x$ from density $epdf(rv)$ |
---|
73 | |
---|
74 | Implemented in {\bf enorm$<$ sq\_\-T $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, {\bf egiw} \doxyref{}{p.}{classegiw_3d2c1f2ba0f9966781f1e0ae695e8a6f}, {\bf egamma} \doxyref{}{p.}{classegamma_8e10c0021b5dfdd9cb62c6959b5ef425}, {\bf euni} \doxyref{}{p.}{classeuni_4a0e09392be17beaee120ba98fc038cd}, {\bf eEmp} \doxyref{}{p.}{classeEmp_83f9283f92b805508d896479dc1ccf12}, {\bf enorm$<$ ldmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, {\bf enorm$<$ chmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}, and {\bf enorm$<$ fsqmat $>$} \doxyref{}{p.}{classenorm_60b47544f6181ffd4530d3e415ce12c5}. |
---|
75 | |
---|
76 | Referenced by mpdf::samplecond(), PF::set\_\-est(), and eEmp::set\_\-parameters(). |
---|
77 | |
---|
78 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
79 | \item |
---|
80 | work/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize} |
---|