@@ -282,19 +282,14 @@ def lqe(A, G, C, QN, RN, NN=None):
282282
283283 A P + P A^T - (P C^T + G N) R^{-1} (C P + N^T G^T) + G Q G^T = 0
284284
285- E : 2D array (or matrix)
285+ E : 1D array
286286 Eigenvalues of estimator poles eig(A - L C)
287287
288288 Notes
289289 -----
290290 The return type for 2D arrays depends on the default class set for
291291 state space operations. See :func:`~control.use_numpy_matrix`.
292292
293- The return type for `E` differs from the equivalent return values in the
294- :func:`~control.lqr`, :func:`~control.care`, and other similar
295- functions. The return type will be changed to a 1D array in a future
296- release.
297-
298293 Examples
299294 --------
300295 >>> K, P, E = lqe(A, G, C, QN, RN)
@@ -317,7 +312,7 @@ def lqe(A, G, C, QN, RN, NN=None):
317312 A , G , C = np .array (A , ndmin = 2 ), np .array (G , ndmin = 2 ), np .array (C , ndmin = 2 )
318313 QN , RN = np .array (QN , ndmin = 2 ), np .array (RN , ndmin = 2 )
319314 P , E , LT = care (A .T , C .T , np .dot (np .dot (G , QN ), G .T ), RN )
320- return _ssmatrix (LT .T ), _ssmatrix (P ), _ssmatrix ( E )
315+ return _ssmatrix (LT .T ), _ssmatrix (P ), E
321316
322317
323318# Contributed by Roberto Bucher <roberto.bucher@supsi.ch>
0 commit comments