Changeset 280 for doc/latex/classEKFCh__cond.tex
- Timestamp:
- 02/24/09 14:12:46 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
doc/latex/classEKFCh__cond.tex
r261 r280 3 3 \label{classEKFCh__cond}\index{EKFCh\_\-cond@{EKFCh\_\-cond}} 4 4 } 5 Extended Kalman filter with unknown {\tt Q}. 6 7 8 Inheritance diagram for EKFCh\_\-cond:\nopagebreak 9 \begin{figure}[H] 5 Inheritance diagram for EKFCh\_\-cond::\begin{figure}[H] 10 6 \begin{center} 11 7 \leavevmode 12 \includegraphics[height= 400pt]{classEKFCh__cond__inherit__graph}8 \includegraphics[height=6cm]{classEKFCh__cond} 13 9 \end{center} 14 10 \end{figure} 15 Collaboration diagram for EKFCh\_\-cond:\nopagebreak 16 \begin{figure}[H] 17 \begin{center} 18 \leavevmode 19 \includegraphics[width=400pt]{classEKFCh__cond__coll__graph} 20 \end{center} 21 \end{figure} 22 \subsection*{Public Member Functions} 23 \begin{CompactItemize} 24 \item 25 \hypertarget{classEKFCh__cond_727af5503bba3063c115994dd6adb059}{ 26 \hyperlink{classEKFCh__cond_727af5503bba3063c115994dd6adb059}{EKFCh\_\-cond} (\hyperlink{classbdm_1_1RV}{RV} rx, \hyperlink{classbdm_1_1RV}{RV} ry, \hyperlink{classbdm_1_1RV}{RV} ru, \hyperlink{classbdm_1_1RV}{RV} rC)} 27 \label{classEKFCh__cond_727af5503bba3063c115994dd6adb059} 28 29 \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 11 12 13 \subsection{Detailed Description} 14 Extended Kalman filter with unknown {\tt Q}. \subsection*{Public Member Functions} 15 \begin{CompactItemize} 16 \item 30 17 \hypertarget{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d}{ 31 18 void \hyperlink{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d}{condition} (const vec \&val)} 32 19 \label{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d} 33 20 34 \begin{CompactList}\small\item\em Substitute {\tt val} for {\tt rvc}.\item\end{CompactList}\item21 \begin{CompactList}\small\item\em condition on value of pfxu \item\end{CompactList}\item 35 22 \hypertarget{classbdm_1_1EKFCh_50f9fbffad721f35e5ccb75d0f6b842a}{ 36 23 void \hyperlink{classbdm_1_1EKFCh_50f9fbffad721f35e5ccb75d0f6b842a}{set\_\-parameters} (diffbifn $\ast$\hyperlink{classbdm_1_1EKFCh_e1e895f994398a55bc425551fc275ba3}{pfxu}, diffbifn $\ast$\hyperlink{classbdm_1_1EKFCh_6b34c69641826322467b704e8252f317}{phxu}, const \hyperlink{classchmat}{chmat} Q0, const \hyperlink{classchmat}{chmat} R0)} … … 38 25 39 26 \begin{CompactList}\small\item\em Set nonlinear functions for mean values and covariance matrices. \item\end{CompactList}\item 40 \hypertarget{classbdm_1_1KalmanCh_ ab3a87ba1831e53f193a9dfbaf56a879}{41 void \hyperlink{classbdm_1_1KalmanCh_ ab3a87ba1831e53f193a9dfbaf56a879}{set\_\-parameters} (const mat \&A0, const mat \&B0, const mat \&C0, const mat \&D0, const \hyperlink{classchmat}{chmat} \&R0, const \hyperlink{classchmat}{chmat} \&Q0)}42 \label{classbdm_1_1KalmanCh_ ab3a87ba1831e53f193a9dfbaf56a879}27 \hypertarget{classbdm_1_1KalmanCh_20a4d4c664e8ac8a3f1bb7b0d11c6d87}{ 28 void \hyperlink{classbdm_1_1KalmanCh_20a4d4c664e8ac8a3f1bb7b0d11c6d87}{set\_\-parameters} (const mat \&A0, const mat \&B0, const mat \&C0, const mat \&D0, const \hyperlink{classchmat}{chmat} \&Q0, const \hyperlink{classchmat}{chmat} \&R0)} 29 \label{classbdm_1_1KalmanCh_20a4d4c664e8ac8a3f1bb7b0d11c6d87} 43 30 44 31 \begin{CompactList}\small\item\em Set parameters with check of relevance. \item\end{CompactList}\item … … 48 35 49 36 \begin{CompactList}\small\item\em Here dt = \mbox{[}yt;ut\mbox{]} of appropriate dimensions. \item\end{CompactList}\item 50 \hypertarget{classbdm_1_1KalmanCh_f559387dd38bd6002be490cc62987290}{ 51 void \hyperlink{classbdm_1_1KalmanCh_f559387dd38bd6002be490cc62987290}{set\_\-est} (const vec \&mu0, const \hyperlink{classchmat}{chmat} \&P0)} 52 \label{classbdm_1_1KalmanCh_f559387dd38bd6002be490cc62987290} 37 \hypertarget{classbdm_1_1KalmanCh_6e169272657ed101f3d128b49c59b890}{ 38 void \textbf{set\_\-statistics} (const vec \&mu0, const \hyperlink{classchmat}{chmat} \&P0)} 39 \label{classbdm_1_1KalmanCh_6e169272657ed101f3d128b49c59b890} 40 41 \item 42 \hypertarget{classbdm_1_1Kalman_9264fc6b173ecb803d2684b883f32c68}{ 43 void \hyperlink{classbdm_1_1Kalman_9264fc6b173ecb803d2684b883f32c68}{set\_\-est} (const vec \&mu0, const \hyperlink{classchmat}{chmat} \&P0)} 44 \label{classbdm_1_1Kalman_9264fc6b173ecb803d2684b883f32c68} 53 45 54 46 \begin{CompactList}\small\item\em Set estimate values, used e.g. in initialization. \item\end{CompactList}\item 55 \hypertarget{classbdm_1_1Kalman_ 93b5936ba397f13c05f52885c545f42d}{56 const epdf \& \hyperlink{classbdm_1_1Kalman_ 93b5936ba397f13c05f52885c545f42d}{\_\-epdf} () const }57 \label{classbdm_1_1Kalman_ 93b5936ba397f13c05f52885c545f42d}47 \hypertarget{classbdm_1_1Kalman_f75e487ff6c129d7012d702030f8c890}{ 48 const epdf \& \hyperlink{classbdm_1_1Kalman_f75e487ff6c129d7012d702030f8c890}{posterior} () const } 49 \label{classbdm_1_1Kalman_f75e487ff6c129d7012d702030f8c890} 58 50 59 51 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 60 52 \hypertarget{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{ 61 const enorm$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \ hyperlink{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{\_\-e} () const }53 const enorm$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \textbf{\_\-e} () const } 62 54 \label{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77} 63 55 64 \ begin{CompactList}\small\item\em Returns a pointer to the epdf representing posterior density on parameters. Use with care! \item\end{CompactList}\item56 \item 65 57 \hypertarget{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{ 66 58 mat \& \hyperlink{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{\_\-\_\-K} ()} … … 73 65 74 66 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 67 \hypertarget{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc}{ 68 const RV \& \hyperlink{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc}{\_\-rvc} () const } 69 \label{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc} 70 71 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 72 \begin{Indent}{\bf Constructors}\par 73 \begin{CompactItemize} 74 \item 75 virtual BM $\ast$ \hyperlink{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{\_\-copy\_\-} () 76 \end{CompactItemize} 77 \end{Indent} 78 \begin{Indent}{\bf Mathematical operations}\par 79 \begin{CompactItemize} 80 \item 75 81 \hypertarget{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{ 76 82 virtual void \hyperlink{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{bayesB} (const mat \&Dt)} … … 85 91 86 92 \begin{CompactList}\small\item\em Matrix version of logpred. \item\end{CompactList}\item 87 \hypertarget{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c}{ 88 virtual epdf $\ast$ \hyperlink{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c}{predictor} (const RV \&\hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv}) const } 89 \label{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c} 90 91 \begin{CompactList}\small\item\em Constructs a predictive density (marginal density on data). \item\end{CompactList}\item 92 \hypertarget{classbdm_1_1BM_40a3c891996391e3135518053a917793}{ 93 const RV \& \hyperlink{classbdm_1_1BM_40a3c891996391e3135518053a917793}{\_\-rv} () const } 94 \label{classbdm_1_1BM_40a3c891996391e3135518053a917793} 95 96 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 93 \hypertarget{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{ 94 virtual epdf $\ast$ \hyperlink{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{epredictor} () const } 95 \label{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba} 96 97 \begin{CompactList}\small\item\em Constructs a predictive density $ f(d_{t+1} |d_{t}, \ldots d_{0}) $. \item\end{CompactList}\item 98 \hypertarget{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{ 99 virtual mpdf $\ast$ \hyperlink{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{predictor} () const } 100 \label{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912} 101 102 \begin{CompactList}\small\item\em Constructs a conditional density 1-step ahead predictor. \item\end{CompactList}\end{CompactItemize} 103 \end{Indent} 104 \begin{Indent}{\bf Access to attributes}\par 105 \begin{CompactItemize} 106 \item 107 \hypertarget{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c}{ 108 const RV \& \textbf{\_\-drv} () const } 109 \label{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c} 110 111 \item 112 \hypertarget{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{ 113 void \textbf{set\_\-drv} (const RV \&rv)} 114 \label{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96} 115 116 \item 117 \hypertarget{classbdm_1_1BM_b38d92f17620813ad872d86e01a26e5e}{ 118 void \textbf{set\_\-rv} (const RV \&rv)} 119 \label{classbdm_1_1BM_b38d92f17620813ad872d86e01a26e5e} 120 121 \item 97 122 \hypertarget{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{ 98 double \ hyperlink{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{\_\-ll} () const }123 double \textbf{\_\-ll} () const } 99 124 \label{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70} 100 125 101 \ begin{CompactList}\small\item\em access function \item\end{CompactList}\item126 \item 102 127 \hypertarget{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{ 103 void \ hyperlink{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{set\_\-evalll} (bool evl0)}128 void \textbf{set\_\-evalll} (bool evl0)} 104 129 \label{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f} 105 130 106 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item 107 virtual BM $\ast$ \hyperlink{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{\_\-copy\_\-} (bool changerv=false) 108 \item 109 \hypertarget{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc}{ 110 const RV \& \hyperlink{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc}{\_\-rvc} () const } 111 \label{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc} 112 113 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 131 \end{CompactItemize} 132 \end{Indent} 114 133 \subsection*{Protected Attributes} 115 134 \begin{CompactItemize} … … 225 244 226 245 \begin{CompactList}\small\item\em cache of est.R \item\end{CompactList}\item 227 \hypertarget{classbdm_1_1BM_ 18d6db4af8ee42077741d9e3618153ca}{228 RV \hyperlink{classbdm_1_1BM_ 18d6db4af8ee42077741d9e3618153ca}{rv}}229 \label{classbdm_1_1BM_ 18d6db4af8ee42077741d9e3618153ca}230 231 \begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item246 \hypertarget{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{ 247 RV \hyperlink{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{drv}} 248 \label{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed} 249 250 \begin{CompactList}\small\item\em Random variable of the data (optional). \item\end{CompactList}\item 232 251 \hypertarget{classbdm_1_1BM_4064b6559d962633e4372b12f4cd204a}{ 233 252 double \hyperlink{classbdm_1_1BM_4064b6559d962633e4372b12f4cd204a}{ll}} … … 240 259 241 260 \begin{CompactList}\small\item\em If true, the filter will compute likelihood of the data record and store it in {\tt ll} . Set to false if you want to save computational time. \item\end{CompactList}\item 261 \hypertarget{classbdm_1_1BMcond_1164a90f782a2a323b1ee17242100b39}{ 262 int \hyperlink{classbdm_1_1BMcond_1164a90f782a2a323b1ee17242100b39}{dimc}} 263 \label{classbdm_1_1BMcond_1164a90f782a2a323b1ee17242100b39} 264 265 \begin{CompactList}\small\item\em dimension of the conditioning variable \item\end{CompactList}\item 242 266 \hypertarget{classbdm_1_1BMcond_9a12750776d977408aada06a70093297}{ 243 267 RV \hyperlink{classbdm_1_1BMcond_9a12750776d977408aada06a70093297}{rvc}} … … 247 271 248 272 249 \subsection{Detailed Description}250 Extended Kalman filter with unknown {\tt Q}.251 252 273 \subsection{Member Function Documentation} 253 \hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 274 \hypertarget{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{ 275 \index{EKFCh\_\-cond@{EKFCh\_\-cond}!\_\-copy\_\-@{\_\-copy\_\-}} 276 \index{\_\-copy\_\-@{\_\-copy\_\-}!EKFCh_cond@{EKFCh\_\-cond}} 277 \subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual BM$\ast$ bdm::BM::\_\-copy\_\- ()\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 278 \label{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff} 279 280 281 Copy function required in vectors, Arrays of \hyperlink{classbdm_1_1BM}{BM} etc. Have to be DELETED manually! Prototype: 282 283 \begin{Code}\begin{verbatim} BM* _copy_(){return new BM(*this);} 284 \end{verbatim} 285 \end{Code} 286 287 288 289 Reimplemented in \hyperlink{classbdm_1_1ARX_60c40b5c6abc4c7e464b4ccae64a5a61}{bdm::ARX}.\hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 254 290 \index{EKFCh\_\-cond@{EKFCh\_\-cond}!logpred@{logpred}} 255 291 \index{logpred@{logpred}!EKFCh_cond@{EKFCh\_\-cond}} … … 262 298 Reimplemented in \hyperlink{classbdm_1_1ARX_080a7e531e3aa06694112863b15bc6a4}{bdm::ARX}, \hyperlink{classbdm_1_1MixEF_da724da464a75e07521941e430929efa}{bdm::MixEF}, and \hyperlink{classbdm_1_1multiBM_e157b607c1e3fa91d42aeea44458e2bf}{bdm::multiBM}. 263 299 264 Referenced by bdm::BM::logpred\_\-m().\hypertarget{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{ 265 \index{EKFCh\_\-cond@{EKFCh\_\-cond}!\_\-copy\_\-@{\_\-copy\_\-}} 266 \index{\_\-copy\_\-@{\_\-copy\_\-}!EKFCh_cond@{EKFCh\_\-cond}} 267 \subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual BM$\ast$ bdm::BM::\_\-copy\_\- (bool {\em changerv} = {\tt false})\hspace{0.3cm}{\tt \mbox{[}inline, virtual, inherited\mbox{]}}}} 268 \label{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e} 269 270 271 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; \} 272 273 Reimplemented in \hyperlink{classbdm_1_1ARX_20ff2de8d862f28de7da83444d65bcdb}{bdm::ARX}, and \hyperlink{classbdm_1_1BMEF_5912dbcf28ae711e30b08c2fa766a3e6}{bdm::BMEF}. 300 Referenced by bdm::BM::logpred\_\-m(). 274 301 275 302 The documentation for this class was generated from the following file:\begin{CompactItemize}