From: Scott C. L. <sli...@cd...> - 2016-12-28 19:53:35
|
Branch: refs/heads/master Home: https://github.com/python-control/python-control Commit: 564b1dcc9e856e2e8958d1b108d04af5d97f70c0 https://github.com/python-control/python-control/commit/564b1dcc9e856e2e8958d1b108d04af5d97f70c0 Author: Rory Yorke <ror...@gm...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py M control/tests/statesp_test.py Log Message: ----------- BugFix: allow straightforward creation of static gain StateSpace objects. Allows StateSpace([],[],[],D), which failed previously. Static gains have sizes enforced as follows: A 0-by-0, B 0-by-ninputs, C noutputs-by-0. Tests added for instantiation, and sum, product, feedback, and appending, of 1x1, 2x3, and 3x2 static gains StateSpace objects. Commit: 4a74cc559468256d179b9f72f0886208ff6b0771 https://github.com/python-control/python-control/commit/4a74cc559468256d179b9f72f0886208ff6b0771 Author: Rory Yorke <ror...@gm...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py M control/tests/statesp_test.py Log Message: ----------- BugFix: fix Python 2.7 failure. On Python 2.7, the special case "all states useless" in _remove_useless_states resulted in A=[[0]] (and similarly for B and C). The special case is no longer needed, since empty A, B, C matrices can be handled. numpy.delete does the right thing w.r.t. matrix sizes (e.g., deleting all columns of a nxm matrix gives an nx0 matrix). Added test for this. Commit: 09f9bab4e5d984dffc9215d2e8e80f2958873759 https://github.com/python-control/python-control/commit/09f9bab4e5d984dffc9215d2e8e80f2958873759 Author: Rory Yorke <ror...@gm...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py M control/tests/statesp_test.py Log Message: ----------- BugFix: allow minreal on static gain StateSpace objects Do this by only calling Slycot's tb01pd for non-static systems. Commit: c84debb49c14abe1df4c537ad42cc5e5a9fd75a3 https://github.com/python-control/python-control/commit/c84debb49c14abe1df4c537ad42cc5e5a9fd75a3 Author: Rory Yorke <ror...@gm...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py M control/tests/statesp_test.py Log Message: ----------- BugFix: pole of stateless StateSpace object is empty array Commit: b6b9906b54e380584b1eb6a3baf89474264adb06 https://github.com/python-control/python-control/commit/b6b9906b54e380584b1eb6a3baf89474264adb06 Author: Scott C. Livingston <sli...@cd...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py M control/tests/statesp_test.py Log Message: ----------- Merge pull request #110 https://github.com/python-control/python-control/pull/110 Changes are from branch `rory-ss-static-pole` of https://github.com/roryyorke/python-control.git Commit: d8b07cb5406d936ebe50b77831e9db687d7005af https://github.com/python-control/python-control/commit/d8b07cb5406d936ebe50b77831e9db687d7005af Author: Scott C. Livingston <sli...@cd...> Date: 2016-12-28 (Wed, 28 Dec 2016) Changed paths: M control/statesp.py Log Message: ----------- TRIV: Delete extra indentation Remove extra 4 spaces to achieve correct alignment. Note that in this case the extra indent did not affect block membership of the statement. Cf. https://docs.python.org/3/reference/lexical_analysis.html#indentation Compare: https://github.com/python-control/python-control/compare/c498d3d27a5d...d8b07cb5406d |