{"action":"created","issue":{"url":"https://api.github.com/repos/cbm755/octsympy/issues/542","repository_url":"https://api.github.com/repos/cbm755/octsympy","labels_url":"https://api.github.com/repos/cbm755/octsympy/issues/542/labels{/name}","comments_url":"https://api.github.com/repos/cbm755/octsympy/issues/542/comments","events_url":"https://api.github.com/repos/cbm755/octsympy/issues/542/events","html_url":"https://github.com/cbm755/octsympy/issues/542","id":175282084,"number":542,"title":"Propose New Type Interval","user":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-06T15:46:39Z","updated_at":"2016-09-06T16:41:12Z","closed_at":null,"body":"Hi, well thinking again, actually when we add functions to sets we are doing bigger and bigger the files while the type of data are completely differents, so i propose make a new type, actually we have ```@symfun```, ```@sym``` and some ```@logical``` and ```@double``` functions, so do a ```@interval``` to call the functions.\r\n\r\nI think with this will be easier to work.\r\n\r\nThis start when i was checking the changes of this pr https://github.com/cbm755/octsympy/pull/328 and your comment:\r\n```\r\nLots of questions now that we have sets! Here is special treatment for isempty. What about\r\nnumel, and size and length and... and ...\r\n```\r\n\r\nEdited: set its already a function, so now is interval.\r\n\r\nThx. Cya."},"comment":{"url":"https://api.github.com/repos/cbm755/octsympy/issues/comments/245011583","html_url":"https://github.com/cbm755/octsympy/issues/542#issuecomment-245011583","issue_url":"https://api.github.com/repos/cbm755/octsympy/issues/542","id":245011583,"user":{"login":"latot","id":10523095,"avatar_url":"https://avatars.githubusercontent.com/u/10523095?v=3","gravatar_id":"","url":"https://api.github.com/users/latot","html_url":"https://github.com/latot","followers_url":"https://api.github.com/users/latot/followers","following_url":"https://api.github.com/users/latot/following{/other_user}","gists_url":"https://api.github.com/users/latot/gists{/gist_id}","starred_url":"https://api.github.com/users/latot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latot/subscriptions","organizations_url":"https://api.github.com/users/latot/orgs","repos_url":"https://api.github.com/users/latot/repos","events_url":"https://api.github.com/users/latot/events{/privacy}","received_events_url":"https://api.github.com/users/latot/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T16:41:12Z","updated_at":"2016-09-06T16:41:12Z","body":"A little question D:\r\ni have problems with classes, like my firsts steps in this, i make a new folder, ```@interval``` then i put the interval file there, with this little changes:\r\n```\r\nfunction I = interval(varargin)\r\n  if (nargin < 2 || nargin > 4)\r\n    print_usage();\r\n  end\r\n  varargin = sym(varargin);\r\n  I = python_cmd ('return Interval(*_ins),', varargin{:});\r\n  I = class(I, 'interval');\r\nend\r\n```\r\nand now trying to execute this:\r\n```\r\n>> c=interval(1, 9)\r\nc = <class interval>\r\n>> c=interval(1, sym(9))\r\nc = (sym) [1, 9]\r\n```\r\nThis is weird!\r\nThe interval function use sym(varargin) so shouldn't be a difference but it only works when it have at least a sym (interval of ```@sym``` not exist).\r\nWhat do you think?\r\n\r\nThx."}}
{"actor":{"display_login":"latot"}}