{"action":"created","issue":{"url":"https://api.github.com/repos/mljs/matrix/issues/9","labels_url":"https://api.github.com/repos/mljs/matrix/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/mljs/matrix/issues/9/comments","events_url":"https://api.github.com/repos/mljs/matrix/issues/9/events","html_url":"https://github.com/mljs/matrix/issues/9","id":104337418,"number":9,"title":"eye and diag","user":{"login":"andcastillo","id":3810292,"avatar_url":"https://avatars.githubusercontent.com/u/3810292?v=3","gravatar_id":"","url":"https://api.github.com/users/andcastillo","html_url":"https://github.com/andcastillo","followers_url":"https://api.github.com/users/andcastillo/followers","following_url":"https://api.github.com/users/andcastillo/following{/other_user}","gists_url":"https://api.github.com/users/andcastillo/gists{/gist_id}","starred_url":"https://api.github.com/users/andcastillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andcastillo/subscriptions","organizations_url":"https://api.github.com/users/andcastillo/orgs","repos_url":"https://api.github.com/users/andcastillo/repos","events_url":"https://api.github.com/users/andcastillo/events{/privacy}","received_events_url":"https://api.github.com/users/andcastillo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"targos","id":2352663,"avatar_url":"https://avatars.githubusercontent.com/u/2352663?v=3","gravatar_id":"","url":"https://api.github.com/users/targos","html_url":"https://github.com/targos","followers_url":"https://api.github.com/users/targos/followers","following_url":"https://api.github.com/users/targos/following{/other_user}","gists_url":"https://api.github.com/users/targos/gists{/gist_id}","starred_url":"https://api.github.com/users/targos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/targos/subscriptions","organizations_url":"https://api.github.com/users/targos/orgs","repos_url":"https://api.github.com/users/targos/repos","events_url":"https://api.github.com/users/targos/events{/privacy}","received_events_url":"https://api.github.com/users/targos/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mljs/matrix/milestones/1","html_url":"https://github.com/mljs/matrix/milestones/1.0.0","labels_url":"https://api.github.com/repos/mljs/matrix/milestones/1/labels","id":1263951,"number":1,"title":"1.0.0","description":"","creator":{"login":"targos","id":2352663,"avatar_url":"https://avatars.githubusercontent.com/u/2352663?v=3","gravatar_id":"","url":"https://api.github.com/users/targos","html_url":"https://github.com/targos","followers_url":"https://api.github.com/users/targos/followers","following_url":"https://api.github.com/users/targos/following{/other_user}","gists_url":"https://api.github.com/users/targos/gists{/gist_id}","starred_url":"https://api.github.com/users/targos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/targos/subscriptions","organizations_url":"https://api.github.com/users/targos/orgs","repos_url":"https://api.github.com/users/targos/repos","events_url":"https://api.github.com/users/targos/events{/privacy}","received_events_url":"https://api.github.com/users/targos/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-08-20T06:59:15Z","updated_at":"2015-09-04T10:17:58Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-09-01T19:30:52Z","updated_at":"2015-09-04T10:17:58Z","closed_at":"2015-09-04T10:17:58Z","body":"I think eye and diag functions should be compatible with the Matlab versions, which are not necessary for square matrices.  \r\nB = eye(3,4)\r\nB =\r\n     1     0     0     0\r\n     0     1     0     0\r\n     0     0     1     0\r\ndiag(B)\r\nans =\r\n     1\r\n     1\r\n     1\r\nC =  diag(diag(B))\r\nC =\r\n     1     0     0\r\n     0     1     0\r\n     0     0     1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mljs/matrix/issues/comments/137696715","html_url":"https://github.com/mljs/matrix/issues/9#issuecomment-137696715","issue_url":"https://api.github.com/repos/mljs/matrix/issues/9","id":137696715,"user":{"login":"targos","id":2352663,"avatar_url":"https://avatars.githubusercontent.com/u/2352663?v=3","gravatar_id":"","url":"https://api.github.com/users/targos","html_url":"https://github.com/targos","followers_url":"https://api.github.com/users/targos/followers","following_url":"https://api.github.com/users/targos/following{/other_user}","gists_url":"https://api.github.com/users/targos/gists{/gist_id}","starred_url":"https://api.github.com/users/targos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/targos/subscriptions","organizations_url":"https://api.github.com/users/targos/orgs","repos_url":"https://api.github.com/users/targos/repos","events_url":"https://api.github.com/users/targos/events{/privacy}","received_events_url":"https://api.github.com/users/targos/received_events","type":"User","site_admin":false},"created_at":"2015-09-04T10:17:58Z","updated_at":"2015-09-04T10:17:58Z","body":"fixed on master"}}