{"action":"created","comment":{"url":"https://api.github.com/repos/sympy/sympy/pulls/comments/86131916","pull_request_review_id":6804446,"id":86131916,"diff_hunk":"@@ -1415,6 +1417,55 @@ def _print_ZeroMatrix(self, Z):\n     def _print_Identity(self, I):\n         return r\"\\mathbb{I}\"\n \n+    def _print_NDimArray(self, expr):\n+\n+        mat_str = self._settings['mat_str']\n+        if mat_str is None:\n+            if self._settings['mode'] == 'inline':\n+                mat_str = 'smallmatrix'\n+            else:\n+                if (expr.rank() == 0) or ((expr.shape[-1] <= 10) == True):","path":"sympy/printing/latex.py","position":20,"original_position":20,"commit_id":"381398321c89944907c1d3fe7602a5936fcc210f","original_commit_id":"381398321c89944907c1d3fe7602a5936fcc210f","user":{"login":"Upabjojr","id":4128856,"avatar_url":"https://avatars.githubusercontent.com/u/4128856?v=3","gravatar_id":"","url":"https://api.github.com/users/Upabjojr","html_url":"https://github.com/Upabjojr","followers_url":"https://api.github.com/users/Upabjojr/followers","following_url":"https://api.github.com/users/Upabjojr/following{/other_user}","gists_url":"https://api.github.com/users/Upabjojr/gists{/gist_id}","starred_url":"https://api.github.com/users/Upabjojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Upabjojr/subscriptions","organizations_url":"https://api.github.com/users/Upabjojr/orgs","repos_url":"https://api.github.com/users/Upabjojr/repos","events_url":"https://api.github.com/users/Upabjojr/events{/privacy}","received_events_url":"https://api.github.com/users/Upabjojr/received_events","type":"User","site_admin":false},"body":"I don't think we will ever have symbolic shapes.","created_at":"2016-11-02T12:42:35Z","updated_at":"2016-11-02T12:42:35Z","html_url":"https://github.com/sympy/sympy/pull/11792#discussion_r86131916","pull_request_url":"https://api.github.com/repos/sympy/sympy/pulls/11792","_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments/86131916"},"html":{"href":"https://github.com/sympy/sympy/pull/11792#discussion_r86131916"},"pull_request":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11792"}}},"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/11792","id":91808685,"html_url":"https://github.com/sympy/sympy/pull/11792","diff_url":"https://github.com/sympy/sympy/pull/11792.diff","patch_url":"https://github.com/sympy/sympy/pull/11792.patch","issue_url":"https://api.github.com/repos/sympy/sympy/issues/11792","number":11792,"state":"open","locked":false,"title":"LaTeX printer for N-dim arrays","user":{"login":"Upabjojr","id":4128856,"avatar_url":"https://avatars.githubusercontent.com/u/4128856?v=3","gravatar_id":"","url":"https://api.github.com/users/Upabjojr","html_url":"https://github.com/Upabjojr","followers_url":"https://api.github.com/users/Upabjojr/followers","following_url":"https://api.github.com/users/Upabjojr/following{/other_user}","gists_url":"https://api.github.com/users/Upabjojr/gists{/gist_id}","starred_url":"https://api.github.com/users/Upabjojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Upabjojr/subscriptions","organizations_url":"https://api.github.com/users/Upabjojr/orgs","repos_url":"https://api.github.com/users/Upabjojr/repos","events_url":"https://api.github.com/users/Upabjojr/events{/privacy}","received_events_url":"https://api.github.com/users/Upabjojr/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-01T15:51:38Z","updated_at":"2016-11-02T12:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21c2b223c3e4b35cb2361459e202411c7da869a9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sympy/sympy/pulls/11792/commits","review_comments_url":"https://api.github.com/repos/sympy/sympy/pulls/11792/comments","review_comment_url":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/11792/comments","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/381398321c89944907c1d3fe7602a5936fcc210f","head":{"label":"Upabjojr:array_latex_printer","ref":"array_latex_printer","sha":"381398321c89944907c1d3fe7602a5936fcc210f","user":{"login":"Upabjojr","id":4128856,"avatar_url":"https://avatars.githubusercontent.com/u/4128856?v=3","gravatar_id":"","url":"https://api.github.com/users/Upabjojr","html_url":"https://github.com/Upabjojr","followers_url":"https://api.github.com/users/Upabjojr/followers","following_url":"https://api.github.com/users/Upabjojr/following{/other_user}","gists_url":"https://api.github.com/users/Upabjojr/gists{/gist_id}","starred_url":"https://api.github.com/users/Upabjojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Upabjojr/subscriptions","organizations_url":"https://api.github.com/users/Upabjojr/orgs","repos_url":"https://api.github.com/users/Upabjojr/repos","events_url":"https://api.github.com/users/Upabjojr/events{/privacy}","received_events_url":"https://api.github.com/users/Upabjojr/received_events","type":"User","site_admin":false},"repo":{"id":12523586,"name":"sympy","full_name":"Upabjojr/sympy","owner":{"login":"Upabjojr","id":4128856,"avatar_url":"https://avatars.githubusercontent.com/u/4128856?v=3","gravatar_id":"","url":"https://api.github.com/users/Upabjojr","html_url":"https://github.com/Upabjojr","followers_url":"https://api.github.com/users/Upabjojr/followers","following_url":"https://api.github.com/users/Upabjojr/following{/other_user}","gists_url":"https://api.github.com/users/Upabjojr/gists{/gist_id}","starred_url":"https://api.github.com/users/Upabjojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Upabjojr/subscriptions","organizations_url":"https://api.github.com/users/Upabjojr/orgs","repos_url":"https://api.github.com/users/Upabjojr/repos","events_url":"https://api.github.com/users/Upabjojr/events{/privacy}","received_events_url":"https://api.github.com/users/Upabjojr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Upabjojr/sympy","description":"A computer algebra system written in pure Python","fork":true,"url":"https://api.github.com/repos/Upabjojr/sympy","forks_url":"https://api.github.com/repos/Upabjojr/sympy/forks","keys_url":"https://api.github.com/repos/Upabjojr/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Upabjojr/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Upabjojr/sympy/teams","hooks_url":"https://api.github.com/repos/Upabjojr/sympy/hooks","issue_events_url":"https://api.github.com/repos/Upabjojr/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/Upabjojr/sympy/events","assignees_url":"https://api.github.com/repos/Upabjojr/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/Upabjojr/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/Upabjojr/sympy/tags","blobs_url":"https://api.github.com/repos/Upabjojr/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Upabjojr/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Upabjojr/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/Upabjojr/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Upabjojr/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/Upabjojr/sympy/languages","stargazers_url":"https://api.github.com/repos/Upabjojr/sympy/stargazers","contributors_url":"https://api.github.com/repos/Upabjojr/sympy/contributors","subscribers_url":"https://api.github.com/repos/Upabjojr/sympy/subscribers","subscription_url":"https://api.github.com/repos/Upabjojr/sympy/subscription","commits_url":"https://api.github.com/repos/Upabjojr/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/Upabjojr/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/Upabjojr/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/Upabjojr/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/Upabjojr/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/Upabjojr/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Upabjojr/sympy/merges","archive_url":"https://api.github.com/repos/Upabjojr/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Upabjojr/sympy/downloads","issues_url":"https://api.github.com/repos/Upabjojr/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/Upabjojr/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/Upabjojr/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/Upabjojr/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Upabjojr/sympy/labels{/name}","releases_url":"https://api.github.com/repos/Upabjojr/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/Upabjojr/sympy/deployments","created_at":"2013-09-01T16:48:26Z","updated_at":"2015-06-14T23:18:02Z","pushed_at":"2016-11-01T17:24:57Z","git_url":"git://github.com/Upabjojr/sympy.git","ssh_url":"git@github.com:Upabjojr/sympy.git","clone_url":"https://github.com/Upabjojr/sympy.git","svn_url":"https://github.com/Upabjojr/sympy","homepage":"http://sympy.org/","size":76523,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"sympy:master","ref":"master","sha":"5f49057ad6d7f0a29f74611535ae6495c4d97fa8","user":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"repo":{"id":640534,"name":"sympy","full_name":"sympy/sympy","owner":{"login":"sympy","id":260832,"avatar_url":"https://avatars.githubusercontent.com/u/260832?v=3","gravatar_id":"","url":"https://api.github.com/users/sympy","html_url":"https://github.com/sympy","followers_url":"https://api.github.com/users/sympy/followers","following_url":"https://api.github.com/users/sympy/following{/other_user}","gists_url":"https://api.github.com/users/sympy/gists{/gist_id}","starred_url":"https://api.github.com/users/sympy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sympy/subscriptions","organizations_url":"https://api.github.com/users/sympy/orgs","repos_url":"https://api.github.com/users/sympy/repos","events_url":"https://api.github.com/users/sympy/events{/privacy}","received_events_url":"https://api.github.com/users/sympy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sympy/sympy","description":"A computer algebra system written in pure Python","fork":false,"url":"https://api.github.com/repos/sympy/sympy","forks_url":"https://api.github.com/repos/sympy/sympy/forks","keys_url":"https://api.github.com/repos/sympy/sympy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sympy/sympy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sympy/sympy/teams","hooks_url":"https://api.github.com/repos/sympy/sympy/hooks","issue_events_url":"https://api.github.com/repos/sympy/sympy/issues/events{/number}","events_url":"https://api.github.com/repos/sympy/sympy/events","assignees_url":"https://api.github.com/repos/sympy/sympy/assignees{/user}","branches_url":"https://api.github.com/repos/sympy/sympy/branches{/branch}","tags_url":"https://api.github.com/repos/sympy/sympy/tags","blobs_url":"https://api.github.com/repos/sympy/sympy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sympy/sympy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sympy/sympy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sympy/sympy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sympy/sympy/statuses/{sha}","languages_url":"https://api.github.com/repos/sympy/sympy/languages","stargazers_url":"https://api.github.com/repos/sympy/sympy/stargazers","contributors_url":"https://api.github.com/repos/sympy/sympy/contributors","subscribers_url":"https://api.github.com/repos/sympy/sympy/subscribers","subscription_url":"https://api.github.com/repos/sympy/sympy/subscription","commits_url":"https://api.github.com/repos/sympy/sympy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sympy/sympy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sympy/sympy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sympy/sympy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sympy/sympy/contents/{+path}","compare_url":"https://api.github.com/repos/sympy/sympy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sympy/sympy/merges","archive_url":"https://api.github.com/repos/sympy/sympy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sympy/sympy/downloads","issues_url":"https://api.github.com/repos/sympy/sympy/issues{/number}","pulls_url":"https://api.github.com/repos/sympy/sympy/pulls{/number}","milestones_url":"https://api.github.com/repos/sympy/sympy/milestones{/number}","notifications_url":"https://api.github.com/repos/sympy/sympy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sympy/sympy/labels{/name}","releases_url":"https://api.github.com/repos/sympy/sympy/releases{/id}","deployments_url":"https://api.github.com/repos/sympy/sympy/deployments","created_at":"2010-04-30T20:37:14Z","updated_at":"2016-11-02T09:04:09Z","pushed_at":"2016-11-02T08:57:05Z","git_url":"git://github.com/sympy/sympy.git","ssh_url":"git@github.com:sympy/sympy.git","clone_url":"https://github.com/sympy/sympy.git","svn_url":"https://github.com/sympy/sympy","homepage":"http://sympy.org/","size":118717,"stargazers_count":3280,"watchers_count":3280,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1628,"mirror_url":null,"open_issues_count":2616,"forks":1628,"open_issues":2616,"watchers":3280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11792"},"html":{"href":"https://github.com/sympy/sympy/pull/11792"},"issue":{"href":"https://api.github.com/repos/sympy/sympy/issues/11792"},"comments":{"href":"https://api.github.com/repos/sympy/sympy/issues/11792/comments"},"review_comments":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11792/comments"},"review_comment":{"href":"https://api.github.com/repos/sympy/sympy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sympy/sympy/pulls/11792/commits"},"statuses":{"href":"https://api.github.com/repos/sympy/sympy/statuses/381398321c89944907c1d3fe7602a5936fcc210f"}}}}
{"actor":{"display_login":"Upabjojr"}}