{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/67121130","id":67121130,"diff_hunk":"@@ -161,9 +161,14 @@ end\n # identity matrices via eye(Diagonal{type},n)\n eye{T}(::Type{Diagonal{T}}, n::Int) = Diagonal(ones(T,n))\n \n-expm(D::Diagonal) = Diagonal(exp(D.diag))\n-logm(D::Diagonal) = Diagonal(log(D.diag))\n-sqrtm(D::Diagonal) = Diagonal(sqrt(D.diag))\n+# Matrix functions\n+^(D::Diagonal, p::Integer) = Diagonal((D.diag).^p)","path":"base/linalg/diagonal.jl","position":8,"original_position":8,"commit_id":"c50a9453248be42ca84ed25ffad17b287b4e9cfe","original_commit_id":"c50a9453248be42ca84ed25ffad17b287b4e9cfe","user":{"login":"alyst","id":348591,"avatar_url":"https://avatars.githubusercontent.com/u/348591?v=3","gravatar_id":"","url":"https://api.github.com/users/alyst","html_url":"https://github.com/alyst","followers_url":"https://api.github.com/users/alyst/followers","following_url":"https://api.github.com/users/alyst/following{/other_user}","gists_url":"https://api.github.com/users/alyst/gists{/gist_id}","starred_url":"https://api.github.com/users/alyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyst/subscriptions","organizations_url":"https://api.github.com/users/alyst/orgs","repos_url":"https://api.github.com/users/alyst/repos","events_url":"https://api.github.com/users/alyst/events{/privacy}","received_events_url":"https://api.github.com/users/alyst/received_events","type":"User","site_admin":false},"body":"`^(D::Diagonal, p::Integer)` method is not necessary since its code is identical to `p::Real` case.","created_at":"2016-06-15T08:41:00Z","updated_at":"2016-06-15T08:41:00Z","html_url":"https://github.com/JuliaLang/julia/pull/12584#discussion_r67121130","pull_request_url":"https://api.github.com/repos/JuliaLang/julia/pulls/12584","_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments/67121130"},"html":{"href":"https://github.com/JuliaLang/julia/pull/12584#discussion_r67121130"},"pull_request":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12584"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/12584","id":42231430,"html_url":"https://github.com/JuliaLang/julia/pull/12584","diff_url":"https://github.com/JuliaLang/julia/pull/12584.diff","patch_url":"https://github.com/JuliaLang/julia/pull/12584.patch","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/12584","number":12584,"state":"open","locked":false,"title":"WIP: Improve accuracy of ^ for ill-conditioned matrices","user":{"login":"mfasi","id":1710735,"avatar_url":"https://avatars.githubusercontent.com/u/1710735?v=3","gravatar_id":"","url":"https://api.github.com/users/mfasi","html_url":"https://github.com/mfasi","followers_url":"https://api.github.com/users/mfasi/followers","following_url":"https://api.github.com/users/mfasi/following{/other_user}","gists_url":"https://api.github.com/users/mfasi/gists{/gist_id}","starred_url":"https://api.github.com/users/mfasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfasi/subscriptions","organizations_url":"https://api.github.com/users/mfasi/orgs","repos_url":"https://api.github.com/users/mfasi/repos","events_url":"https://api.github.com/users/mfasi/events{/privacy}","received_events_url":"https://api.github.com/users/mfasi/received_events","type":"User","site_admin":false},"body":"Add the algorithm for `A^t` from Higham and Lin, 2013. See #5840.\r\n\r\nI split the old version of `logm` into several functions to reuse some of the code.","created_at":"2015-08-12T11:56:41Z","updated_at":"2016-06-15T08:41:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71a7045572076ea1fa4d74c4353ef008ad7e575b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaLang/julia/pulls/12584/commits","review_comments_url":"https://api.github.com/repos/JuliaLang/julia/pulls/12584/comments","review_comment_url":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/12584/comments","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/c50a9453248be42ca84ed25ffad17b287b4e9cfe","head":{"label":"mfasi:powm","ref":"powm","sha":"c50a9453248be42ca84ed25ffad17b287b4e9cfe","user":{"login":"mfasi","id":1710735,"avatar_url":"https://avatars.githubusercontent.com/u/1710735?v=3","gravatar_id":"","url":"https://api.github.com/users/mfasi","html_url":"https://github.com/mfasi","followers_url":"https://api.github.com/users/mfasi/followers","following_url":"https://api.github.com/users/mfasi/following{/other_user}","gists_url":"https://api.github.com/users/mfasi/gists{/gist_id}","starred_url":"https://api.github.com/users/mfasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfasi/subscriptions","organizations_url":"https://api.github.com/users/mfasi/orgs","repos_url":"https://api.github.com/users/mfasi/repos","events_url":"https://api.github.com/users/mfasi/events{/privacy}","received_events_url":"https://api.github.com/users/mfasi/received_events","type":"User","site_admin":false},"repo":{"id":34784874,"name":"julia","full_name":"mfasi/julia","owner":{"login":"mfasi","id":1710735,"avatar_url":"https://avatars.githubusercontent.com/u/1710735?v=3","gravatar_id":"","url":"https://api.github.com/users/mfasi","html_url":"https://github.com/mfasi","followers_url":"https://api.github.com/users/mfasi/followers","following_url":"https://api.github.com/users/mfasi/following{/other_user}","gists_url":"https://api.github.com/users/mfasi/gists{/gist_id}","starred_url":"https://api.github.com/users/mfasi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfasi/subscriptions","organizations_url":"https://api.github.com/users/mfasi/orgs","repos_url":"https://api.github.com/users/mfasi/repos","events_url":"https://api.github.com/users/mfasi/events{/privacy}","received_events_url":"https://api.github.com/users/mfasi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mfasi/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":true,"url":"https://api.github.com/repos/mfasi/julia","forks_url":"https://api.github.com/repos/mfasi/julia/forks","keys_url":"https://api.github.com/repos/mfasi/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mfasi/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mfasi/julia/teams","hooks_url":"https://api.github.com/repos/mfasi/julia/hooks","issue_events_url":"https://api.github.com/repos/mfasi/julia/issues/events{/number}","events_url":"https://api.github.com/repos/mfasi/julia/events","assignees_url":"https://api.github.com/repos/mfasi/julia/assignees{/user}","branches_url":"https://api.github.com/repos/mfasi/julia/branches{/branch}","tags_url":"https://api.github.com/repos/mfasi/julia/tags","blobs_url":"https://api.github.com/repos/mfasi/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mfasi/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mfasi/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mfasi/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mfasi/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/mfasi/julia/languages","stargazers_url":"https://api.github.com/repos/mfasi/julia/stargazers","contributors_url":"https://api.github.com/repos/mfasi/julia/contributors","subscribers_url":"https://api.github.com/repos/mfasi/julia/subscribers","subscription_url":"https://api.github.com/repos/mfasi/julia/subscription","commits_url":"https://api.github.com/repos/mfasi/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mfasi/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mfasi/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mfasi/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mfasi/julia/contents/{+path}","compare_url":"https://api.github.com/repos/mfasi/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mfasi/julia/merges","archive_url":"https://api.github.com/repos/mfasi/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mfasi/julia/downloads","issues_url":"https://api.github.com/repos/mfasi/julia/issues{/number}","pulls_url":"https://api.github.com/repos/mfasi/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/mfasi/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/mfasi/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mfasi/julia/labels{/name}","releases_url":"https://api.github.com/repos/mfasi/julia/releases{/id}","deployments_url":"https://api.github.com/repos/mfasi/julia/deployments","created_at":"2015-04-29T09:28:23Z","updated_at":"2016-01-28T23:49:03Z","pushed_at":"2016-05-01T09:28:02Z","git_url":"git://github.com/mfasi/julia.git","ssh_url":"git@github.com:mfasi/julia.git","clone_url":"https://github.com/mfasi/julia.git","svn_url":"https://github.com/mfasi/julia","homepage":"http://julialang.org/","size":98032,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"JuliaLang:master","ref":"master","sha":"b991db1fafa3f1f20b2b95426bb8544ff2a75a7c","user":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"repo":{"id":1644196,"name":"julia","full_name":"JuliaLang/julia","owner":{"login":"JuliaLang","id":743164,"avatar_url":"https://avatars.githubusercontent.com/u/743164?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaLang","html_url":"https://github.com/JuliaLang","followers_url":"https://api.github.com/users/JuliaLang/followers","following_url":"https://api.github.com/users/JuliaLang/following{/other_user}","gists_url":"https://api.github.com/users/JuliaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaLang/subscriptions","organizations_url":"https://api.github.com/users/JuliaLang/orgs","repos_url":"https://api.github.com/users/JuliaLang/repos","events_url":"https://api.github.com/users/JuliaLang/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaLang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaLang/julia","description":"The Julia Language: A fresh approach to technical computing.","fork":false,"url":"https://api.github.com/repos/JuliaLang/julia","forks_url":"https://api.github.com/repos/JuliaLang/julia/forks","keys_url":"https://api.github.com/repos/JuliaLang/julia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaLang/julia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaLang/julia/teams","hooks_url":"https://api.github.com/repos/JuliaLang/julia/hooks","issue_events_url":"https://api.github.com/repos/JuliaLang/julia/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaLang/julia/events","assignees_url":"https://api.github.com/repos/JuliaLang/julia/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaLang/julia/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaLang/julia/tags","blobs_url":"https://api.github.com/repos/JuliaLang/julia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaLang/julia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaLang/julia/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaLang/julia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaLang/julia/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaLang/julia/languages","stargazers_url":"https://api.github.com/repos/JuliaLang/julia/stargazers","contributors_url":"https://api.github.com/repos/JuliaLang/julia/contributors","subscribers_url":"https://api.github.com/repos/JuliaLang/julia/subscribers","subscription_url":"https://api.github.com/repos/JuliaLang/julia/subscription","commits_url":"https://api.github.com/repos/JuliaLang/julia/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaLang/julia/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaLang/julia/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaLang/julia/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaLang/julia/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaLang/julia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaLang/julia/merges","archive_url":"https://api.github.com/repos/JuliaLang/julia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaLang/julia/downloads","issues_url":"https://api.github.com/repos/JuliaLang/julia/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaLang/julia/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaLang/julia/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaLang/julia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaLang/julia/labels{/name}","releases_url":"https://api.github.com/repos/JuliaLang/julia/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaLang/julia/deployments","created_at":"2011-04-21T07:01:50Z","updated_at":"2016-06-14T21:48:50Z","pushed_at":"2016-06-15T06:26:15Z","git_url":"git://github.com/JuliaLang/julia.git","ssh_url":"git@github.com:JuliaLang/julia.git","clone_url":"https://github.com/JuliaLang/julia.git","svn_url":"https://github.com/JuliaLang/julia","homepage":"http://julialang.org/","size":394744,"stargazers_count":7137,"watchers_count":7137,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1646,"mirror_url":null,"open_issues_count":1815,"forks":1646,"open_issues":1815,"watchers":7137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12584"},"html":{"href":"https://github.com/JuliaLang/julia/pull/12584"},"issue":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/12584"},"comments":{"href":"https://api.github.com/repos/JuliaLang/julia/issues/12584/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12584/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaLang/julia/pulls/12584/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaLang/julia/statuses/c50a9453248be42ca84ed25ffad17b287b4e9cfe"}}}}
{"actor":{"display_login":"alyst"}}