Title: TransferFunction array priority plus system type conversion checking by murrayrm · Pull Request #498 · python-control/python-control · GitHub
Open Graph Title: TransferFunction array priority plus system type conversion checking by murrayrm · Pull Request #498 · python-control/python-control
X Title: TransferFunction array priority plus system type conversion checking by murrayrm · Pull Request #498 · python-control/python-control
Description: (This PR builds on #497, which is required for some of the functionality.) This PR updates the __array_priority__ variable in the TransferFunction class that is used by numpy, as described in issue #459. With this change, multiplying a transfer function by an ndarray object gives a transfer function. I also created a new unit test (control/tests/type_converstion_test.py) that goes through the matrix of interconnections in #497 and confirms that output type for each operation. In this current PR, no new functionality is included, but I did mark those entries that should (eventually) be updated. Depending on what people think about the PR, we can either leave those for another time or put them into this PR.
Open Graph Description: (This PR builds on #497, which is required for some of the functionality.) This PR updates the __array_priority__ variable in the TransferFunction class that is used by numpy, as described in issue...
X Description: (This PR builds on #497, which is required for some of the functionality.) This PR updates the __array_priority__ variable in the TransferFunction class that is used by numpy, as described in issue...
Opengraph URL: https://github.com/python-control/python-control/pull/498
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:342a9f38-b990-1e14-e768-06758eb34c3b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C290:18FE23:25DBB9:34A9AE:697B4029 |
| html-safe-nonce | 3bfd8d1a62274e1596fb56b7c0409e2f3cc9e4571da71ec27542a528f956ae81 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMjkwOjE4RkUyMzoyNURCQjk6MzRBOUFFOjY5N0I0MDI5IiwidmlzaXRvcl9pZCI6IjY5ODgxNDQ1NDUyMjkzODk4NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 95caecdd5fe4540b07c27e1e85b6cfc3b6c94bfb1353ccc1a5cdac1906eed883 |
| hovercard-subject-tag | pull_request:548042208 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/python-control/python-control/pull/498/checks |
| twitter:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/293362?s=400&v=4 |
| og:image:alt | (This PR builds on #497, which is required for some of the functionality.) This PR updates the __array_priority__ variable in the TransferFunction class that is used by numpy, as described in issue... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6fe64d94889230be19a900846cfc91707e7dd4206878d6c208922b46a6b0735d |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 15736a47b83581130a149aa1b928696bea06adde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width