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