Changeset 270 for doc/latex/classbdm_1_1EKF.tex
- Timestamp:
- 02/16/09 10:02:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classbdm_1_1EKF.tex
r269 r270 3 3 \label{classbdm_1_1EKF}\index{bdm::EKF@{bdm::EKF}} 4 4 } 5 Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter.6 7 8 5 {\tt \#include $<$libKF.h$>$} 9 6 … … 15 12 \end{center} 16 13 \end{figure} 17 Collaboration diagram for bdm::EKF$<$ sq\_\-T $>$:\nopagebreak 18 \begin{figure}[H] 19 \ begin{center}20 \ leavevmode21 \includegraphics[width=400pt]{classbdm_1_1EKF__coll__graph} 22 \end{center} 23 \end{figure} 24 \subsection*{Public Member Functions}14 15 16 \subsection{Detailed Description} 17 \subsubsection*{template$<$class sq\_\-T$>$ class bdm::EKF$<$ sq\_\-T $>$} 18 19 Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter. 20 21 An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean. \subsection*{Public Member Functions} 25 22 \begin{CompactItemize} 26 23 \item … … 56 53 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 57 54 \hypertarget{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{ 58 const \hyperlink{classbdm_1_1enorm}{enorm}$<$ \hyperlink{classfsqmat}{fsqmat} $>$ $\ast$ \ hyperlink{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{\_\-e} () const }55 const \hyperlink{classbdm_1_1enorm}{enorm}$<$ \hyperlink{classfsqmat}{fsqmat} $>$ $\ast$ \textbf{\_\-e} () const } 59 56 \label{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77} 60 57 61 \ begin{CompactList}\small\item\em Returns a pointer to the epdf representing posterior density on parameters. Use with care! \item\end{CompactList}\item58 \item 62 59 \hypertarget{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{ 63 60 mat \& \hyperlink{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{\_\-\_\-K} ()} … … 69 66 \label{classbdm_1_1Kalman_a250d1dbe7bba861dba2a324520cfa48} 70 67 71 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 68 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 69 \begin{Indent}{\bf Constructors}\par 70 \begin{CompactItemize} 71 \item 72 virtual \hyperlink{classbdm_1_1BM}{BM} $\ast$ \hyperlink{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{\_\-copy\_\-} () 73 \end{CompactItemize} 74 \end{Indent} 75 \begin{Indent}{\bf Mathematical operations}\par 76 \begin{CompactItemize} 77 \item 72 78 \hypertarget{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{ 73 79 virtual void \hyperlink{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{bayesB} (const mat \&Dt)} … … 82 88 83 89 \begin{CompactList}\small\item\em Matrix version of logpred. \item\end{CompactList}\item 84 \hypertarget{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c}{ 85 virtual \hyperlink{classbdm_1_1epdf}{epdf} $\ast$ \hyperlink{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c}{predictor} (const \hyperlink{classbdm_1_1RV}{RV} \&\hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv}) const } 86 \label{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c} 87 88 \begin{CompactList}\small\item\em Constructs a predictive density (marginal density on data). \item\end{CompactList}\item 89 \hypertarget{classbdm_1_1BM_40a3c891996391e3135518053a917793}{ 90 const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1BM_40a3c891996391e3135518053a917793}{\_\-rv} () const } 91 \label{classbdm_1_1BM_40a3c891996391e3135518053a917793} 92 93 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 90 \hypertarget{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{ 91 virtual \hyperlink{classbdm_1_1epdf}{epdf} $\ast$ \hyperlink{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{epredictor} () const } 92 \label{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba} 93 94 \begin{CompactList}\small\item\em Constructs a predictive density $ f(d_{t+1} |d_{t}, \ldots d_{0}) $. \item\end{CompactList}\item 95 \hypertarget{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{ 96 virtual \hyperlink{classbdm_1_1mpdf}{mpdf} $\ast$ \hyperlink{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{predictor} () const } 97 \label{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912} 98 99 \begin{CompactList}\small\item\em Constructs a conditional density 1-step ahead predictor. \item\end{CompactList}\end{CompactItemize} 100 \end{Indent} 101 \begin{Indent}{\bf Access to attributes}\par 102 \begin{CompactItemize} 103 \item 94 104 \hypertarget{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c}{ 95 const \hyperlink{classbdm_1_1RV}{RV} \& \ hyperlink{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c}{\_\-drv} () const }105 const \hyperlink{classbdm_1_1RV}{RV} \& \textbf{\_\-drv} () const } 96 106 \label{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c} 97 107 98 \ begin{CompactList}\small\item\em access function \item\end{CompactList}\item108 \item 99 109 \hypertarget{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{ 100 void \ hyperlink{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{set\_\-drv} (const \hyperlink{classbdm_1_1RV}{RV} \&\hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv})}110 void \textbf{set\_\-drv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv)} 101 111 \label{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96} 102 112 103 \ begin{CompactList}\small\item\em set drv \item\end{CompactList}\item113 \item 104 114 \hypertarget{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{ 105 double \ hyperlink{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{\_\-ll} () const }115 double \textbf{\_\-ll} () const } 106 116 \label{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70} 107 117 108 \ begin{CompactList}\small\item\em access function \item\end{CompactList}\item118 \item 109 119 \hypertarget{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{ 110 void \ hyperlink{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{set\_\-evalll} (bool evl0)}120 void \textbf{set\_\-evalll} (bool evl0)} 111 121 \label{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f} 112 122 113 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item114 virtual \hyperlink{classbdm_1_1BM}{BM} $\ast$ \hyperlink{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{\_\-copy\_\-} (bool changerv=false)115 123 \end{CompactItemize} 124 \end{Indent} 116 125 \subsection*{Protected Attributes} 117 126 \begin{CompactItemize} … … 207 216 208 217 \begin{CompactList}\small\item\em cache of est.R \item\end{CompactList}\item 209 \hypertarget{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{210 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv}}211 \label{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}212 213 \begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item214 218 \hypertarget{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{ 215 219 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{drv}} … … 229 233 230 234 231 \subsection{Detailed Description}232 \subsubsection*{template$<$class sq\_\-T$>$ class bdm::EKF$<$ sq\_\-T $>$}233 234 Extended \hyperlink{classbdm_1_1Kalman}{Kalman} Filter.235 236 An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean.237 238 235 \subsection{Member Function Documentation} 239 \hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 236 \hypertarget{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{ 237 \index{bdm::EKF@{bdm::EKF}!\_\-copy\_\-@{\_\-copy\_\-}} 238 \index{\_\-copy\_\-@{\_\-copy\_\-}!bdm::EKF@{bdm::EKF}} 239 \subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf BM}$\ast$ bdm::BM::\_\-copy\_\- ()\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 240 \label{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff} 241 242 243 Copy function required in vectors, Arrays of \hyperlink{classbdm_1_1BM}{BM} etc. Have to be DELETED manually! Prototype: 244 245 \begin{Code}\begin{verbatim} BM* _copy_(){return new BM(*this);} 246 \end{verbatim} 247 \end{Code} 248 249 250 251 Reimplemented in \hyperlink{classbdm_1_1ARX_60c40b5c6abc4c7e464b4ccae64a5a61}{bdm::ARX}.\hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 240 252 \index{bdm::EKF@{bdm::EKF}!logpred@{logpred}} 241 253 \index{logpred@{logpred}!bdm::EKF@{bdm::EKF}} … … 248 260 Reimplemented in \hyperlink{classbdm_1_1ARX_080a7e531e3aa06694112863b15bc6a4}{bdm::ARX}, \hyperlink{classbdm_1_1MixEF_da724da464a75e07521941e430929efa}{bdm::MixEF}, and \hyperlink{classbdm_1_1multiBM_e157b607c1e3fa91d42aeea44458e2bf}{bdm::multiBM}. 249 261 250 Referenced by bdm::BM::logpred\_\-m().\hypertarget{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{ 251 \index{bdm::EKF@{bdm::EKF}!\_\-copy\_\-@{\_\-copy\_\-}} 252 \index{\_\-copy\_\-@{\_\-copy\_\-}!bdm::EKF@{bdm::EKF}} 253 \subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf BM}$\ast$ bdm::BM::\_\-copy\_\- (bool {\em changerv} = {\tt false})\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 254 \label{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e} 255 256 257 Copy function required in vectors, Arrays of \hyperlink{classbdm_1_1BM}{BM} etc. Have to be DELETED manually! Prototype: BM$\ast$ \hyperlink{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{\_\-copy\_\-()}\{\hyperlink{classbdm_1_1BM}{BM} Tmp$\ast$=new Tmp(this$\ast$); return Tmp; \} 258 259 Reimplemented in \hyperlink{classbdm_1_1ARX_20ff2de8d862f28de7da83444d65bcdb}{bdm::ARX}, and \hyperlink{classbdm_1_1BMEF_5912dbcf28ae711e30b08c2fa766a3e6}{bdm::BMEF}. 262 Referenced by bdm::BM::logpred\_\-m(). 260 263 261 264 The documentation for this class was generated from the following file:\begin{CompactItemize}