★ wanayoo — archive 1999 https://github.com/python-control/python-control/pull/110/commitsNouvelle recherche | Portail wanayoo
Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rory ss static pole #110

Merged
merged 4 commits into from Dec 28, 2016
Merged

Commits on Dec 28, 2016

  1. BugFix: allow straightforward creation of static gain StateSpace obje…

    …cts.
    
    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.
    roryyorke committed Dec 28, 2016
  2. 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.
    roryyorke committed Dec 28, 2016
  3. BugFix: allow minreal on static gain StateSpace objects

    Do this by only calling Slycot's tb01pd for non-static systems.
    roryyorke committed Dec 28, 2016
  4. BugFix: pole of stateless StateSpace object is empty array

    roryyorke committed Dec 28, 2016
You can’t perform that action at this time.