[172] | 1 | \hypertarget{classKalmanCh}{ |
---|
[37] | 2 | \section{KalmanCh Class Reference} |
---|
| 3 | \label{classKalmanCh}\index{KalmanCh@{KalmanCh}} |
---|
[172] | 4 | } |
---|
| 5 | \hyperlink{classKalman}{Kalman} filter in square root form. |
---|
[37] | 6 | |
---|
| 7 | |
---|
| 8 | {\tt \#include $<$libKF.h$>$} |
---|
| 9 | |
---|
| 10 | Inheritance diagram for KalmanCh:\nopagebreak |
---|
| 11 | \begin{figure}[H] |
---|
| 12 | \begin{center} |
---|
| 13 | \leavevmode |
---|
[91] | 14 | \includegraphics[width=95pt]{classKalmanCh__inherit__graph} |
---|
[37] | 15 | \end{center} |
---|
| 16 | \end{figure} |
---|
| 17 | Collaboration diagram for KalmanCh:\nopagebreak |
---|
| 18 | \begin{figure}[H] |
---|
| 19 | \begin{center} |
---|
| 20 | \leavevmode |
---|
[79] | 21 | \includegraphics[width=400pt]{classKalmanCh__coll__graph} |
---|
[37] | 22 | \end{center} |
---|
| 23 | \end{figure} |
---|
| 24 | \subsection*{Public Member Functions} |
---|
| 25 | \begin{CompactItemize} |
---|
| 26 | \item |
---|
[172] | 27 | \hypertarget{classKalmanCh_d11f110cccaa66177514632d37b086bb}{ |
---|
| 28 | \hyperlink{classKalmanCh_d11f110cccaa66177514632d37b086bb}{KalmanCh} (\hyperlink{classRV}{RV} rvx0, \hyperlink{classRV}{RV} rvy0, \hyperlink{classRV}{RV} rvu0)} |
---|
| 29 | \label{classKalmanCh_d11f110cccaa66177514632d37b086bb} |
---|
[37] | 30 | |
---|
| 31 | \begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item |
---|
[172] | 32 | \hypertarget{classKalmanCh_92fb227287af05c9f0078d523c7c9793}{ |
---|
| 33 | void \hyperlink{classKalmanCh_92fb227287af05c9f0078d523c7c9793}{set\_\-parameters} (const mat \&A0, const mat \&B0, const mat \&C0, const mat \&D0, const \hyperlink{classchmat}{chmat} \&R0, const \hyperlink{classchmat}{chmat} \&Q0)} |
---|
| 34 | \label{classKalmanCh_92fb227287af05c9f0078d523c7c9793} |
---|
[37] | 35 | |
---|
| 36 | \begin{CompactList}\small\item\em Set parameters with check of relevance. \item\end{CompactList}\item |
---|
[172] | 37 | \hypertarget{classKalmanCh_b261b20f6210d4c85131d33302df0adc}{ |
---|
| 38 | void \hyperlink{classKalmanCh_b261b20f6210d4c85131d33302df0adc}{set\_\-est} (const vec \&mu0, const \hyperlink{classchmat}{chmat} \&P0)} |
---|
| 39 | \label{classKalmanCh_b261b20f6210d4c85131d33302df0adc} |
---|
[37] | 40 | |
---|
| 41 | \begin{CompactList}\small\item\em Set estimate values, used e.g. in initialization. \item\end{CompactList}\item |
---|
[172] | 42 | void \hyperlink{classKalmanCh_cca758192846940409822b9bd778d4e1}{bayes} (const vec \&dt) |
---|
| 43 | \begin{CompactList}\small\item\em Here dt = \mbox{[}yt;ut\mbox{]} of appropriate dimensions. \item\end{CompactList}\item |
---|
| 44 | \hypertarget{classKalman_67cccaf1c4dcdcd1df110e15ef326bfe}{ |
---|
| 45 | const \hyperlink{classepdf}{epdf} \& \hyperlink{classKalman_67cccaf1c4dcdcd1df110e15ef326bfe}{\_\-epdf} () const } |
---|
| 46 | \label{classKalman_67cccaf1c4dcdcd1df110e15ef326bfe} |
---|
[37] | 47 | |
---|
[172] | 48 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
[210] | 49 | \hypertarget{classKalman_11f82ef04e3dbc54bd1d3d89edb6aa07}{ |
---|
| 50 | const \hyperlink{classenorm}{enorm}$<$ \hyperlink{classchmat}{chmat} $>$ $\ast$ \hyperlink{classKalman_11f82ef04e3dbc54bd1d3d89edb6aa07}{\_\-e} () const } |
---|
| 51 | \label{classKalman_11f82ef04e3dbc54bd1d3d89edb6aa07} |
---|
| 52 | |
---|
| 53 | \begin{CompactList}\small\item\em Returns a pointer to the \hyperlink{classepdf}{epdf} representing posterior density on parameters. Use with care! \item\end{CompactList}\item |
---|
[172] | 54 | \hypertarget{classKalman_980fcd41c6c548c5da7b8b67c8e6da79}{ |
---|
| 55 | mat \& \hyperlink{classKalman_980fcd41c6c548c5da7b8b67c8e6da79}{\_\-\_\-K} ()} |
---|
| 56 | \label{classKalman_980fcd41c6c548c5da7b8b67c8e6da79} |
---|
[37] | 57 | |
---|
| 58 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
[172] | 59 | \hypertarget{classKalman_ac9540f3850b74d89a5fe4db6fc358ce}{ |
---|
| 60 | vec \hyperlink{classKalman_ac9540f3850b74d89a5fe4db6fc358ce}{\_\-dP} ()} |
---|
| 61 | \label{classKalman_ac9540f3850b74d89a5fe4db6fc358ce} |
---|
[37] | 62 | |
---|
| 63 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
[172] | 64 | \hypertarget{classBM_0186270f75189677f390fe088a9947e9}{ |
---|
| 65 | virtual void \hyperlink{classBM_0186270f75189677f390fe088a9947e9}{bayesB} (const mat \&Dt)} |
---|
| 66 | \label{classBM_0186270f75189677f390fe088a9947e9} |
---|
[37] | 67 | |
---|
[172] | 68 | \begin{CompactList}\small\item\em Batch Bayes rule (columns of Dt are observations). \item\end{CompactList}\item |
---|
| 69 | virtual double \hyperlink{classBM_8a8ce6df431689964c41cc6c849cfd06}{logpred} (const vec \&dt) const |
---|
| 70 | \item |
---|
[180] | 71 | \hypertarget{classBM_cd0660f2a1a344b56ac39802708ff165}{ |
---|
| 72 | vec \hyperlink{classBM_cd0660f2a1a344b56ac39802708ff165}{logpred\_\-m} (const mat \&dt) const } |
---|
| 73 | \label{classBM_cd0660f2a1a344b56ac39802708ff165} |
---|
| 74 | |
---|
| 75 | \begin{CompactList}\small\item\em Matrix version of logpred. \item\end{CompactList}\item |
---|
[210] | 76 | \hypertarget{classBM_5594d68ee9aa6fc8c1e79019da5c9d56}{ |
---|
| 77 | virtual \hyperlink{classepdf}{epdf} $\ast$ \hyperlink{classBM_5594d68ee9aa6fc8c1e79019da5c9d56}{predictor} (const \hyperlink{classRV}{RV} \&\hyperlink{classBM_af00f0612fabe66241dd507188cdbf88}{rv}) const } |
---|
| 78 | \label{classBM_5594d68ee9aa6fc8c1e79019da5c9d56} |
---|
[180] | 79 | |
---|
| 80 | \begin{CompactList}\small\item\em Constructs a predictive density (marginal density on data). \item\end{CompactList}\item |
---|
[172] | 81 | \hypertarget{classBM_126bd2595c48e311fc2a7ab72876092a}{ |
---|
| 82 | const \hyperlink{classRV}{RV} \& \hyperlink{classBM_126bd2595c48e311fc2a7ab72876092a}{\_\-rv} () const } |
---|
| 83 | \label{classBM_126bd2595c48e311fc2a7ab72876092a} |
---|
| 84 | |
---|
[79] | 85 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
[172] | 86 | \hypertarget{classBM_87f4a547d2c29180be88175e5eab9c88}{ |
---|
| 87 | double \hyperlink{classBM_87f4a547d2c29180be88175e5eab9c88}{\_\-ll} () const } |
---|
| 88 | \label{classBM_87f4a547d2c29180be88175e5eab9c88} |
---|
[37] | 89 | |
---|
| 90 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
[172] | 91 | \hypertarget{classBM_1ffa9f23669aabecc3760c06c6987522}{ |
---|
| 92 | void \hyperlink{classBM_1ffa9f23669aabecc3760c06c6987522}{set\_\-evalll} (bool evl0)} |
---|
| 93 | \label{classBM_1ffa9f23669aabecc3760c06c6987522} |
---|
[37] | 94 | |
---|
[172] | 95 | \begin{CompactList}\small\item\em access function \item\end{CompactList}\item |
---|
| 96 | virtual \hyperlink{classBM}{BM} $\ast$ \hyperlink{classBM_eb58c81d6a7b75b05fc6f276eed78887}{\_\-copy\_\-} (bool changerv=false) |
---|
| 97 | \end{CompactItemize} |
---|
[37] | 98 | \subsection*{Protected Attributes} |
---|
| 99 | \begin{CompactItemize} |
---|
| 100 | \item |
---|
[172] | 101 | \hypertarget{classKalmanCh_94ee9da75b0e0f632e4a354988ca3798}{ |
---|
| 102 | mat \hyperlink{classKalmanCh_94ee9da75b0e0f632e4a354988ca3798}{preA}} |
---|
| 103 | \label{classKalmanCh_94ee9da75b0e0f632e4a354988ca3798} |
---|
[37] | 104 | |
---|
[79] | 105 | \begin{CompactList}\small\item\em pre array (triangular matrix) \item\end{CompactList}\item |
---|
[172] | 106 | \hypertarget{classKalmanCh_0d31a26dc72b5846cfe5af3ccb63ac87}{ |
---|
| 107 | mat \hyperlink{classKalmanCh_0d31a26dc72b5846cfe5af3ccb63ac87}{postA}} |
---|
| 108 | \label{classKalmanCh_0d31a26dc72b5846cfe5af3ccb63ac87} |
---|
[79] | 109 | |
---|
| 110 | \begin{CompactList}\small\item\em post array (triangular matrix) \item\end{CompactList}\item |
---|
[172] | 111 | \hypertarget{classKalman_7501230c2fafa3655887d2da23b3184c}{ |
---|
| 112 | \hyperlink{classRV}{RV} \hyperlink{classKalman_7501230c2fafa3655887d2da23b3184c}{rvy}} |
---|
| 113 | \label{classKalman_7501230c2fafa3655887d2da23b3184c} |
---|
[79] | 114 | |
---|
[37] | 115 | \begin{CompactList}\small\item\em Indetifier of output rv. \item\end{CompactList}\item |
---|
[172] | 116 | \hypertarget{classKalman_44a16ffd5ac1e6e39bae34fea9e1e498}{ |
---|
| 117 | \hyperlink{classRV}{RV} \hyperlink{classKalman_44a16ffd5ac1e6e39bae34fea9e1e498}{rvu}} |
---|
| 118 | \label{classKalman_44a16ffd5ac1e6e39bae34fea9e1e498} |
---|
[37] | 119 | |
---|
| 120 | \begin{CompactList}\small\item\em Indetifier of exogeneous rv. \item\end{CompactList}\item |
---|
[172] | 121 | \hypertarget{classKalman_39c8c403b46fa3b8c7da77cb2e3729eb}{ |
---|
| 122 | int \hyperlink{classKalman_39c8c403b46fa3b8c7da77cb2e3729eb}{dimx}} |
---|
| 123 | \label{classKalman_39c8c403b46fa3b8c7da77cb2e3729eb} |
---|
[37] | 124 | |
---|
| 125 | \begin{CompactList}\small\item\em cache of rv.count() \item\end{CompactList}\item |
---|
[172] | 126 | \hypertarget{classKalman_ba17b956df1e38b31fbbc299c8213b6a}{ |
---|
| 127 | int \hyperlink{classKalman_ba17b956df1e38b31fbbc299c8213b6a}{dimy}} |
---|
| 128 | \label{classKalman_ba17b956df1e38b31fbbc299c8213b6a} |
---|
[37] | 129 | |
---|
| 130 | \begin{CompactList}\small\item\em cache of rvy.count() \item\end{CompactList}\item |
---|
[172] | 131 | \hypertarget{classKalman_b0153795a1444b6968a86409c778d9ce}{ |
---|
| 132 | int \hyperlink{classKalman_b0153795a1444b6968a86409c778d9ce}{dimu}} |
---|
| 133 | \label{classKalman_b0153795a1444b6968a86409c778d9ce} |
---|
[37] | 134 | |
---|
| 135 | \begin{CompactList}\small\item\em cache of rvu.count() \item\end{CompactList}\item |
---|
[172] | 136 | \hypertarget{classKalman_5e02efe86ee91e9c74b93b425fe060b9}{ |
---|
| 137 | mat \hyperlink{classKalman_5e02efe86ee91e9c74b93b425fe060b9}{A}} |
---|
| 138 | \label{classKalman_5e02efe86ee91e9c74b93b425fe060b9} |
---|
[37] | 139 | |
---|
| 140 | \begin{CompactList}\small\item\em Matrix A. \item\end{CompactList}\item |
---|
[172] | 141 | \hypertarget{classKalman_dc87704284a6c0bca13bf51f4345a50a}{ |
---|
| 142 | mat \hyperlink{classKalman_dc87704284a6c0bca13bf51f4345a50a}{B}} |
---|
| 143 | \label{classKalman_dc87704284a6c0bca13bf51f4345a50a} |
---|
[37] | 144 | |
---|
| 145 | \begin{CompactList}\small\item\em Matrix B. \item\end{CompactList}\item |
---|
[172] | 146 | \hypertarget{classKalman_86a805cd6515872d1132ad0d6eb5dc13}{ |
---|
| 147 | mat \hyperlink{classKalman_86a805cd6515872d1132ad0d6eb5dc13}{C}} |
---|
| 148 | \label{classKalman_86a805cd6515872d1132ad0d6eb5dc13} |
---|
[37] | 149 | |
---|
| 150 | \begin{CompactList}\small\item\em Matrix C. \item\end{CompactList}\item |
---|
[172] | 151 | \hypertarget{classKalman_d69f774ba3335c970c1c5b1d182f4dd1}{ |
---|
| 152 | mat \hyperlink{classKalman_d69f774ba3335c970c1c5b1d182f4dd1}{D}} |
---|
| 153 | \label{classKalman_d69f774ba3335c970c1c5b1d182f4dd1} |
---|
[37] | 154 | |
---|
| 155 | \begin{CompactList}\small\item\em Matrix D. \item\end{CompactList}\item |
---|
[172] | 156 | \hypertarget{classKalman_9b69015c800eb93f3ee49da23a6f55d9}{ |
---|
| 157 | \hyperlink{classchmat}{chmat} \hyperlink{classKalman_9b69015c800eb93f3ee49da23a6f55d9}{Q}} |
---|
| 158 | \label{classKalman_9b69015c800eb93f3ee49da23a6f55d9} |
---|
[37] | 159 | |
---|
| 160 | \begin{CompactList}\small\item\em Matrix Q in square-root form. \item\end{CompactList}\item |
---|
[172] | 161 | \hypertarget{classKalman_11d171dc0e0ab111c56a70f98b97b3ec}{ |
---|
| 162 | \hyperlink{classchmat}{chmat} \hyperlink{classKalman_11d171dc0e0ab111c56a70f98b97b3ec}{R}} |
---|
| 163 | \label{classKalman_11d171dc0e0ab111c56a70f98b97b3ec} |
---|
[37] | 164 | |
---|
| 165 | \begin{CompactList}\small\item\em Matrix R in square-root form. \item\end{CompactList}\item |
---|
[172] | 166 | \hypertarget{classKalman_5568c74bac67ae6d3b1061dba60c9424}{ |
---|
| 167 | \hyperlink{classenorm}{enorm}$<$ \hyperlink{classchmat}{chmat} $>$ \hyperlink{classKalman_5568c74bac67ae6d3b1061dba60c9424}{est}} |
---|
| 168 | \label{classKalman_5568c74bac67ae6d3b1061dba60c9424} |
---|
[37] | 169 | |
---|
[79] | 170 | \begin{CompactList}\small\item\em posterior density on \$x\_\-t\$ \item\end{CompactList}\item |
---|
[172] | 171 | \hypertarget{classKalman_e580ab06483952bd03f2e651763e184f}{ |
---|
| 172 | \hyperlink{classenorm}{enorm}$<$ \hyperlink{classchmat}{chmat} $>$ \hyperlink{classKalman_e580ab06483952bd03f2e651763e184f}{fy}} |
---|
| 173 | \label{classKalman_e580ab06483952bd03f2e651763e184f} |
---|
[37] | 174 | |
---|
[79] | 175 | \begin{CompactList}\small\item\em preditive density on \$y\_\-t\$ \item\end{CompactList}\item |
---|
[172] | 176 | \hypertarget{classKalman_d422f51467c7a06174af2476d2826132}{ |
---|
| 177 | mat \hyperlink{classKalman_d422f51467c7a06174af2476d2826132}{\_\-K}} |
---|
| 178 | \label{classKalman_d422f51467c7a06174af2476d2826132} |
---|
[37] | 179 | |
---|
[172] | 180 | \begin{CompactList}\small\item\em placeholder for \hyperlink{classKalman}{Kalman} gain \item\end{CompactList}\item |
---|
| 181 | \hypertarget{classKalman_764bbc95238eda11fc81c5ebd0b1dcfd}{ |
---|
| 182 | vec \& \hyperlink{classKalman_764bbc95238eda11fc81c5ebd0b1dcfd}{\_\-yp}} |
---|
| 183 | \label{classKalman_764bbc95238eda11fc81c5ebd0b1dcfd} |
---|
[37] | 184 | |
---|
[79] | 185 | \begin{CompactList}\small\item\em cache of fy.mu \item\end{CompactList}\item |
---|
[172] | 186 | \hypertarget{classKalman_45c9f928d2d62e0c884900fb3380f904}{ |
---|
| 187 | \hyperlink{classchmat}{chmat} \& \hyperlink{classKalman_45c9f928d2d62e0c884900fb3380f904}{\_\-Ry}} |
---|
| 188 | \label{classKalman_45c9f928d2d62e0c884900fb3380f904} |
---|
[37] | 189 | |
---|
[79] | 190 | \begin{CompactList}\small\item\em cache of fy.R \item\end{CompactList}\item |
---|
[172] | 191 | \hypertarget{classKalman_fe803a81d2d847b0b1db3c6b29c18061}{ |
---|
| 192 | vec \& \hyperlink{classKalman_fe803a81d2d847b0b1db3c6b29c18061}{\_\-mu}} |
---|
| 193 | \label{classKalman_fe803a81d2d847b0b1db3c6b29c18061} |
---|
[37] | 194 | |
---|
[79] | 195 | \begin{CompactList}\small\item\em cache of est.mu \item\end{CompactList}\item |
---|
[172] | 196 | \hypertarget{classKalman_9fb808cc94a4c2652e1fb93be9bb7dcf}{ |
---|
| 197 | \hyperlink{classchmat}{chmat} \& \hyperlink{classKalman_9fb808cc94a4c2652e1fb93be9bb7dcf}{\_\-P}} |
---|
| 198 | \label{classKalman_9fb808cc94a4c2652e1fb93be9bb7dcf} |
---|
[37] | 199 | |
---|
[79] | 200 | \begin{CompactList}\small\item\em cache of est.R \item\end{CompactList}\item |
---|
[172] | 201 | \hypertarget{classBM_af00f0612fabe66241dd507188cdbf88}{ |
---|
| 202 | \hyperlink{classRV}{RV} \hyperlink{classBM_af00f0612fabe66241dd507188cdbf88}{rv}} |
---|
| 203 | \label{classBM_af00f0612fabe66241dd507188cdbf88} |
---|
[37] | 204 | |
---|
| 205 | \begin{CompactList}\small\item\em Random variable of the posterior. \item\end{CompactList}\item |
---|
[172] | 206 | \hypertarget{classBM_5623fef6572a08c2b53b8c87b82dc979}{ |
---|
| 207 | double \hyperlink{classBM_5623fef6572a08c2b53b8c87b82dc979}{ll}} |
---|
| 208 | \label{classBM_5623fef6572a08c2b53b8c87b82dc979} |
---|
[37] | 209 | |
---|
| 210 | \begin{CompactList}\small\item\em Logarithm of marginalized data likelihood. \item\end{CompactList}\item |
---|
[172] | 211 | \hypertarget{classBM_bf6fb59b30141074f8ee1e2f43d03129}{ |
---|
| 212 | bool \hyperlink{classBM_bf6fb59b30141074f8ee1e2f43d03129}{evalll}} |
---|
| 213 | \label{classBM_bf6fb59b30141074f8ee1e2f43d03129} |
---|
[37] | 214 | |
---|
[172] | 215 | \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} |
---|
[37] | 216 | |
---|
| 217 | |
---|
| 218 | \subsection{Detailed Description} |
---|
[172] | 219 | \hyperlink{classKalman}{Kalman} filter in square root form. |
---|
[37] | 220 | |
---|
[79] | 221 | \subsection{Member Function Documentation} |
---|
[172] | 222 | \hypertarget{classKalmanCh_cca758192846940409822b9bd778d4e1}{ |
---|
[79] | 223 | \index{KalmanCh@{KalmanCh}!bayes@{bayes}} |
---|
| 224 | \index{bayes@{bayes}!KalmanCh@{KalmanCh}} |
---|
[172] | 225 | \subsubsection[bayes]{\setlength{\rightskip}{0pt plus 5cm}void KalmanCh::bayes (const vec \& {\em dt})\hspace{0.3cm}{\tt \mbox{[}virtual\mbox{]}}}} |
---|
| 226 | \label{classKalmanCh_cca758192846940409822b9bd778d4e1} |
---|
[79] | 227 | |
---|
| 228 | |
---|
[172] | 229 | Here dt = \mbox{[}yt;ut\mbox{]} of appropriate dimensions. |
---|
[79] | 230 | |
---|
| 231 | The following equality hold::\[ \left[\begin{array}{cc} R^{0.5}\\ P_{t|t-1}^{0.5}C' & P_{t|t-1}^{0.5}CA'\\ & Q^{0.5}\end{array}\right]<\mathrm{orth.oper.}>=\left[\begin{array}{cc} R_{y}^{0.5} & KA'\\ & P_{t+1|t}^{0.5}\\ \\\end{array}\right]\] |
---|
| 232 | |
---|
[140] | 233 | Thus this object evaluates only predictors! Not filtering densities. |
---|
[79] | 234 | |
---|
[172] | 235 | Reimplemented from \hyperlink{classKalman_7750ffd73f261828a32c18aaeb65c75c}{Kalman$<$ chmat $>$}. |
---|
[79] | 236 | |
---|
[172] | 237 | Reimplemented in \hyperlink{classEKFCh_96f6edda324a0b7ef8b4e86cc7af60c1}{EKFCh}. |
---|
[79] | 238 | |
---|
[219] | 239 | References chmat::\_\-Ch(), Kalman$<$ chmat $>$::\_\-K, Kalman$<$ chmat $>$::\_\-mu, Kalman$<$ chmat $>$::\_\-P, Kalman$<$ chmat $>$::\_\-Ry, Kalman$<$ chmat $>$::\_\-yp, Kalman$<$ chmat $>$::A, Kalman$<$ chmat $>$::B, Kalman$<$ chmat $>$::C, Kalman$<$ chmat $>$::D, Kalman$<$ chmat $>$::dimu, Kalman$<$ chmat $>$::dimx, Kalman$<$ chmat $>$::dimy, BM::evalll, eEF::evallog(), Kalman$<$ chmat $>$::fy, BM::ll, postA, and preA.\hypertarget{classBM_8a8ce6df431689964c41cc6c849cfd06}{ |
---|
[172] | 240 | \index{KalmanCh@{KalmanCh}!logpred@{logpred}} |
---|
| 241 | \index{logpred@{logpred}!KalmanCh@{KalmanCh}} |
---|
| 242 | \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{]}}}} |
---|
| 243 | \label{classBM_8a8ce6df431689964c41cc6c849cfd06} |
---|
[91] | 244 | |
---|
[172] | 245 | |
---|
| 246 | Evaluates predictive log-likelihood of the given data record I.e. marginal likelihood of the data with the posterior integrated out. |
---|
| 247 | |
---|
[180] | 248 | Reimplemented in \hyperlink{classARX_e7f9e7823aec9bf7ddc3b42d9b3304c4}{ARX}, \hyperlink{classMixEF_424ca64f36d4e41de7a7e7ae921d35ea}{MixEF}, and \hyperlink{classmultiBM_13e26a61757278981fd8cac9a7ef91eb}{multiBM}. |
---|
| 249 | |
---|
| 250 | Referenced by BM::logpred\_\-m().\hypertarget{classBM_eb58c81d6a7b75b05fc6f276eed78887}{ |
---|
[172] | 251 | \index{KalmanCh@{KalmanCh}!\_\-copy\_\-@{\_\-copy\_\-}} |
---|
| 252 | \index{\_\-copy\_\-@{\_\-copy\_\-}!KalmanCh@{KalmanCh}} |
---|
| 253 | \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{]}}}} |
---|
| 254 | \label{classBM_eb58c81d6a7b75b05fc6f276eed78887} |
---|
| 255 | |
---|
| 256 | |
---|
| 257 | Copy 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; \} |
---|
| 258 | |
---|
[210] | 259 | Reimplemented in \hyperlink{classARX_5de61fbd4f97fa3216760b1f733f5af0}{ARX}, and \hyperlink{classBMEF_97f5312efe4a5bedb86d2daec59d8651}{BMEF}. |
---|
[172] | 260 | |
---|
[37] | 261 | The documentation for this class was generated from the following files:\begin{CompactItemize} |
---|
| 262 | \item |
---|
[172] | 263 | work/git/mixpp/bdm/estim/\hyperlink{libKF_8h}{libKF.h}\item |
---|
[145] | 264 | work/git/mixpp/bdm/estim/libKF.cpp\end{CompactItemize} |
---|