{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/16452","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/16452/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/16452/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/16452/events","html_url":"https://github.com/sympy/sympy/pull/16452","id":425619313,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY0NjcxOTMz","number":16452,"title":"[WIP] banded matrix construction","user":{"login":"smichr","id":90703,"node_id":"MDQ6VXNlcjkwNzAz","avatar_url":"https://avatars3.githubusercontent.com/u/90703?v=4","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-03-26T19:55:39Z","updated_at":"2019-03-26T19:55:40Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/16452","html_url":"https://github.com/sympy/sympy/pull/16452","diff_url":"https://github.com/sympy/sympy/pull/16452.diff","patch_url":"https://github.com/sympy/sympy/pull/16452.patch"},"body":"<!-- Your title above should be a short description of what\r\nwas changed. Do not include the issue number in the title. -->\r\n\r\n#### References to other Issues or PRs\r\n<!-- If this pull request fixes an issue, write \"Fixes #NNNN\" in that exact\r\nformat, e.g. \"Fixes #1234\". See\r\nhttps://github.com/blog/1506-closing-issues-via-pull-requests . Please also\r\nwrite a comment on that issue linking back to this pull request once it is\r\nopen. -->\r\n\r\ncloses #16180 as alternate\r\nfixes #16178\r\n\r\n#### Brief description of what is fixed or changed\r\n\r\nA syntax is proposed whereby banded matrices can be created.\r\n\r\nThe input to `banded` is a dictionary containing keys for the diagonal to fill, and values containing information about what to put on the diagonal:\r\n\r\n```\r\n{0: 1} - 1s on the main diagonal\r\n{0: x, 1:1} - an upper Jordan-block matrix\r\n{1: (1, 2, 3), -1: (4, 5, 6)} - 1, 2, 3 on the 1st diag above main and 4, 5, 6 on the diagonal below the main\r\n```\r\nThe values above can also be matrices/lists or single argument functions which calculate the value on the diagonal based on the displacement along the diagonal.\r\n\r\n#### Other comments\r\nThis is not a class of matrix, it is just a help function for creating the matrix. The rational for this is that one should not need to instantiate a full matrix if only needing to define values down a few diagonals.\r\n\r\n#### Release Notes\r\n\r\n<!-- Write the release notes for this release below. See\r\nhttps://github.com/sympy/sympy/wiki/Writing-Release-Notes for more information\r\non how to write release notes. The bot will check your release notes\r\nautomatically to see if they are formatted correctly. -->\r\n\r\n<!-- BEGIN RELEASE NOTES -->\r\n- matrices\r\n    - `banded` added to common as a helper to create a SparseMatrix\r\n<!-- END RELEASE NOTES -->\r\n"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/476822079","html_url":"https://github.com/sympy/sympy/pull/16452#issuecomment-476822079","issue_url":"https://api.github.com/repos/sympy/sympy/issues/16452","id":476822079,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NjgyMjA3OQ==","user":{"login":"sympy-bot","id":41242049,"node_id":"MDQ6VXNlcjQxMjQyMDQ5","avatar_url":"https://avatars0.githubusercontent.com/u/41242049?v=4","gravatar_id":"","url":"https://api.github.com/users/sympy-bot","html_url":"https://github.com/sympy-bot","followers_url":"https://api.github.com/users/sympy-bot/followers","following_url":"https://api.github.com/users/sympy-bot/following{/other_user}","gists_url":"https://api.github.com/users/sympy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy-bot/subscriptions","organizations_url":"https://api.github.com/users/sympy-bot/orgs","repos_url":"https://api.github.com/users/sympy-bot/repos","events_url":"https://api.github.com/users/sympy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/sympy-bot/received_events","type":"User","site_admin":false},"created_at":"2019-03-26T19:55:40Z","updated_at":"2019-03-26T19:55:40Z","author_association":"NONE","body":":white_check_mark:\n\nHi, I am the [SymPy bot](https://github.com/sympy/sympy-bot) (v143). I'm here to help you write a release notes entry. Please read the [guide on how to write release notes](https://github.com/sympy/sympy/wiki/Writing-Release-Notes).\n\n\n\nYour release notes are in good order.\n\nHere is what the release notes will look like:\n* matrices\n  - `banded` added to common as a helper to create a SparseMatrix ([#16452](https://github.com/sympy/sympy/pull/16452) by [@smichr](https://github.com/smichr))\n\nThis will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5.\n\nNote: This comment will be updated with the latest check if you edit the pull request. You need to reload the page to see it. <details><summary>Click here to see the pull request description that was parsed.</summary>\n\n    <!-- Your title above should be a short description of what\r\n    was changed. Do not include the issue number in the title. -->\r\n\r\n    #### References to other Issues or PRs\r\n    <!-- If this pull request fixes an issue, write \"Fixes #NNNN\" in that exact\r\n    format, e.g. \"Fixes #1234\". See\r\n    https://github.com/blog/1506-closing-issues-via-pull-requests . Please also\r\n    write a comment on that issue linking back to this pull request once it is\r\n    open. -->\r\n\r\n    closes #16180 as alternate\r\n    fixes #16178\r\n\r\n    #### Brief description of what is fixed or changed\r\n\r\n    A syntax is proposed whereby banded matrices can be created.\r\n\r\n    The input to `banded` is a dictionary containing keys for the diagonal to fill, and values containing information about what to put on the diagonal:\r\n\r\n    ```\r\n    {0: 1} - 1s on the main diagonal\r\n    {0: x, 1:1} - an upper Jordan-block matrix\r\n    {1: (1, 2, 3), -1: (4, 5, 6)} - 1, 2, 3 on the 1st diag above main and 4, 5, 6 on the diagonal below the main\r\n    ```\r\n    The values above can also be matrices/lists or single argument functions which calculate the value on the diagonal based on the displacement along the diagonal.\r\n\r\n    #### Other comments\r\n    This is not a class of matrix, it is just a help function for creating the matrix. The rational for this is that one should not need to instantiate a full matrix if only needing to define values down a few diagonals.\r\n\r\n    #### Release Notes\r\n\r\n    <!-- Write the release notes for this release below. See\r\n    https://github.com/sympy/sympy/wiki/Writing-Release-Notes for more information\r\n    on how to write release notes. The bot will check your release notes\r\n    automatically to see if they are formatted correctly. -->\r\n\r\n    <!-- BEGIN RELEASE NOTES -->\r\n    - matrices\r\n        - `banded` added to common as a helper to create a SparseMatrix\r\n    <!-- END RELEASE NOTES -->\r\n\n\n</details><p>\n"}}
{"actor":{"display_login":"sympy-bot"}}