Show
Ignore:
Timestamp:
02/16/09 10:02:08 (16 years ago)
Author:
smidl
Message:

Changes in the very root classes!
* rv and rvc are no longer compulsory,
* samplecond does not return ll
* BM has drv

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/latex/classbdm_1_1KalmanCh.tex

    r269 r270  
    33\label{classbdm_1_1KalmanCh}\index{bdm::KalmanCh@{bdm::KalmanCh}} 
    44} 
    5 \hyperlink{classbdm_1_1Kalman}{Kalman} filter in square root form.   
    6  
    7  
    85{\tt \#include $<$libKF.h$>$} 
    96 
     
    1512\end{center} 
    1613\end{figure} 
    17 Collaboration diagram for bdm::KalmanCh:\nopagebreak 
    18 \begin{figure}[H] 
    19 \begin{center} 
    20 \leavevmode 
    21 \includegraphics[width=400pt]{classbdm_1_1KalmanCh__coll__graph} 
    22 \end{center} 
    23 \end{figure} 
    24 \subsection*{Public Member Functions} 
    25 \begin{CompactItemize} 
    26 \item  
    27 \hypertarget{classbdm_1_1KalmanCh_5c50fb48d2c7fb6d31e2061f32ecc230}{ 
    28 \hyperlink{classbdm_1_1KalmanCh_5c50fb48d2c7fb6d31e2061f32ecc230}{KalmanCh} (\hyperlink{classbdm_1_1RV}{RV} rvx0, \hyperlink{classbdm_1_1RV}{RV} rvy0, \hyperlink{classbdm_1_1RV}{RV} rvu0)} 
    29 \label{classbdm_1_1KalmanCh_5c50fb48d2c7fb6d31e2061f32ecc230} 
     14 
     15 
     16\subsection{Detailed Description} 
     17\hyperlink{classbdm_1_1Kalman}{Kalman} filter in square root form. \subsection*{Public Member Functions} 
     18\begin{CompactItemize} 
     19\item  
     20\hypertarget{classbdm_1_1KalmanCh_830486554e1a2c7652541dbc9dcd3fb3}{ 
     21\hyperlink{classbdm_1_1KalmanCh_830486554e1a2c7652541dbc9dcd3fb3}{KalmanCh} ()} 
     22\label{classbdm_1_1KalmanCh_830486554e1a2c7652541dbc9dcd3fb3} 
    3023 
    3124\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item  
     
    4841\begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
    4942\hypertarget{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{ 
    50 const \hyperlink{classbdm_1_1enorm}{enorm}$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \hyperlink{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77}{\_\-e} () const } 
     43const \hyperlink{classbdm_1_1enorm}{enorm}$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \textbf{\_\-e} () const } 
    5144\label{classbdm_1_1Kalman_c34989b1e53c7d4ecdaea63a95ddbd77} 
    5245 
    53 \begin{CompactList}\small\item\em Returns a pointer to the epdf representing posterior density on parameters. Use with care! \item\end{CompactList}\item  
     46\item  
    5447\hypertarget{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{ 
    5548mat \& \hyperlink{classbdm_1_1Kalman_c788ec6e6c6f5f5861ae8a56d8ede277}{\_\-\_\-K} ()} 
     
    6154\label{classbdm_1_1Kalman_a250d1dbe7bba861dba2a324520cfa48} 
    6255 
    63 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     56\begin{CompactList}\small\item\em access function \item\end{CompactList}\end{CompactItemize} 
     57\begin{Indent}{\bf Constructors}\par 
     58\begin{CompactItemize} 
     59\item  
     60virtual \hyperlink{classbdm_1_1BM}{BM} $\ast$ \hyperlink{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{\_\-copy\_\-} () 
     61\end{CompactItemize} 
     62\end{Indent} 
     63\begin{Indent}{\bf Mathematical operations}\par 
     64\begin{CompactItemize} 
     65\item  
    6466\hypertarget{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{ 
    6567virtual void \hyperlink{classbdm_1_1BM_1dee3fddaf021e62d925289660a707dc}{bayesB} (const mat \&Dt)} 
     
    7476 
    7577\begin{CompactList}\small\item\em Matrix version of logpred. \item\end{CompactList}\item  
    76 \hypertarget{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c}{ 
    77 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 } 
    78 \label{classbdm_1_1BM_710e7d69c0d8791fb41a7cd4683cca2c} 
    79  
    80 \begin{CompactList}\small\item\em Constructs a predictive density (marginal density on data). \item\end{CompactList}\item  
    81 \hypertarget{classbdm_1_1BM_40a3c891996391e3135518053a917793}{ 
    82 const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1BM_40a3c891996391e3135518053a917793}{\_\-rv} () const } 
    83 \label{classbdm_1_1BM_40a3c891996391e3135518053a917793} 
    84  
    85 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     78\hypertarget{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{ 
     79virtual \hyperlink{classbdm_1_1epdf}{epdf} $\ast$ \hyperlink{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba}{epredictor} () const } 
     80\label{classbdm_1_1BM_688d7a2aced1e06aa1c468d73a9e5eba} 
     81 
     82\begin{CompactList}\small\item\em Constructs a predictive density $ f(d_{t+1} |d_{t}, \ldots d_{0}) $. \item\end{CompactList}\item  
     83\hypertarget{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{ 
     84virtual \hyperlink{classbdm_1_1mpdf}{mpdf} $\ast$ \hyperlink{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912}{predictor} () const } 
     85\label{classbdm_1_1BM_598b25e3f3d96a5bc00a5faeb5b3c912} 
     86 
     87\begin{CompactList}\small\item\em Constructs a conditional density 1-step ahead predictor. \item\end{CompactList}\end{CompactItemize} 
     88\end{Indent} 
     89\begin{Indent}{\bf Access to attributes}\par 
     90\begin{CompactItemize} 
     91\item  
    8692\hypertarget{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c}{ 
    87 const \hyperlink{classbdm_1_1RV}{RV} \& \hyperlink{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c}{\_\-drv} () const } 
     93const \hyperlink{classbdm_1_1RV}{RV} \& \textbf{\_\-drv} () const } 
    8894\label{classbdm_1_1BM_ff2d8755ba0b3def927d31305c03b09c} 
    8995 
    90 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     96\item  
    9197\hypertarget{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{ 
    92 void \hyperlink{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96}{set\_\-drv} (const \hyperlink{classbdm_1_1RV}{RV} \&\hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv})} 
     98void \textbf{set\_\-drv} (const \hyperlink{classbdm_1_1RV}{RV} \&rv)} 
    9399\label{classbdm_1_1BM_f135ae6dce7e9f30c9f88229c7930b96} 
    94100 
    95 \begin{CompactList}\small\item\em set drv \item\end{CompactList}\item  
     101\item  
    96102\hypertarget{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{ 
    97 double \hyperlink{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70}{\_\-ll} () const } 
     103double \textbf{\_\-ll} () const } 
    98104\label{classbdm_1_1BM_5be65d37dedfe33a3671e7065f523a70} 
    99105 
    100 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
     106\item  
    101107\hypertarget{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{ 
    102 void \hyperlink{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f}{set\_\-evalll} (bool evl0)} 
     108void \textbf{set\_\-evalll} (bool evl0)} 
    103109\label{classbdm_1_1BM_236b3abbcc93594fc97cd86d82c1a83f} 
    104110 
    105 \begin{CompactList}\small\item\em access function \item\end{CompactList}\item  
    106 virtual \hyperlink{classbdm_1_1BM}{BM} $\ast$ \hyperlink{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{\_\-copy\_\-} (bool changerv=false) 
    107111\end{CompactItemize} 
     112\end{Indent} 
    108113\subsection*{Protected Attributes} 
    109114\begin{CompactItemize} 
     
    209214 
    210215\begin{CompactList}\small\item\em cache of est.R \item\end{CompactList}\item  
    211 \hypertarget{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{ 
    212 \hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca}{rv}} 
    213 \label{classbdm_1_1BM_18d6db4af8ee42077741d9e3618153ca} 
    214  
    215 \begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item  
    216216\hypertarget{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{ 
    217217\hyperlink{classbdm_1_1RV}{RV} \hyperlink{classbdm_1_1BM_c400357e37d27a4834b2b1d9211009ed}{drv}} 
     
    230230\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} 
    231231 
    232  
    233 \subsection{Detailed Description} 
    234 \hyperlink{classbdm_1_1Kalman}{Kalman} filter in square root form.  
    235232 
    236233\subsection{Member Function Documentation} 
     
    252249Reimplemented in \hyperlink{classbdm_1_1EKFCh_4c8609c37290b158f88a31dae4047225}{bdm::EKFCh}. 
    253250 
    254 References chmat::\_\-Ch(), bdm::Kalman$<$ chmat $>$::\_\-K, bdm::Kalman$<$ chmat $>$::\_\-mu, bdm::Kalman$<$ chmat $>$::\_\-P, bdm::Kalman$<$ chmat $>$::\_\-Ry, bdm::Kalman$<$ chmat $>$::\_\-yp, bdm::Kalman$<$ chmat $>$::A, bdm::Kalman$<$ chmat $>$::B, bdm::Kalman$<$ chmat $>$::C, bdm::Kalman$<$ chmat $>$::D, bdm::Kalman$<$ chmat $>$::dimu, bdm::Kalman$<$ chmat $>$::dimx, bdm::Kalman$<$ chmat $>$::dimy, bdm::BM::evalll, bdm::eEF::evallog(), bdm::Kalman$<$ chmat $>$::fy, bdm::BM::ll, postA, and preA.\hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 
     251References chmat::\_\-Ch(), bdm::Kalman$<$ chmat $>$::\_\-K, bdm::Kalman$<$ chmat $>$::\_\-mu, bdm::Kalman$<$ chmat $>$::\_\-P, bdm::Kalman$<$ chmat $>$::\_\-Ry, bdm::Kalman$<$ chmat $>$::\_\-yp, bdm::Kalman$<$ chmat $>$::A, bdm::Kalman$<$ chmat $>$::B, bdm::Kalman$<$ chmat $>$::C, bdm::Kalman$<$ chmat $>$::D, bdm::Kalman$<$ chmat $>$::dimu, bdm::Kalman$<$ chmat $>$::dimx, bdm::Kalman$<$ chmat $>$::dimy, bdm::BM::evalll, bdm::eEF::evallog(), bdm::Kalman$<$ chmat $>$::fy, bdm::BM::ll, postA, and preA.\hypertarget{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff}{ 
     252\index{bdm::KalmanCh@{bdm::KalmanCh}!\_\-copy\_\-@{\_\-copy\_\-}} 
     253\index{\_\-copy\_\-@{\_\-copy\_\-}!bdm::KalmanCh@{bdm::KalmanCh}} 
     254\subsubsection[\_\-copy\_\-]{\setlength{\rightskip}{0pt plus 5cm}virtual {\bf BM}$\ast$ bdm::BM::\_\-copy\_\- ()\hspace{0.3cm}{\tt  \mbox{[}inline, virtual, inherited\mbox{]}}}} 
     255\label{classbdm_1_1BM_c0f027ff91d8459937c6f60ff8e553ff} 
     256 
     257 
     258Copy function required in vectors, Arrays of \hyperlink{classbdm_1_1BM}{BM} etc. Have to be DELETED manually! Prototype:  
     259 
     260\begin{Code}\begin{verbatim} BM* _copy_(){return new BM(*this);}  
     261\end{verbatim} 
     262\end{Code} 
     263 
     264  
     265 
     266Reimplemented in \hyperlink{classbdm_1_1ARX_60c40b5c6abc4c7e464b4ccae64a5a61}{bdm::ARX}.\hypertarget{classbdm_1_1BM_50257e0c1e5b5c73153ea6e716ad8ae0}{ 
    255267\index{bdm::KalmanCh@{bdm::KalmanCh}!logpred@{logpred}} 
    256268\index{logpred@{logpred}!bdm::KalmanCh@{bdm::KalmanCh}} 
     
    263275Reimplemented in \hyperlink{classbdm_1_1ARX_080a7e531e3aa06694112863b15bc6a4}{bdm::ARX}, \hyperlink{classbdm_1_1MixEF_da724da464a75e07521941e430929efa}{bdm::MixEF}, and \hyperlink{classbdm_1_1multiBM_e157b607c1e3fa91d42aeea44458e2bf}{bdm::multiBM}. 
    264276 
    265 Referenced by bdm::BM::logpred\_\-m().\hypertarget{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e}{ 
    266 \index{bdm::KalmanCh@{bdm::KalmanCh}!\_\-copy\_\-@{\_\-copy\_\-}} 
    267 \index{\_\-copy\_\-@{\_\-copy\_\-}!bdm::KalmanCh@{bdm::KalmanCh}} 
    268 \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{]}}}} 
    269 \label{classbdm_1_1BM_3efb3098172f1f67564a312fe732473e} 
    270  
    271  
    272 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; \}  
    273  
    274 Reimplemented in \hyperlink{classbdm_1_1ARX_20ff2de8d862f28de7da83444d65bcdb}{bdm::ARX}, and \hyperlink{classbdm_1_1BMEF_5912dbcf28ae711e30b08c2fa766a3e6}{bdm::BMEF}. 
     277Referenced by bdm::BM::logpred\_\-m(). 
    275278 
    276279The documentation for this class was generated from the following files:\begin{CompactItemize}