-
Notifications
You must be signed in to change notification settings - Fork 442
Closed
Milestone
Description
This came up while pytestifying statefbk_test.py (#438)
lqr()
will always return E
as (nstates, ) array
python-control/control/statefbk.py
Lines 444 to 446 in d3142ff
E = w[0:nstates]; | |
return _ssmatrix(K), _ssmatrix(S), E |
lqe()
returns _ssmatrix(E)
which is a (nstates, ) array
or (1, nstates) matrix
depending on config.defaults.use_numpy_matrix()
python-control/control/statefbk.py
Line 290 in d3142ff
return _ssmatrix(LT.T), _ssmatrix(P), _ssmatrix(E) |