Show
Ignore:
Timestamp:
10/23/09 00:05:25 (15 years ago)
Author:
smidl
Message:

Major changes in BM -- OK is only test suite and tests/tutorial -- the rest is broken!!!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/design/ctrlbase.cpp

    r620 r679  
    55void LQG::set_system(shared_ptr<StateSpace<fsqmat> > S0){ 
    66        S = S0; 
    7         dimx= S->_dimx(); 
    8         dimy= S->_dimy(); 
    9         dimu= S->_dimu(); 
     7        dimx= S->_A().rows(); 
     8        dimy= S->_C().rows(); 
     9        dimu= S->_B().cols(); 
    1010        pr=zeros(dimx+dimu+dimy,  dimu+dimx+dimu+dimy); 
    1111        pr.set_submatrix(dimx, dimu+dimx, eye(dimu+dimy));