MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / predict

Method predict

bayes/src/infFlt.cpp:111–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111Bayes_base::Float
112 Information_scheme::predict (Linrz_predict_model& f)
113/* Extended linrz information prediction
114 * Computation is through state to accommodate linearised model
115 */
116{
117 update (); // x,X required
118 x = f.f(x); // Extended Kalman state predict is f(x) directly
119 // Predict information matrix, and state covariance
120 noalias(X) = prod_SPD(f.Fx,X, tempX);
121 noalias(X) += prod_SPD(f.G, f.q, tempX);
122
123 // Information
124 Float rcond = UdUinversePD (Y, X);
125 rclimit.check_PD(rcond, "X not PD in predict");
126 // Predict information state
127 noalias(y) = prod(Y,x);
128 return rcond;
129}
130
131Float Information_scheme::predict (Linear_invertable_predict_model& f, Linear_predict_byproducts& b)
132/* Linear information predict

Callers

nothing calls this directly

Calls 9

prod_SPDFunction · 0.85
UdUinversePDFunction · 0.85
prod_SPDTFunction · 0.85
errorFunction · 0.85
Numeric_exceptionClass · 0.85
identityFunction · 0.85
check_PDMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected