Show
Ignore:
Timestamp:
02/24/09 14:12:46 (16 years ago)
Author:
smidl
Message:

progress...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classEKFCh__cond.tex

    r261 r280  
    33\label{classEKFCh__cond}\index{EKFCh\_\-cond@{EKFCh\_\-cond}} 
    44} 
    5 Extended Kalman filter with unknown {\tt Q}.   
    6  
    7  
    8 Inheritance diagram for EKFCh\_\-cond:\nopagebreak 
    9 \begin{figure}[H] 
     5Inheritance diagram for EKFCh\_\-cond::\begin{figure}[H] 
    106\begin{center} 
    117\leavevmode 
    12 \includegraphics[height=400pt]{classEKFCh__cond__inherit__graph} 
     8\includegraphics[height=6cm]{classEKFCh__cond} 
    139\end{center} 
    1410\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} 
     14Extended Kalman filter with unknown {\tt Q}. \subsection*{Public Member Functions} 
     15\begin{CompactItemize} 
     16\item  
    3017\hypertarget{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d}{ 
    3118void \hyperlink{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d}{condition} (const vec \&val)} 
    3219\label{classEKFCh__cond_93ccb6731b68f28e0fb43393d8c66e1d} 
    3320 
    34 \begin{CompactList}\small\item\em Substitute {\tt val} for {\tt rvc}. \item\end{CompactList}\item  
     21\begin{CompactList}\small\item\em condition on value of pfxu \item\end{CompactList}\item  
    3522\hypertarget{classbdm_1_1EKFCh_50f9fbffad721f35e5ccb75d0f6b842a}{ 
    3623void \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)} 
     
    3825 
    3926\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}{ 
     28void \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} 
    4330 
    4431\begin{CompactList}\small\item\em Set parameters with check of relevance. \item\end{CompactList}\item  
     
    4835 
    4936\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}{ 
     38void \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}{ 
     43void \hyperlink{classbdm_1_1Kalman_9264fc6b173ecb803d2684b883f32c68}{set\_\-est} (const vec \&mu0, const \hyperlink{classchmat}{chmat} \&P0)} 
     44\label{classbdm_1_1Kalman_9264fc6b173ecb803d2684b883f32c68} 
    5345 
    5446\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}{ 
     48const epdf \& \hyperlink{classbdm_1_1Kalman_f75e487ff6c129d7012d702030f8c890}{posterior} () const } 
     49\label{classbdm_1_1Kalman_f75e487ff6c129d7012d702030f8c890} 
    5850 
    5951\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
    6052\hypertarget{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{ 
    61 const enorm$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \hyperlink{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{\_\-e} () const } 
     53const enorm$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \textbf{\_\-e} () const } 
    6254\label{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77} 
    6355 
    64 \begin{CompactList}\small\item\em Returns a pointer to the epdf representing posterior density on parameters. Use with care! \item\end{CompactList}\item  
     56\item  
    6557\hypertarget{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{ 
    6658mat \& \hyperlink{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{\_\-\_\-K} ()} 
     
    7365 
    7466\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     67\hypertarget{classbdm_1_1BMcond_7506910f93250b44fea505ec4ffb19dc}{ 
     68const 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  
     75virtual 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  
    7581\hypertarget{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{ 
    7682virtual void \hyperlink{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{bayesB} (const mat \&Dt)} 
     
    8591 
    8692\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}{ 
     94virtual 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}{ 
     99virtual 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}{ 
     108const RV \& \textbf{\_\-drv} () const } 
     109\label{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c} 
     110 
     111\item  
     112\hypertarget{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{ 
     113void \textbf{set\_\-drv} (const RV \&rv)} 
     114\label{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96} 
     115 
     116\item  
     117\hypertarget{classbdm_1_1BM_b38d92f17620813ad872d86e01a26e5e}{ 
     118void \textbf{set\_\-rv} (const RV \&rv)} 
     119\label{classbdm_1_1BM_b38d92f17620813ad872d86e01a26e5e} 
     120 
     121\item  
    97122\hypertarget{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{ 
    98 double \hyperlink{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{\_\-ll} () const } 
     123double \textbf{\_\-ll} () const } 
    99124\label{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70} 
    100125 
    101 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     126\item  
    102127\hypertarget{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{ 
    103 void \hyperlink{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{set\_\-evalll} (bool evl0)} 
     128void \textbf{set\_\-evalll} (bool evl0)} 
    104129\label{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f} 
    105130 
    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} 
    114133\subsection*{Protected Attributes} 
    115134\begin{CompactItemize} 
     
    225244 
    226245\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}\item  
     246\hypertarget{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{ 
     247RV \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  
    232251\hypertarget{classbdm_1_1BM_4064b6559d962633e4372b12f4cd204a}{ 
    233252double \hyperlink{classbdm_1_1BM_4064b6559d962633e4372b12f4cd204a}{ll}} 
     
    240259 
    241260\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}{ 
     262int \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  
    242266\hypertarget{classbdm_1_1BMcond_9a12750776d977408aada06a70093297}{ 
    243267RV \hyperlink{classbdm_1_1BMcond_9a12750776d977408aada06a70093297}{rvc}} 
     
    247271 
    248272 
    249 \subsection{Detailed Description} 
    250 Extended Kalman filter with unknown {\tt Q}.  
    251  
    252273\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 
     281Copy 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 
     289Reimplemented in \hyperlink{classbdm_1_1ARX_60c40b5c6abc4c7e464b4ccae64a5a61}{bdm::ARX}.\hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 
    254290\index{EKFCh\_\-cond@{EKFCh\_\-cond}!logpred@{logpred}} 
    255291\index{logpred@{logpred}!EKFCh_cond@{EKFCh\_\-cond}} 
     
    262298Reimplemented in \hyperlink{classbdm_1_1ARX_080a7e531e3aa06694112863b15bc6a4}{bdm::ARX}, \hyperlink{classbdm_1_1MixEF_da724da464a75e07521941e430929efa}{bdm::MixEF}, and \hyperlink{classbdm_1_1multiBM_e157b607c1e3fa91d42aeea44458e2bf}{bdm::multiBM}. 
    263299 
    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}. 
     300Referenced by bdm::BM::logpred\_\-m(). 
    274301 
    275302The documentation for this class was generated from the following file:\begin{CompactItemize}