{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/14566","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/14566/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/14566/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/14566/events","html_url":"https://github.com/sympy/sympy/issues/14566","id":308977338,"number":14566,"title":"[Discussion] on the API of BigUnion and BigIntersection","user":{"login":"Yathartha22","id":14955840,"avatar_url":"https://avatars1.githubusercontent.com/u/14955840?v=4","gravatar_id":"","url":"https://api.github.com/users/Yathartha22","html_url":"https://github.com/Yathartha22","followers_url":"https://api.github.com/users/Yathartha22/followers","following_url":"https://api.github.com/users/Yathartha22/following{/other_user}","gists_url":"https://api.github.com/users/Yathartha22/gists{/gist_id}","starred_url":"https://api.github.com/users/Yathartha22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yathartha22/subscriptions","organizations_url":"https://api.github.com/users/Yathartha22/orgs","repos_url":"https://api.github.com/users/Yathartha22/repos","events_url":"https://api.github.com/users/Yathartha22/events{/privacy}","received_events_url":"https://api.github.com/users/Yathartha22/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-03-27T13:49:32Z","updated_at":"2018-03-31T10:40:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a discussion rather than issue. The purpose of the issue is to discuss on the API of BigUnion and BigIntersection. How will it look like, what all functions it will override. The idea was proposed in #9815 also few discussion with @asmeurer [here](https://groups.google.com/d/msg/sympy/sLT7goRueSM/gKIfdo3mAgAJ) suggested that having it would be feasible, but not sure on the API.\r\n\r\nFew things to be worked on:\r\n\r\n- I have tried implementing using [IndexSet](https://github.com/sympy/sympy/issues/9815#issuecomment-373950077), but not sure whether it is a good idea.\r\n\r\n- What will be coverage of BigUnion, where it will come in handy for use.\r\n\r\n- BigUnion of FiniteSets will be same as `union`, but U [2*n, 2*n + 1] could be something as BigUnion(Interval(2*n, 2*n + 1), n, Integers)[is there any another way to represent?]. [Also not sure of doing something similar with Imagesets]\r\n\r\n@jksuom "},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/377683871","html_url":"https://github.com/sympy/sympy/issues/14566#issuecomment-377683871","issue_url":"https://api.github.com/repos/sympy/sympy/issues/14566","id":377683871,"user":{"login":"jksuom","id":6929119,"avatar_url":"https://avatars3.githubusercontent.com/u/6929119?v=4","gravatar_id":"","url":"https://api.github.com/users/jksuom","html_url":"https://github.com/jksuom","followers_url":"https://api.github.com/users/jksuom/followers","following_url":"https://api.github.com/users/jksuom/following{/other_user}","gists_url":"https://api.github.com/users/jksuom/gists{/gist_id}","starred_url":"https://api.github.com/users/jksuom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jksuom/subscriptions","organizations_url":"https://api.github.com/users/jksuom/orgs","repos_url":"https://api.github.com/users/jksuom/repos","events_url":"https://api.github.com/users/jksuom/events{/privacy}","received_events_url":"https://api.github.com/users/jksuom/received_events","type":"User","site_admin":false},"created_at":"2018-03-31T10:40:39Z","updated_at":"2018-03-31T10:40:39Z","author_association":"MEMBER","body":"This `__new__(cls, *sets)` will work only when the number of `sets` is finite. This cannot be the API.\r\n\r\nI think that the interface should consist of a triple `A, i, I` where `i` is a symbol, `I` is a set and `A` is a set or set expression (possibly) depending on `i` (at least as long as sets of sets have not been implemented). "}}
{"actor":{"display_login":"jksuom"}}