Title: Multiplying a MIMO `TransferFunction` by `1.0` multiplies by a matrix of ones, not identity · Issue #1075 · python-control/python-control · GitHub
Open Graph Title: Multiplying a MIMO `TransferFunction` by `1.0` multiplies by a matrix of ones, not identity · Issue #1075 · python-control/python-control
X Title: Multiplying a MIMO `TransferFunction` by `1.0` multiplies by a matrix of ones, not identity · Issue #1075 · python-control/python-control
Description: Multiplying a MIMO TransferFunction object by the Python float 1.0 appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended behaviour? I checked in the documentation ...
Open Graph Description: Multiplying a MIMO TransferFunction object by the Python float 1.0 appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended be...
X Description: Multiplying a MIMO TransferFunction object by the Python float 1.0 appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended be...
Opengraph URL: https://github.com/python-control/python-control/issues/1075
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Multiplying a MIMO `TransferFunction` by `1.0` multiplies by a matrix of ones, not identity","articleBody":"Multiplying a MIMO `TransferFunction` object by the Python float `1.0` appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended behaviour? I checked in the documentation and didn't see anything.\r\n\r\nExample:\r\n```python\r\nimport control\r\n\r\nG = control.TransferFunction(\r\n [\r\n [[87.8], [-86.4]],\r\n [[108.2], [-109.6]],\r\n ],\r\n [\r\n [[1, 1], [1, 1]],\r\n [[1, 1], [1, 1]],\r\n ],\r\n)\r\n\r\nI = control.TransferFunction(\r\n [\r\n [[1], [1]],\r\n [[1], [1]],\r\n ],\r\n [\r\n [[1], [1]],\r\n [[1], [1]],\r\n ],\r\n)\r\n\r\nprint(G)\r\nprint(1 * G)\r\nprint(I * G)\r\n```","author":{"url":"https://github.com/sdahdah","@type":"Person","name":"sdahdah"},"datePublished":"2024-12-05T16:00:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1075/python-control/issues/1075"}
| 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:7a2036b5-17d0-8c07-3b17-62b15c165f95 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9866:305654:725D34:9ECF7B:697A6A4D |
| html-safe-nonce | a36a9ac8d195874e38302714b85d67960bc7311a27007507fe9b66fc2ebcf1fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODY2OjMwNTY1NDo3MjVEMzQ6OUVDRjdCOjY5N0E2QTREIiwidmlzaXRvcl9pZCI6IjgwMjQ0Njc4MTk1Nzc2MzMzNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d3e6f2c609ec10e5a267fe28bf000718c3afe3db0fb7245fffa7aa25ca6a83e3 |
| hovercard-subject-tag | issue:2720804202 |
| 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/1075/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee826f1dc8f840b0c48cef79edb44dbd39c18163ee9de0cce0927ef6fdd85f85/python-control/python-control/issues/1075 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee826f1dc8f840b0c48cef79edb44dbd39c18163ee9de0cce0927ef6fdd85f85/python-control/python-control/issues/1075 |
| og:image:alt | Multiplying a MIMO TransferFunction object by the Python float 1.0 appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended be... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sdahdah |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4f4c032790588250388c2e36a0e1ea776c0a3f887d37d994e1ac3d7ea79d34ef |
| 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 | 06b3a5a9a6214e1e06e508d250d778cbaf17c577 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width