{"action":"created","comment":{"url":"https://api.github.com/repos/cbm755/octsympy/pulls/comments/78968020","id":78968020,"diff_hunk":"@@ -0,0 +1,119 @@\n+%% Copyright (C) 2003 Willem J. Atsma\n+%% Copyright (C) 2014-2016 Colin B. Macdonald\n+%% Copyright (C) 2016 Lagu\n+%%\n+%% This program is free software; you can redistribute it and/or\n+%% modify it under the terms of the GNU General Public\n+%% License as published by the Free Software Foundation;\n+%% either version 3, or (at your option) any later version.\n+%%\n+%% This software is distributed in the hope that it will be useful,\n+%% but WITHOUT ANY WARRANTY; without even the implied\n+%% warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\n+%% PURPOSE.  See the GNU General Public License for more\n+%% details.\n+%%\n+%% You should have received a copy of the GNU General Public\n+%% License along with this software; see the file COPYING.  If not,\n+%% see <http://www.gnu.org/licenses/>.\n+\n+%% -*- texinfo -*-\n+%% @documentencoding UTF-8\n+%% @deftypemethod  @@sym sym2polysane (@var{p})\n+%% @deftypemethodx @@sym sym2polysane (@var{p}, @var{x})\n+%% Return vector of coefficients of a symbolic polynomial.\n+%%\n+%% In the two-input form, the second argument @var{x} specifies the free\n+%% variable; in this case this function returns a row vector @var{c} of\n+%% symbolic expressions. The coefficients correspond to decreasing exponent\n+%% of the free variable.  Example:\n+%% @example\n+%% @group\n+%% syms x y\n+%% sym2polysane(2*x^2 + 3*x - pi, x)\n+%%    @result{} (sym) [2  3  -π]  (1×3 matrix)\n+%% sym2polysane(x^2 + y*x, x)\n+%%    @result{} (sym) [1  y  0]  (1×3 matrix)\n+%% sym2polysane(pi*x^2 + 3*x/2 + exp(sym(1)))\n+%%    @result{} (sym) [π  3/2  ℯ]  (1×3 matrix)\n+%% @end group\n+%% @end example\n+%%\n+%% If @var{p} is not a polynomial the result has no warranty.  SymPy can\n+%% certainly deal with more general concepts of polynomial but we do not\n+%% yet expose all of that here.\n+%%\n+%% @seealso{sym2poly, poly2sym, polyval, roots}\n+%% @end deftypemethod\n+\n+%% Created: 18 April 2003\n+%% Changed: 25 April 2003\n+%%    Removed the use of differentiate to get to coefficients - round-off\n+%%     errors cause problems. Now using newly created sumterms().\n+%% Changed: 6 May 2003\n+%%    Removed the attempt to use ldegree(), degree() and coeff() - results\n+%%     with these are inconsistent.\n+%% Changed: 16 April 2014\n+%%    Used the comment header and tests in OctSymPy, but rewrote\n+%%    the body (by Colin Macdonald).","path":"inst/@sym/sym2polysane.m","position":58,"original_position":58,"commit_id":"c830132973d21fb6d95f94ec61b6857f3737b8c0","original_commit_id":"c830132973d21fb6d95f94ec61b6857f3737b8c0","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},"body":"Can i remove the history?","created_at":"2016-09-15T13:52:09Z","updated_at":"2016-09-15T13:52:09Z","html_url":"https://github.com/cbm755/octsympy/pull/543#discussion_r78968020","pull_request_url":"https://api.github.com/repos/cbm755/octsympy/pulls/543","_links":{"self":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/comments/78968020"},"html":{"href":"https://github.com/cbm755/octsympy/pull/543#discussion_r78968020"},"pull_request":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/543"}}},"pull_request":{"url":"https://api.github.com/repos/cbm755/octsympy/pulls/543","id":84161180,"html_url":"https://github.com/cbm755/octsympy/pull/543","diff_url":"https://github.com/cbm755/octsympy/pull/543.diff","patch_url":"https://github.com/cbm755/octsympy/pull/543.patch","issue_url":"https://api.github.com/repos/cbm755/octsympy/issues/543","number":543,"state":"open","locked":false,"title":"we work with syms, don't transform to doubles!!","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},"body":"Cleaning!","created_at":"2016-09-06T17:14:54Z","updated_at":"2016-09-15T13:52:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdf32b443751f00a6b231366d4b950e11475127e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cbm755/octsympy/pulls/543/commits","review_comments_url":"https://api.github.com/repos/cbm755/octsympy/pulls/543/comments","review_comment_url":"https://api.github.com/repos/cbm755/octsympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbm755/octsympy/issues/543/comments","statuses_url":"https://api.github.com/repos/cbm755/octsympy/statuses/c830132973d21fb6d95f94ec61b6857f3737b8c0","head":{"label":"latot:fix_sym2poly","ref":"fix_sym2poly","sha":"c830132973d21fb6d95f94ec61b6857f3737b8c0","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},"repo":{"id":48159914,"name":"octsympy","full_name":"latot/octsympy","owner":{"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},"private":false,"html_url":"https://github.com/latot/octsympy","description":"A Symbolic Package for Octave using SymPy","fork":true,"url":"https://api.github.com/repos/latot/octsympy","forks_url":"https://api.github.com/repos/latot/octsympy/forks","keys_url":"https://api.github.com/repos/latot/octsympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/latot/octsympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/latot/octsympy/teams","hooks_url":"https://api.github.com/repos/latot/octsympy/hooks","issue_events_url":"https://api.github.com/repos/latot/octsympy/issues/events{/number}","events_url":"https://api.github.com/repos/latot/octsympy/events","assignees_url":"https://api.github.com/repos/latot/octsympy/assignees{/user}","branches_url":"https://api.github.com/repos/latot/octsympy/branches{/branch}","tags_url":"https://api.github.com/repos/latot/octsympy/tags","blobs_url":"https://api.github.com/repos/latot/octsympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/latot/octsympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/latot/octsympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/latot/octsympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/latot/octsympy/statuses/{sha}","languages_url":"https://api.github.com/repos/latot/octsympy/languages","stargazers_url":"https://api.github.com/repos/latot/octsympy/stargazers","contributors_url":"https://api.github.com/repos/latot/octsympy/contributors","subscribers_url":"https://api.github.com/repos/latot/octsympy/subscribers","subscription_url":"https://api.github.com/repos/latot/octsympy/subscription","commits_url":"https://api.github.com/repos/latot/octsympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/latot/octsympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/latot/octsympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/latot/octsympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/latot/octsympy/contents/{+path}","compare_url":"https://api.github.com/repos/latot/octsympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/latot/octsympy/merges","archive_url":"https://api.github.com/repos/latot/octsympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/latot/octsympy/downloads","issues_url":"https://api.github.com/repos/latot/octsympy/issues{/number}","pulls_url":"https://api.github.com/repos/latot/octsympy/pulls{/number}","milestones_url":"https://api.github.com/repos/latot/octsympy/milestones{/number}","notifications_url":"https://api.github.com/repos/latot/octsympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/latot/octsympy/labels{/name}","releases_url":"https://api.github.com/repos/latot/octsympy/releases{/id}","deployments_url":"https://api.github.com/repos/latot/octsympy/deployments","created_at":"2015-12-17T07:41:40Z","updated_at":"2016-01-11T23:53:03Z","pushed_at":"2016-09-15T13:41:01Z","git_url":"git://github.com/latot/octsympy.git","ssh_url":"git@github.com:latot/octsympy.git","clone_url":"https://github.com/latot/octsympy.git","svn_url":"https://github.com/latot/octsympy","homepage":"","size":3028,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cbm755:master","ref":"master","sha":"1c624750d4c8cb084e63b237559e718192487819","user":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"repo":{"id":18641463,"name":"octsympy","full_name":"cbm755/octsympy","owner":{"login":"cbm755","id":818622,"avatar_url":"https://avatars.githubusercontent.com/u/818622?v=3","gravatar_id":"","url":"https://api.github.com/users/cbm755","html_url":"https://github.com/cbm755","followers_url":"https://api.github.com/users/cbm755/followers","following_url":"https://api.github.com/users/cbm755/following{/other_user}","gists_url":"https://api.github.com/users/cbm755/gists{/gist_id}","starred_url":"https://api.github.com/users/cbm755/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbm755/subscriptions","organizations_url":"https://api.github.com/users/cbm755/orgs","repos_url":"https://api.github.com/users/cbm755/repos","events_url":"https://api.github.com/users/cbm755/events{/privacy}","received_events_url":"https://api.github.com/users/cbm755/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbm755/octsympy","description":"A Symbolic Package for Octave using SymPy","fork":false,"url":"https://api.github.com/repos/cbm755/octsympy","forks_url":"https://api.github.com/repos/cbm755/octsympy/forks","keys_url":"https://api.github.com/repos/cbm755/octsympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbm755/octsympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbm755/octsympy/teams","hooks_url":"https://api.github.com/repos/cbm755/octsympy/hooks","issue_events_url":"https://api.github.com/repos/cbm755/octsympy/issues/events{/number}","events_url":"https://api.github.com/repos/cbm755/octsympy/events","assignees_url":"https://api.github.com/repos/cbm755/octsympy/assignees{/user}","branches_url":"https://api.github.com/repos/cbm755/octsympy/branches{/branch}","tags_url":"https://api.github.com/repos/cbm755/octsympy/tags","blobs_url":"https://api.github.com/repos/cbm755/octsympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbm755/octsympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbm755/octsympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbm755/octsympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbm755/octsympy/statuses/{sha}","languages_url":"https://api.github.com/repos/cbm755/octsympy/languages","stargazers_url":"https://api.github.com/repos/cbm755/octsympy/stargazers","contributors_url":"https://api.github.com/repos/cbm755/octsympy/contributors","subscribers_url":"https://api.github.com/repos/cbm755/octsympy/subscribers","subscription_url":"https://api.github.com/repos/cbm755/octsympy/subscription","commits_url":"https://api.github.com/repos/cbm755/octsympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbm755/octsympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbm755/octsympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbm755/octsympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbm755/octsympy/contents/{+path}","compare_url":"https://api.github.com/repos/cbm755/octsympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbm755/octsympy/merges","archive_url":"https://api.github.com/repos/cbm755/octsympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbm755/octsympy/downloads","issues_url":"https://api.github.com/repos/cbm755/octsympy/issues{/number}","pulls_url":"https://api.github.com/repos/cbm755/octsympy/pulls{/number}","milestones_url":"https://api.github.com/repos/cbm755/octsympy/milestones{/number}","notifications_url":"https://api.github.com/repos/cbm755/octsympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbm755/octsympy/labels{/name}","releases_url":"https://api.github.com/repos/cbm755/octsympy/releases{/id}","deployments_url":"https://api.github.com/repos/cbm755/octsympy/deployments","created_at":"2014-04-10T15:25:39Z","updated_at":"2016-09-02T03:50:24Z","pushed_at":"2016-09-15T13:41:05Z","git_url":"git://github.com/cbm755/octsympy.git","ssh_url":"git@github.com:cbm755/octsympy.git","clone_url":"https://github.com/cbm755/octsympy.git","svn_url":"https://github.com/cbm755/octsympy","homepage":"","size":3167,"stargazers_count":22,"watchers_count":22,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":82,"forks":12,"open_issues":82,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/543"},"html":{"href":"https://github.com/cbm755/octsympy/pull/543"},"issue":{"href":"https://api.github.com/repos/cbm755/octsympy/issues/543"},"comments":{"href":"https://api.github.com/repos/cbm755/octsympy/issues/543/comments"},"review_comments":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/543/comments"},"review_comment":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbm755/octsympy/pulls/543/commits"},"statuses":{"href":"https://api.github.com/repos/cbm755/octsympy/statuses/c830132973d21fb6d95f94ec61b6857f3737b8c0"}}}}
{"actor":{"display_login":"latot"}}