Title: Remove redundant _isstatic calculation in xferfcn · Issue #1090 · python-control/python-control · GitHub
Open Graph Title: Remove redundant _isstatic calculation in xferfcn · Issue #1090 · python-control/python-control
X Title: Remove redundant _isstatic calculation in xferfcn · Issue #1090 · python-control/python-control
Description: ... there is already an _isstatic method that is also short-circuiting. Can we use the same code for both - perhaps by moving the code to a separate function that tests num and den, and a method that calls it? Originally posted by @sawye...
Open Graph Description: ... there is already an _isstatic method that is also short-circuiting. Can we use the same code for both - perhaps by moving the code to a separate function that tests num and den, and a method th...
X Description: ... there is already an _isstatic method that is also short-circuiting. Can we use the same code for both - perhaps by moving the code to a separate function that tests num and den, and a method th...
Opengraph URL: https://github.com/python-control/python-control/issues/1090
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove redundant _isstatic calculation in xferfcn","articleBody":"... there is already an `_isstatic` method that is also short-circuiting. Can we use the same code for both - perhaps by moving the code to a separate function that tests num and den, and a method that calls it?\r\n\r\n_Originally posted by @sawyerbfuller in https://github.com/python-control/python-control/pull/1082#discussion_r1903152560_\r\n ","author":{"url":"https://github.com/murrayrm","@type":"Person","name":"murrayrm"},"datePublished":"2025-01-04T21:36:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1090/python-control/issues/1090"}
| 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:39eeecc8-605e-309a-8126-90f07696e684 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CEF4:1D8164:3EB1E7:584758:6979B926 |
| html-safe-nonce | 495e0a431aedea4e3ef8b6bbb9840488891d3d8e40d341289359d06946b5942b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRUY0OjFEODE2NDozRUIxRTc6NTg0NzU4OjY5NzlCOTI2IiwidmlzaXRvcl9pZCI6IjI0MjEzMTk4ODk3MDUzNTE0NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7d6704cc782999722f36d543c459f9223b855c5097b7358744355e7c05715107 |
| hovercard-subject-tag | issue:2769010836 |
| 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/1090/issue_layout |
| twitter:image | https://opengraph.githubassets.com/68cfcd476d5553639eeeae1cafb0e6dbc04eb50cc5c6d551bd0b6d65db9b8353/python-control/python-control/issues/1090 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68cfcd476d5553639eeeae1cafb0e6dbc04eb50cc5c6d551bd0b6d65db9b8353/python-control/python-control/issues/1090 |
| og:image:alt | ... there is already an _isstatic method that is also short-circuiting. Can we use the same code for both - perhaps by moving the code to a separate function that tests num and den, and a method th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | murrayrm |
| hostname | github.com |
| expected-hostname | github.com |
| None | c049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4 |
| 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 | 87b137883e35e2766c3d0f6a257c4044f6390b83 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width