{"action":"created","issue":{"url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/14","labels_url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/14/comments","events_url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/14/events","html_url":"https://github.com/hiddentao/linear-algebra/pull/14","id":127103107,"number":14,"title":"support Matrix.reshape function","user":{"login":"yujiosaka","id":2261067,"avatar_url":"https://avatars.githubusercontent.com/u/2261067?v=3","gravatar_id":"","url":"https://api.github.com/users/yujiosaka","html_url":"https://github.com/yujiosaka","followers_url":"https://api.github.com/users/yujiosaka/followers","following_url":"https://api.github.com/users/yujiosaka/following{/other_user}","gists_url":"https://api.github.com/users/yujiosaka/gists{/gist_id}","starred_url":"https://api.github.com/users/yujiosaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujiosaka/subscriptions","organizations_url":"https://api.github.com/users/yujiosaka/orgs","repos_url":"https://api.github.com/users/yujiosaka/repos","events_url":"https://api.github.com/users/yujiosaka/events{/privacy}","received_events_url":"https://api.github.com/users/yujiosaka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-17T15:38:52Z","updated_at":"2016-01-20T16:55:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hiddentao/linear-algebra/pulls/14","html_url":"https://github.com/hiddentao/linear-algebra/pull/14","diff_url":"https://github.com/hiddentao/linear-algebra/pull/14.diff","patch_url":"https://github.com/hiddentao/linear-algebra/pull/14.patch"},"body":"close #13"},"comment":{"url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/comments/173270813","html_url":"https://github.com/hiddentao/linear-algebra/pull/14#issuecomment-173270813","issue_url":"https://api.github.com/repos/hiddentao/linear-algebra/issues/14","id":173270813,"user":{"login":"yujiosaka","id":2261067,"avatar_url":"https://avatars.githubusercontent.com/u/2261067?v=3","gravatar_id":"","url":"https://api.github.com/users/yujiosaka","html_url":"https://github.com/yujiosaka","followers_url":"https://api.github.com/users/yujiosaka/followers","following_url":"https://api.github.com/users/yujiosaka/following{/other_user}","gists_url":"https://api.github.com/users/yujiosaka/gists{/gist_id}","starred_url":"https://api.github.com/users/yujiosaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yujiosaka/subscriptions","organizations_url":"https://api.github.com/users/yujiosaka/orgs","repos_url":"https://api.github.com/users/yujiosaka/repos","events_url":"https://api.github.com/users/yujiosaka/events{/privacy}","received_events_url":"https://api.github.com/users/yujiosaka/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T16:55:04Z","updated_at":"2016-01-20T16:55:04Z","body":"@hiddentao \r\nIf it's on the `Vector` prototype, then it sounds a good idea to me.\r\nThe problem is that `Matrix` has two dimensions, so we don't know how how to reshape from it.\r\nFor example, we may reshape from rows to cols and vice versa.\r\n\r\nThis is why numpy.reshape only accepts array like object for it's argument,\r\neven though the library usually works with any dimensions."}}