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

Commit81ebbcf

Browse files
authored
Merge pull request#212 from murrayrm/fix_statespace
Fix statespace issues causing Travis CI failures
2 parents115223e +e6447ea commit81ebbcf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎control/statesp.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,9 @@ def zero(self):
537537
# from
538538
# https://dspace.mit.edu/bitstream/handle/1721.1/841/P-0802-06587335.pdf.
539539
# The QZ algorithm solves the generalized eigenvalue problem: given
540-
# `L = [A, B; C, D]` and `M = [I_nxn 0]`, find all finite λ for
541-
# which there exist nontrivial solutions of the equation `Lz - λMz`.
540+
# `L = [A, B; C, D]` and `M = [I_nxn 0]`, find all finite lambda
541+
# for which there exist nontrivial solutions of the equation
542+
# `Lz - lamba Mz`.
542543
#
543544
# The generalized eigenvalue problem is only solvable if its
544545
# arguments are square matrices.

‎control/tests/statesp_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ def testPole(self):
4242

4343
np.testing.assert_array_almost_equal(p,true_p)
4444

45-
deftestZero(self):
45+
@unittest.skipIf(notslycot_check(),"slycot not installed")
46+
deftestMIMOZero_nonsquare(self):
4647
"""Evaluate the zeros of a MIMO system."""
4748

4849
z=np.sort(self.sys1.zero())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp