[30] | 1 | \section{mlnorm$<$ sq\_\-T $>$ Class Template Reference} |
---|
| 2 | \label{classmlnorm}\index{mlnorm@{mlnorm}} |
---|
| 3 | Normal distributed linear function with linear function of mean value;. |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | {\tt \#include $<$libEF.h$>$} |
---|
| 7 | |
---|
[33] | 8 | Inheritance diagram for mlnorm$<$ sq\_\-T $>$:\nopagebreak |
---|
| 9 | \begin{figure}[H] |
---|
| 10 | \begin{center} |
---|
| 11 | \leavevmode |
---|
[91] | 12 | \includegraphics[width=66pt]{classmlnorm__inherit__graph} |
---|
[33] | 13 | \end{center} |
---|
| 14 | \end{figure} |
---|
| 15 | Collaboration diagram for mlnorm$<$ sq\_\-T $>$:\nopagebreak |
---|
| 16 | \begin{figure}[H] |
---|
| 17 | \begin{center} |
---|
| 18 | \leavevmode |
---|
[91] | 19 | \includegraphics[width=68pt]{classmlnorm__coll__graph} |
---|
[33] | 20 | \end{center} |
---|
| 21 | \end{figure} |
---|
[30] | 22 | \subsection*{Public Member Functions} |
---|
| 23 | \begin{CompactItemize} |
---|
| 24 | \item |
---|
[33] | 25 | {\bf mlnorm} ({\bf RV} \&{\bf rv}, {\bf RV} \&{\bf rvc})\label{classmlnorm_f927203b3f31171c5c10ffc7caa797f5} |
---|
[30] | 26 | |
---|
| 27 | \begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item |
---|
[33] | 28 | void {\bf set\_\-parameters} (const mat \&A, const sq\_\-T \&R)\label{classmlnorm_b6749030c5d5abcb3eb6898f74cea3c0} |
---|
[30] | 29 | |
---|
[33] | 30 | \begin{CompactList}\small\item\em Set {\tt A} and {\tt R}. \item\end{CompactList}\item |
---|
[30] | 31 | vec {\bf samplecond} (vec \&cond, double \&lik)\label{classmlnorm_decf3e3b5c8e0812e5b4dbe94fa2ae18} |
---|
| 32 | |
---|
| 33 | \begin{CompactList}\small\item\em Generate one sample of the posterior. \item\end{CompactList}\item |
---|
| 34 | mat {\bf samplecond} (vec \&cond, vec \&lik, int n)\label{classmlnorm_215fb88cc8b95d64cdefd6849abdd1e8} |
---|
| 35 | |
---|
| 36 | \begin{CompactList}\small\item\em Generate matrix of samples of the posterior. \item\end{CompactList}\item |
---|
[33] | 37 | void {\bf condition} (vec \&cond)\label{classmlnorm_5232fc7e305eceab4e2bd6a8daa44195} |
---|
[30] | 38 | |
---|
[33] | 39 | \begin{CompactList}\small\item\em Set value of {\tt rvc} . Result of this operation is stored in {\tt \doxyref{epdf}{p.}{classepdf}} use function {\tt \_\-ep} to access it. \item\end{CompactList}\item |
---|
| 40 | virtual void {\bf condition} (const vec \&cond)\label{classmpdf_0f95a0cc6ab40611f46804682446ed83} |
---|
[30] | 41 | |
---|
[33] | 42 | \begin{CompactList}\small\item\em Update {\tt ep} so that it represents this \doxyref{mpdf}{p.}{classmpdf} conditioned on {\tt rvc} = cond. \item\end{CompactList}\item |
---|
| 43 | virtual double {\bf evalcond} (const vec \&dt, const vec \&cond)\label{classmpdf_80b738ece5bd4f8c4edaee4b38906f91} |
---|
[30] | 44 | |
---|
[33] | 45 | \begin{CompactList}\small\item\em Shortcut for conditioning and evaluation of the internal \doxyref{epdf}{p.}{classepdf}. In some cases, this operation can be implemented efficiently. \item\end{CompactList}\item |
---|
| 46 | {\bf RV} {\bf \_\-rvc} ()\label{classmpdf_ec9c850305984582548e8deb64f0ffe8} |
---|
| 47 | |
---|
| 48 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
| 49 | {\bf epdf} \& {\bf \_\-epdf} ()\label{classmpdf_e17780ee5b2cfe05922a6c56af1462f8} |
---|
| 50 | |
---|
| 51 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} |
---|
| 52 | \subsection*{Protected Attributes} |
---|
| 53 | \begin{CompactItemize} |
---|
| 54 | \item |
---|
| 55 | {\bf RV} {\bf rv}\label{classmpdf_f6687c07ff07d47812dd565368ca59eb} |
---|
| 56 | |
---|
| 57 | \begin{CompactList}\small\item\em modeled random variable \item\end{CompactList}\item |
---|
| 58 | {\bf RV} {\bf rvc}\label{classmpdf_acb7dda792b3cd5576f39fa3129abbab} |
---|
| 59 | |
---|
| 60 | \begin{CompactList}\small\item\em random variable in condition \item\end{CompactList}\item |
---|
| 61 | {\bf epdf} $\ast$ {\bf ep}\label{classmpdf_7aa894208a32f3487827df6d5054424c} |
---|
| 62 | |
---|
| 63 | \begin{CompactList}\small\item\em pointer to internal \doxyref{epdf}{p.}{classepdf} \item\end{CompactList}\end{CompactItemize} |
---|
| 64 | |
---|
| 65 | |
---|
[30] | 66 | \subsection{Detailed Description} |
---|
| 67 | \subsubsection*{template$<$class sq\_\-T$>$ class mlnorm$<$ sq\_\-T $>$} |
---|
| 68 | |
---|
| 69 | Normal distributed linear function with linear function of mean value;. |
---|
| 70 | |
---|
[91] | 71 | Mean value $mu=A*rvc$. |
---|
[30] | 72 | |
---|
| 73 | The documentation for this class was generated from the following file:\begin{CompactItemize} |
---|
| 74 | \item |
---|
[145] | 75 | work/git/mixpp/bdm/stat/{\bf libEF.h}\end{CompactItemize} |
---|