GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Complex numbers in state space matrices get cast to real in `control.StateSpace(...)` constructor - a bug? · Issue #1058 · python-control/python-control Open DescriptionI noticed that if I have complex numbers in my A,B,C,D state space matrices, there's casting complex numbers to real in Specifically, I think this line is responsible: https://github.com/python-control/python-control/blob/main/control/statesp.py#L2170. Note from control import StateSpace import numpy as np A = np.array([[1+1j,1+1j],[1+1j,1+1j]]) B = np.array([[1+1j,1+1j],[1+1j,1+1j]]) C = np.array([[1+1j,1+1j],[1+1j,1+1j]]) D = np.array([[1+1j,1+1j],[1+1j,1+1j]]) ss = StateSpace(A,B,C,D) results in Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |