- Timestamp:
- 03/29/10 23:01:19 (15 years ago)
- Location:
- library/bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/design/arx_ctrl.h
r763 r883 66 66 state ( state.length() - 1 ) = 1; 67 67 } 68 return lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 68 vec tmp=lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 69 if (!isfinite(sum(tmp))) { 70 cout << "infinite ctrl action"; 71 } 72 return tmp; 69 73 } 70 74 //! -
library/bdm/estim/arx.cpp
r878 r883 216 216 void ARX::from_setting ( const Setting &set ) { 217 217 BMEF::from_setting(set); 218 218 219 shared_ptr<RV> yrv_ = UI::build<RV> ( set, "rv", UI::compulsory ); 219 220 shared_ptr<RV> rrv = UI::build<RV> ( set, "rgr", UI::compulsory );