We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c4a65 commit 3e6347fCopy full SHA for 3e6347f
control/statefbk.py
@@ -374,9 +374,9 @@ def lqr(*args, **keywords):
374
375
Returns
376
-------
377
- K: 2D array
+ K: 2D array (or matrix)
378
State feedback gains
379
- S: 2D array
+ S: 2D array (or matrix)
380
Solution to Riccati equation
381
E: 1D array
382
Eigenvalues of the closed loop system
@@ -390,6 +390,12 @@ def lqr(*args, **keywords):
390
--------
391
lqe
392
393
+ Notes
394
+ -----
395
+ The return type for `K` and `S` depends on the default class set for
396
+ state space operations. By default, this is the Numpy `matrix`
397
+ class in this release, but this can be reconfigured using the
398
+ :func:`~control.use_numpy_matrix` function.
399
"""
400
401
# Make sure that SLICOT is installed
0 commit comments