René's URL Explorer Experiment


Title: zero() returns error if there are no zeros and slycot is installed · Issue #218 · python-control/python-control · GitHub

Open Graph Title: zero() returns error if there are no zeros and slycot is installed · Issue #218 · python-control/python-control

X Title: zero() returns error if there are no zeros and slycot is installed · Issue #218 · python-control/python-control

Description: PR #205 added support for MIMO systems in the calculation of zeros for state space systems (using slycot), but there is a bug if there are no zeros in the input/output response. To generate the bug, use import control s = control.ss( con...

Open Graph Description: PR #205 added support for MIMO systems in the calculation of zeros for state space systems (using slycot), but there is a bug if there are no zeros in the input/output response. To generate the bug...

X Description: PR #205 added support for MIMO systems in the calculation of zeros for state space systems (using slycot), but there is a bug if there are no zeros in the input/output response. To generate the bug...

Opengraph URL: https://github.com/python-control/python-control/issues/218

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"zero() returns error if there are no zeros and slycot is installed","articleBody":"PR #205 added support for MIMO systems in the calculation of zeros for state space systems (using `slycot`), but there is a bug if there are no zeros in the input/output response.\r\n\r\nTo generate the bug, use\r\n```\r\nimport control\r\ns = control.ss( control.tf([1], [1, 2, 1]) )\r\ns.zero()\r\n```\r\nWithout `slycot`, we get\r\n```\r\narray([], dtype=float64)\r\n```\r\n\r\nWith `slycot` (0.3.3) this generates the following error trace:\r\n```\r\n~/src/python-control/murrayrm/control/statesp.py in zero(self)\r\n    526                          self.A, self.B, self.C, self.D)\r\n    527             nu = out[0]\r\n--\u003e 528             return sp.linalg.eigvals(out[8][0:nu,0:nu], out[9][0:nu,0:nu])\r\n    529         except ImportError:  # Slycot unavailable. Fall back to scipy.\r\n    530             if self.C.shape[0] != self.D.shape[1]:\r\n\r\n~/anaconda/envs/python3.6-slycot0.3.3/lib/python3.6/site-packages/scipy/linalg/decomp.py in eigvals(a, b, overwrite_a, check_finite, homogeneous_eigvals)\r\n    767     return eig(a, b=b, left=0, right=0, overwrite_a=overwrite_a,\r\n    768                check_finite=check_finite,\r\n--\u003e 769                homogeneous_eigvals=homogeneous_eigvals)\r\n    770 \r\n    771 \r\n\r\n~/anaconda/envs/python3.6-slycot0.3.3/lib/python3.6/site-packages/scipy/linalg/decomp.py in eig(a, b, left, right, overwrite_a, overwrite_b, check_finite, homogeneous_eigvals)\r\n    224             raise ValueError('a and b must have the same shape')\r\n    225         return _geneig(a1, b1, left, right, overwrite_a, overwrite_b,\r\n--\u003e 226                        homogeneous_eigvals)\r\n    227 \r\n    228     geev, geev_lwork = get_lapack_funcs(('geev', 'geev_lwork'), (a1,))\r\n\r\n~/anaconda/envs/python3.6-slycot0.3.3/lib/python3.6/site-packages/scipy/linalg/decomp.py in _geneig(a1, b1, left, right, overwrite_a, overwrite_b, homogeneous_eigvals)\r\n     78     ggev, = get_lapack_funcs(('ggev',), (a1, b1))\r\n     79     cvl, cvr = left, right\r\n---\u003e 80     res = ggev(a1, b1, lwork=-1)\r\n     81     lwork = res[-2][0].real.astype(numpy.int)\r\n     82     if ggev.typecode in 'cz':\r\n\r\nValueError: failed to create intent(cache|hide)|optional array-- must have defined dimensions but got (0,)\r\n```\r\n","author":{"url":"https://github.com/murrayrm","@type":"Person","name":"murrayrm"},"datePublished":"2018-07-07T20:16:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/218/python-control/issues/218"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e4df1d24-b1ef-241e-d514-e3df1d3398ce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC0C6:5F470:C909A9:1192FA5:697B5AD3
html-safe-nonce4bfeb2126af98f2f149a76fca8b258d5399d6a431d5a7aec837979bbaead601d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEM2OjVGNDcwOkM5MDlBOToxMTkyRkE1OjY5N0I1QUQzIiwidmlzaXRvcl9pZCI6Ijc3ODExMjQ1Mzc0Nzg1MDMxMjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf0cdb6af8a2d9849192764bcf027c53bd12134b6cd25d00aeb53596570ccf8a1
hovercard-subject-tagissue:339171844
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-control/python-control/218/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9a82c90888db37e313b36e6c69e3bfc55bf38cb013aa8831e38a9dea657b2942/python-control/python-control/issues/218
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9a82c90888db37e313b36e6c69e3bfc55bf38cb013aa8831e38a9dea657b2942/python-control/python-control/issues/218
og:image:altPR #205 added support for MIMO systems in the calculation of zeros for state space systems (using slycot), but there is a bug if there are no zeros in the input/output response. To generate the bug...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemurrayrm
hostnamegithub.com
expected-hostnamegithub.com
None7eed3e20c41f6c464df945b1f353a52c450ca1653f4697d4ebcc58c2adc5868a
turbo-cache-controlno-preview
go-importgithub.com/python-control/python-control git https://github.com/python-control/python-control.git
octolytics-dimension-user_id2285872
octolytics-dimension-user_loginpython-control
octolytics-dimension-repository_id22791752
octolytics-dimension-repository_nwopython-control/python-control
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id22791752
octolytics-dimension-repository_network_root_nwopython-control/python-control
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb059c4725f1b62cc8534bdab4092fd840e833907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-control/python-control/issues/218#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fissues%2F218
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-control%2Fpython-control%2Fissues%2F218
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-control%2Fpython-control
Reloadhttps://github.com/python-control/python-control/issues/218
Reloadhttps://github.com/python-control/python-control/issues/218
Reloadhttps://github.com/python-control/python-control/issues/218
python-control https://github.com/python-control
python-controlhttps://github.com/python-control/python-control
Notifications https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Fork 447 https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Star 2k https://github.com/login?return_to=%2Fpython-control%2Fpython-control
Code https://github.com/python-control/python-control
Issues 87 https://github.com/python-control/python-control/issues
Pull requests 8 https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects 0 https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security 0 https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
Code https://github.com/python-control/python-control
Issues https://github.com/python-control/python-control/issues
Pull requests https://github.com/python-control/python-control/pulls
Discussions https://github.com/python-control/python-control/discussions
Actions https://github.com/python-control/python-control/actions
Projects https://github.com/python-control/python-control/projects
Wiki https://github.com/python-control/python-control/wiki
Security https://github.com/python-control/python-control/security
Insights https://github.com/python-control/python-control/pulse
New issuehttps://github.com/login?return_to=https://github.com/python-control/python-control/issues/218
New issuehttps://github.com/login?return_to=https://github.com/python-control/python-control/issues/218
zero() returns error if there are no zeros and slycot is installedhttps://github.com/python-control/python-control/issues/218#top
https://github.com/murrayrm
https://github.com/murrayrm
murrayrmhttps://github.com/murrayrm
on Jul 7, 2018https://github.com/python-control/python-control/issues/218#issue-339171844
#205https://github.com/python-control/python-control/pull/205
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.