Show
Ignore:
Timestamp:
09/24/08 13:31:03 (16 years ago)
Author:
smidl
Message:

Latex doc

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classEKFfull.tex

    r145 r172  
     1\hypertarget{classEKFfull}{ 
    12\section{EKFfull Class Reference} 
    23\label{classEKFfull}\index{EKFfull@{EKFfull}} 
    3 Extended \doxyref{Kalman}{p.}{classKalman} Filter in full matrices.   
     4} 
     5Extended \hyperlink{classKalman}{Kalman} Filter in full matrices.   
    46 
    57 
     
    2325\begin{CompactItemize} 
    2426\item  
    25 {\bf EKFfull} ({\bf RV} rvx, {\bf RV} rvy, {\bf RV} rvu)\label{classEKFfull_67ac4de96fd025197da767fe0472c7f7} 
     27\hypertarget{classEKFfull_67ac4de96fd025197da767fe0472c7f7}{ 
     28\hyperlink{classEKFfull_67ac4de96fd025197da767fe0472c7f7}{EKFfull} (\hyperlink{classRV}{RV} rvx, \hyperlink{classRV}{RV} rvy, \hyperlink{classRV}{RV} rvu)} 
     29\label{classEKFfull_67ac4de96fd025197da767fe0472c7f7} 
    2630 
    2731\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item  
    28 void {\bf set\_\-parameters} ({\bf diffbifn} $\ast$pfxu, {\bf diffbifn} $\ast$phxu, const mat Q0, const mat R0)\label{classEKFfull_fc753106e0d4cf68e4f2160fd54458c0} 
     32\hypertarget{classEKFfull_fc753106e0d4cf68e4f2160fd54458c0}{ 
     33void \hyperlink{classEKFfull_fc753106e0d4cf68e4f2160fd54458c0}{set\_\-parameters} (\hyperlink{classdiffbifn}{diffbifn} $\ast$pfxu, \hyperlink{classdiffbifn}{diffbifn} $\ast$phxu, const mat Q0, const mat R0)} 
     34\label{classEKFfull_fc753106e0d4cf68e4f2160fd54458c0} 
    2935 
    3036\begin{CompactList}\small\item\em Set nonlinear functions for mean values and covariance matrices. \item\end{CompactList}\item  
    31 void {\bf bayes} (const vec \&dt)\label{classEKFfull_8ca46f177e395fa714bbd8bd29ea43e0} 
    32  
    33 \begin{CompactList}\small\item\em Here dt = [yt;ut] of appropriate dimensions. \item\end{CompactList}\item  
    34 void {\bf set\_\-est} (vec mu0, mat P0)\label{classEKFfull_7bb76ea74c144ea0b36db99f94750b7b} 
     37\hypertarget{classEKFfull_8ca46f177e395fa714bbd8bd29ea43e0}{ 
     38void \hyperlink{classEKFfull_8ca46f177e395fa714bbd8bd29ea43e0}{bayes} (const vec \&dt)} 
     39\label{classEKFfull_8ca46f177e395fa714bbd8bd29ea43e0} 
     40 
     41\begin{CompactList}\small\item\em Here dt = \mbox{[}yt;ut\mbox{]} of appropriate dimensions. \item\end{CompactList}\item  
     42\hypertarget{classEKFfull_7bb76ea74c144ea0b36db99f94750b7b}{ 
     43void \hyperlink{classEKFfull_7bb76ea74c144ea0b36db99f94750b7b}{set\_\-est} (vec mu0, mat P0)} 
     44\label{classEKFfull_7bb76ea74c144ea0b36db99f94750b7b} 
    3545 
    3646\begin{CompactList}\small\item\em set estimates \item\end{CompactList}\item  
    37 {\bf epdf} \& {\bf \_\-epdf} ()\label{classEKFfull_4080d68f79dade36ccf547d57e64bdc2} 
     47\hypertarget{classEKFfull_170a748ad944bdebb0b3073463876abe}{ 
     48const \hyperlink{classepdf}{epdf} \& \hyperlink{classEKFfull_170a748ad944bdebb0b3073463876abe}{\_\-epdf} () const } 
     49\label{classEKFfull_170a748ad944bdebb0b3073463876abe} 
    3850 
    3951\begin{CompactList}\small\item\em dummy! \item\end{CompactList}\item  
    40 void {\bf bayes} (mat Dt)\label{classBM_87b07867fd4c133aa89a18543f68d9f9} 
     52\hypertarget{classBM_0186270f75189677f390fe088a9947e9}{ 
     53virtual void \hyperlink{classBM_0186270f75189677f390fe088a9947e9}{bayesB} (const mat \&Dt)} 
     54\label{classBM_0186270f75189677f390fe088a9947e9} 
    4155 
    4256\begin{CompactList}\small\item\em Batch Bayes rule (columns of Dt are observations). \item\end{CompactList}\item  
    43 const {\bf RV} \& {\bf \_\-rv} () const \label{classBM_126bd2595c48e311fc2a7ab72876092a} 
     57virtual double \hyperlink{classBM_8a8ce6df431689964c41cc6c849cfd06}{logpred} (const vec \&dt) const  
     58\item  
     59\hypertarget{classBM_126bd2595c48e311fc2a7ab72876092a}{ 
     60const \hyperlink{classRV}{RV} \& \hyperlink{classBM_126bd2595c48e311fc2a7ab72876092a}{\_\-rv} () const } 
     61\label{classBM_126bd2595c48e311fc2a7ab72876092a} 
    4462 
    4563\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
    46 double {\bf \_\-ll} () const \label{classBM_87f4a547d2c29180be88175e5eab9c88} 
    47  
    48 \begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 
     64\hypertarget{classBM_87f4a547d2c29180be88175e5eab9c88}{ 
     65double \hyperlink{classBM_87f4a547d2c29180be88175e5eab9c88}{\_\-ll} () const } 
     66\label{classBM_87f4a547d2c29180be88175e5eab9c88} 
     67 
     68\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     69\hypertarget{classBM_1ffa9f23669aabecc3760c06c6987522}{ 
     70void \hyperlink{classBM_1ffa9f23669aabecc3760c06c6987522}{set\_\-evalll} (bool evl0)} 
     71\label{classBM_1ffa9f23669aabecc3760c06c6987522} 
     72 
     73\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     74virtual \hyperlink{classBM}{BM} $\ast$ \hyperlink{classBM_eb58c81d6a7b75b05fc6f276eed78887}{\_\-copy\_\-} (bool changerv=false) 
     75\end{CompactItemize} 
    4976\subsection*{Public Attributes} 
    5077\begin{CompactItemize} 
    5178\item  
    52 vec {\bf mu}\label{classKalmanFull_fb5aec635e2720cc5ac31bc01c18a68a} 
     79\hypertarget{classKalmanFull_fb5aec635e2720cc5ac31bc01c18a68a}{ 
     80vec \hyperlink{classKalmanFull_fb5aec635e2720cc5ac31bc01c18a68a}{mu}} 
     81\label{classKalmanFull_fb5aec635e2720cc5ac31bc01c18a68a} 
    5382 
    5483\begin{CompactList}\small\item\em Mean value of the posterior density. \item\end{CompactList}\item  
    55 mat {\bf P}\label{classKalmanFull_b75dc059e84fa8ffc076203b30f926cc} 
     84\hypertarget{classKalmanFull_b75dc059e84fa8ffc076203b30f926cc}{ 
     85mat \hyperlink{classKalmanFull_b75dc059e84fa8ffc076203b30f926cc}{P}} 
     86\label{classKalmanFull_b75dc059e84fa8ffc076203b30f926cc} 
    5687 
    5788\begin{CompactList}\small\item\em Variance of the posterior density. \item\end{CompactList}\item  
    58 bool \textbf{evalll}\label{classKalmanFull_c17d69e125acd2673e6688fd86dd3f84} 
    59  
    60 \item  
    61 double \textbf{ll}\label{classKalmanFull_3aa4bf6128980d0627413dcf9cd07308} 
     89\hypertarget{classKalmanFull_c17d69e125acd2673e6688fd86dd3f84}{ 
     90bool \textbf{evalll}} 
     91\label{classKalmanFull_c17d69e125acd2673e6688fd86dd3f84} 
     92 
     93\item  
     94\hypertarget{classKalmanFull_3aa4bf6128980d0627413dcf9cd07308}{ 
     95double \textbf{ll}} 
     96\label{classKalmanFull_3aa4bf6128980d0627413dcf9cd07308} 
    6297 
    6398\end{CompactItemize} 
     
    65100\begin{CompactItemize} 
    66101\item  
    67 int \textbf{dimx}\label{classKalmanFull_c5353e66238ed717dba79e0499118226} 
    68  
    69 \item  
    70 int \textbf{dimy}\label{classKalmanFull_761fadcc12dd4cb83bb8b5e27db01947} 
    71  
    72 \item  
    73 int \textbf{dimu}\label{classKalmanFull_609a4a0fcde78fd7aac2f01b34e952c9} 
    74  
    75 \item  
    76 mat \textbf{A}\label{classKalmanFull_554de4c953761380cd5a14a02542e007} 
    77  
    78 \item  
    79 mat \textbf{B}\label{classKalmanFull_ac7ade2a603a1b05419e36c5aae21755} 
    80  
    81 \item  
    82 mat \textbf{C}\label{classKalmanFull_5a9a8326ae17b519109fcdad59ea74a3} 
    83  
    84 \item  
    85 mat \textbf{D}\label{classKalmanFull_8f992a2d6b66d2e8bd9174b28cc0f074} 
    86  
    87 \item  
    88 mat \textbf{R}\label{classKalmanFull_bbd2dab10da47237a5f0d9e55fd61f24} 
    89  
    90 \item  
    91 mat \textbf{Q}\label{classKalmanFull_a8777c1fe67763395d3ddeb326239851} 
    92  
    93 \item  
    94 mat \textbf{\_\-Pp}\label{classKalmanFull_905823cf4157a11b8b824e45809dac55} 
    95  
    96 \item  
    97 mat \textbf{\_\-Ry}\label{classKalmanFull_b1b946b3a43f7d86cf4b6dc0dd6e3210} 
    98  
    99 \item  
    100 mat \textbf{\_\-iRy}\label{classKalmanFull_c7d915386a9d60b1bc309ae9166764f6} 
    101  
    102 \item  
    103 mat \textbf{\_\-K}\label{classKalmanFull_4c8354ea4801529f3071189ddd10d760} 
    104  
    105 \item  
    106 {\bf RV} {\bf rv}\label{classBM_af00f0612fabe66241dd507188cdbf88} 
     102\hypertarget{classKalmanFull_c5353e66238ed717dba79e0499118226}{ 
     103int \textbf{dimx}} 
     104\label{classKalmanFull_c5353e66238ed717dba79e0499118226} 
     105 
     106\item  
     107\hypertarget{classKalmanFull_761fadcc12dd4cb83bb8b5e27db01947}{ 
     108int \textbf{dimy}} 
     109\label{classKalmanFull_761fadcc12dd4cb83bb8b5e27db01947} 
     110 
     111\item  
     112\hypertarget{classKalmanFull_609a4a0fcde78fd7aac2f01b34e952c9}{ 
     113int \textbf{dimu}} 
     114\label{classKalmanFull_609a4a0fcde78fd7aac2f01b34e952c9} 
     115 
     116\item  
     117\hypertarget{classKalmanFull_554de4c953761380cd5a14a02542e007}{ 
     118mat \textbf{A}} 
     119\label{classKalmanFull_554de4c953761380cd5a14a02542e007} 
     120 
     121\item  
     122\hypertarget{classKalmanFull_ac7ade2a603a1b05419e36c5aae21755}{ 
     123mat \textbf{B}} 
     124\label{classKalmanFull_ac7ade2a603a1b05419e36c5aae21755} 
     125 
     126\item  
     127\hypertarget{classKalmanFull_5a9a8326ae17b519109fcdad59ea74a3}{ 
     128mat \textbf{C}} 
     129\label{classKalmanFull_5a9a8326ae17b519109fcdad59ea74a3} 
     130 
     131\item  
     132\hypertarget{classKalmanFull_8f992a2d6b66d2e8bd9174b28cc0f074}{ 
     133mat \textbf{D}} 
     134\label{classKalmanFull_8f992a2d6b66d2e8bd9174b28cc0f074} 
     135 
     136\item  
     137\hypertarget{classKalmanFull_bbd2dab10da47237a5f0d9e55fd61f24}{ 
     138mat \textbf{R}} 
     139\label{classKalmanFull_bbd2dab10da47237a5f0d9e55fd61f24} 
     140 
     141\item  
     142\hypertarget{classKalmanFull_a8777c1fe67763395d3ddeb326239851}{ 
     143mat \textbf{Q}} 
     144\label{classKalmanFull_a8777c1fe67763395d3ddeb326239851} 
     145 
     146\item  
     147\hypertarget{classKalmanFull_905823cf4157a11b8b824e45809dac55}{ 
     148mat \textbf{\_\-Pp}} 
     149\label{classKalmanFull_905823cf4157a11b8b824e45809dac55} 
     150 
     151\item  
     152\hypertarget{classKalmanFull_b1b946b3a43f7d86cf4b6dc0dd6e3210}{ 
     153mat \textbf{\_\-Ry}} 
     154\label{classKalmanFull_b1b946b3a43f7d86cf4b6dc0dd6e3210} 
     155 
     156\item  
     157\hypertarget{classKalmanFull_c7d915386a9d60b1bc309ae9166764f6}{ 
     158mat \textbf{\_\-iRy}} 
     159\label{classKalmanFull_c7d915386a9d60b1bc309ae9166764f6} 
     160 
     161\item  
     162\hypertarget{classKalmanFull_4c8354ea4801529f3071189ddd10d760}{ 
     163mat \textbf{\_\-K}} 
     164\label{classKalmanFull_4c8354ea4801529f3071189ddd10d760} 
     165 
     166\item  
     167\hypertarget{classBM_af00f0612fabe66241dd507188cdbf88}{ 
     168\hyperlink{classRV}{RV} \hyperlink{classBM_af00f0612fabe66241dd507188cdbf88}{rv}} 
     169\label{classBM_af00f0612fabe66241dd507188cdbf88} 
    107170 
    108171\begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item  
    109 double {\bf ll}\label{classBM_5623fef6572a08c2b53b8c87b82dc979} 
     172\hypertarget{classBM_5623fef6572a08c2b53b8c87b82dc979}{ 
     173double \hyperlink{classBM_5623fef6572a08c2b53b8c87b82dc979}{ll}} 
     174\label{classBM_5623fef6572a08c2b53b8c87b82dc979} 
    110175 
    111176\begin{CompactList}\small\item\em Logarithm of marginalized data likelihood. \item\end{CompactList}\item  
    112 bool {\bf evalll}\label{classBM_bf6fb59b30141074f8ee1e2f43d03129} 
    113  
    114 \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 time. \item\end{CompactList}\end{CompactItemize} 
     177\hypertarget{classBM_bf6fb59b30141074f8ee1e2f43d03129}{ 
     178bool \hyperlink{classBM_bf6fb59b30141074f8ee1e2f43d03129}{evalll}} 
     179\label{classBM_bf6fb59b30141074f8ee1e2f43d03129} 
     180 
     181\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}\end{CompactItemize} 
    115182\subsection*{Friends} 
    116183\begin{CompactItemize} 
    117184\item  
    118 std::ostream \& {\bf operator$<$$<$} (std::ostream \&os, const {\bf KalmanFull} \&kf)\label{classKalmanFull_86ba216243ed95bb46d80d88775d16af} 
     185\hypertarget{classKalmanFull_86ba216243ed95bb46d80d88775d16af}{ 
     186std::ostream \& \hyperlink{classKalmanFull_86ba216243ed95bb46d80d88775d16af}{operator$<$$<$} (std::ostream \&os, const \hyperlink{classKalmanFull}{KalmanFull} \&kf)} 
     187\label{classKalmanFull_86ba216243ed95bb46d80d88775d16af} 
    119188 
    120189\begin{CompactList}\small\item\em print elements of KF \item\end{CompactList}\end{CompactItemize} 
     
    122191 
    123192\subsection{Detailed Description} 
    124 Extended \doxyref{Kalman}{p.}{classKalman} Filter in full matrices.  
     193Extended \hyperlink{classKalman}{Kalman} Filter in full matrices.  
    125194 
    126195An approximation of the exact Bayesian filter with Gaussian noices and non-linear evolutions of their mean.  
    127196 
     197\subsection{Member Function Documentation} 
     198\hypertarget{classBM_8a8ce6df431689964c41cc6c849cfd06}{ 
     199\index{EKFfull@{EKFfull}!logpred@{logpred}} 
     200\index{logpred@{logpred}!EKFfull@{EKFfull}} 
     201\subsubsection[logpred]{\setlength{\rightskip}{0pt plus 5cm}virtual double BM::logpred (const vec \& {\em dt}) const\hspace{0.3cm}{\tt  \mbox{[}inline, virtual, inherited\mbox{]}}}} 
     202\label{classBM_8a8ce6df431689964c41cc6c849cfd06} 
     203 
     204 
     205Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out.  
     206 
     207Reimplemented in \hyperlink{classARX_e7f9e7823aec9bf7ddc3b42d9b3304c4}{ARX}, \hyperlink{classMixEF_424ca64f36d4e41de7a7e7ae921d35ea}{MixEF}, and \hyperlink{classmultiBM_13e26a61757278981fd8cac9a7ef91eb}{multiBM}.\hypertarget{classBM_eb58c81d6a7b75b05fc6f276eed78887}{ 
     208\index{EKFfull@{EKFfull}!\_\-copy\_\-@{\_\-copy\_\-}} 
     209\index{\_\-copy\_\-@{\_\-copy\_\-}!EKFfull@{EKFfull}} 
     210\subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf BM}$\ast$ BM::\_\-copy\_\- (bool {\em changerv} = {\tt false})\hspace{0.3cm}{\tt  \mbox{[}inline, virtual, inherited\mbox{]}}}} 
     211\label{classBM_eb58c81d6a7b75b05fc6f276eed78887} 
     212 
     213 
     214Copy function required in vectors, Arrays of \hyperlink{classBM}{BM} etc. Have to be DELETED manually! Prototype: BM$\ast$ \hyperlink{classBM_eb58c81d6a7b75b05fc6f276eed78887}{\_\-copy\_\-()}\{\hyperlink{classBM}{BM} Tmp$\ast$=new Tmp(this$\ast$); return Tmp; \}  
     215 
     216Reimplemented in \hyperlink{classARX_d2751057811c6fb8f4ff86e1648bcddc}{ARX}. 
     217 
     218Referenced by MixEF::MixEF(). 
     219 
    128220The documentation for this class was generated from the following files:\begin{CompactItemize} 
    129221\item  
    130 work/git/mixpp/bdm/estim/{\bf libKF.h}\item  
     222work/git/mixpp/bdm/estim/\hyperlink{libKF_8h}{libKF.h}\item  
    131223work/git/mixpp/bdm/estim/libKF.cpp\end{CompactItemize}