From: <kk...@us...> - 2011-02-08 22:18:05
|
Revision: 100 http://python-control.svn.sourceforge.net/python-control/?rev=100&view=rev Author: kkchen Date: 2011-02-08 22:17:59 +0000 (Tue, 08 Feb 2011) Log Message: ----------- Removed the system copying in hsvd. Kevin K. Chen <kk...@pr...> Modified Paths: -------------- branches/control-0.4a/src/modelsimp.py Modified: branches/control-0.4a/src/modelsimp.py =================================================================== --- branches/control-0.4a/src/modelsimp.py 2011-02-08 22:17:55 UTC (rev 99) +++ branches/control-0.4a/src/modelsimp.py 2011-02-08 22:17:59 UTC (rev 100) @@ -72,9 +72,8 @@ >>> H = hsvd(sys) """ - sys2 = StateSpace(sys.A,sys.B,sys.C,sys.D) Wc = gram(sys,'c') - Wo = gram(sys2,'o') + Wo = gram(sys,'o') WoWc = np.dot(Wo, Wc) w, v = np.linalg.eig(WoWc) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |