- Timestamp:
- 03/29/10 23:01:29 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/estim/kalman.cpp
r850 r884 263 263 //add diagonals for rgr 264 264 int active_x = y_block_size; 265 int active_Bcol = 0; 265 266 for ( int r = 0; r < urv.length(); r++ ) { 266 267 if (u_block_sizes(r)>0){ 267 268 diagonal_part ( this->A, active_x + urv.size ( r ), active_x, u_block_sizes ( r ) - urv.size ( r ) ); 268 this->B.set_submatrix ( active_x, 0, eye ( urv.size ( r ) ) ); 269 this->B.set_submatrix ( active_x, active_Bcol, eye ( urv.size ( r ) ) ); 270 active_Bcol+=u_block_sizes(r); 269 271 } 270 272 active_x += u_block_sizes ( r );