Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix numpydoc for place_varga#1007

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 15 additions & 18 deletionscontrol/statefbk.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -150,22 +150,18 @@ def place_varga(A, B, p, dtime=False, alpha=None):
"""Place closed loop eigenvalues.
K = place_varga(A, B, p, dtime=False, alpha=None)

RequiredParameters
Parameters
----------
A : 2D array_like
Dynamics matrix
B : 2D array_like
Input matrix
p : 1D array_like
Desired eigenvalue locations

Optional Parameters
---------------
dtime : bool
dtime : bool, optional
False for continuous time pole placement or True for discrete time.
The default is dtime=False.

alpha : double scalar
alpha : float, optional
If `dtime` is false then place_varga will leave the eigenvalues with
real part less than alpha untouched. If `dtime` is true then
place_varga will leave eigenvalues with modulus less than alpha
Expand All@@ -179,26 +175,27 @@ def place_varga(A, B, p, dtime=False, alpha=None):
K : 2D array (or matrix)
Gain such that A - B K has eigenvalues given in p.

Algorithm
---------
See Also
--------
place, acker

Notes
-----
This function is a wrapper for the slycot function sb01bd, which
implements the pole placement algorithm of Varga [1]. In contrast to the
implements the pole placement algorithm of Varga [1]_. In contrast to the
algorithm used by place(), the Varga algorithm can place multiple poles at
the same location. The placement, however, may not be as robust.

[1] Varga A. "A Schur method for pole assignment." IEEE Trans. Automatic
Control, Vol. AC-26, pp. 517-519, 1981.
References
----------
.. [1] Varga A. "A Schur method for pole assignment." IEEE Trans. Automatic
Control, Vol. AC-26, pp. 517-519, 1981.

Examples
--------
>>> A = [[-1, -1], [0, 1]]
>>> B = [[0], [1]]
>>> K = place_varga(A, B, [-2, -5])

See Also
--------
place, acker

>>> K = ct.place_varga(A, B, [-2, -5])
"""

# Make sure that SLICOT is installed
Expand Down

[8]ページ先頭

©2009-2026 Movatter.jp