Changeset 279 for bdm/estim/libKF.cpp
- Timestamp:
- 02/24/09 14:12:19 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
bdm/estim/libKF.cpp
r278 r279 164 164 165 165 166 EKFCh::EKFCh ( ) : KalmanCh ( ) {}167 166 168 167 void EKFCh::set_parameters ( diffbifn* pfxu0, diffbifn* phxu0,const chmat Q0,const chmat R0 ) { … … 170 169 phxu = phxu0; 171 170 171 dimx = pfxu0->_dimy(); 172 dimy = phxu0->_dimy(); 173 dimu = pfxu0->_dimu(); 174 // set size of mu - just for constant terms of A and C 175 _mu=zeros(dimx); 176 A=zeros(dimx,dimx); 177 C=zeros(dimy,dimx); 178 preA=zeros(dimy+dimx+dimx, dimy+dimx); 179 172 180 //initialize matrices A C, later, these will be only updated! 173 181 pfxu->dfdx_cond ( _mu,zeros ( dimu ),A,true );