Title: Return type of eigenvalues from lqr and lqe not consistent · Issue #439 · python-control/python-control · GitHub
Open Graph Title: Return type of eigenvalues from lqr and lqe not consistent · Issue #439 · python-control/python-control
X Title: Return type of eigenvalues from lqr and lqe not consistent · Issue #439 · python-control/python-control
Description: This came up while pytestifying statefbk_test.py (#438) lqr() will always return E as (nstates, ) array python-control/control/statefbk.py Lines 444 to 446 in d3142ff E = w[0:nstates]; return _ssmatrix(K), _ssmatrix(S), E lqe() returns _...
Open Graph Description: This came up while pytestifying statefbk_test.py (#438) lqr() will always return E as (nstates, ) array python-control/control/statefbk.py Lines 444 to 446 in d3142ff E = w[0:nstates]; return _ssma...
X Description: This came up while pytestifying statefbk_test.py (#438) lqr() will always return E as (nstates, ) array python-control/control/statefbk.py Lines 444 to 446 in d3142ff E = w[0:nstates]; return _ssma...
Opengraph URL: https://github.com/python-control/python-control/issues/439
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Return type of eigenvalues from lqr and lqe not consistent","articleBody":"This came up while pytestifying statefbk_test.py (#438)\r\n\r\n`lqr()` will always return `E` as `(nstates, ) array`\r\nhttps://github.com/python-control/python-control/blob/d3142ff24c7af5e2c0843fd16d0e1be82b322bb9/control/statefbk.py#L444-L446\r\n\r\n`lqe()` returns `_ssmatrix(E)` which is a `(nstates, ) array` or `(1, nstates) matrix` depending on `config.defaults.use_numpy_matrix()`\r\nhttps://github.com/python-control/python-control/blob/d3142ff24c7af5e2c0843fd16d0e1be82b322bb9/control/statefbk.py#L290","author":{"url":"https://github.com/bnavigator","@type":"Person","name":"bnavigator"},"datePublished":"2020-07-29T00:48:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/439/python-control/issues/439"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:75e60b31-321c-708a-80f0-58a082320c4b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9DE:345934:368004B:494928C:697AF19D |
| html-safe-nonce | 98dd70e6d99a83df0d97d5263c6c3871cb49df2ed973f9704717482ade4129c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOURFOjM0NTkzNDozNjgwMDRCOjQ5NDkyOEM6Njk3QUYxOUQiLCJ2aXNpdG9yX2lkIjoiNDI3Nzk0Nzg3OTk3MzkwODg5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 06bba25793873524d349d3e876c774bad4b3c498e4d5d14157f464ae4cd0a062 |
| hovercard-subject-tag | issue:667469211 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-control/python-control/439/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4410374e1727583b5f06243f322ff3c75adaae702843f4c8f043dbfc695c246b/python-control/python-control/issues/439 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4410374e1727583b5f06243f322ff3c75adaae702843f4c8f043dbfc695c246b/python-control/python-control/issues/439 |
| og:image:alt | This came up while pytestifying statefbk_test.py (#438) lqr() will always return E as (nstates, ) array python-control/control/statefbk.py Lines 444 to 446 in d3142ff E = w[0:nstates]; return _ssma... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bnavigator |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7ce8ed0a54c4730aeca4e6abacfc6490365fc42e25480b86883054df3f9181c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-control/python-control git https://github.com/python-control/python-control.git |
| octolytics-dimension-user_id | 2285872 |
| octolytics-dimension-user_login | python-control |
| octolytics-dimension-repository_id | 22791752 |
| octolytics-dimension-repository_nwo | python-control/python-control |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 22791752 |
| octolytics-dimension-repository_network_root_nwo | python-control/python-control |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d7bfc78137af9a4828305e52ab993fce981d7085 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width