{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/comments/62848717","id":62848717,"diff_hunk":"@@ -666,3 +669,53 @@ function deriv{T<:Number}(a::Taylor1{T}, n::Int=1)\n     @assert a.order >= n >= 0\n     factorial( widen(n) ) * a.coeffs[n+1] :: T\n end\n+\n+\n+\"\"\"\n+    A_mul_B!(y, a, b)\n+\n+Multiply a*b and save the result in y.  Extends y to fit the results if necessary.\n+\"\"\"\n+function A_mul_B!{T<:Number}(y::Vector{Taylor1{T}},a::Matrix{T},b::Vector{Taylor1{T}})\n+\n+    # determine the maximal order of b\n+    order = maximum([b1.order for b1 in b])\n+\n+    n,k = size(a)\n+\n+    # extend y to fit all the coefficients and zero the","path":"src/Taylor1.jl","position":63,"original_position":63,"commit_id":"fb57faec61a237ac4cb27c54d3bac5fa9857fadf","original_commit_id":"eb53db7ce26edc3c22d84bbc9dfc7f8962c6b337","user":{"login":"pwl","id":72500,"avatar_url":"https://avatars.githubusercontent.com/u/72500?v=3","gravatar_id":"","url":"https://api.github.com/users/pwl","html_url":"https://github.com/pwl","followers_url":"https://api.github.com/users/pwl/followers","following_url":"https://api.github.com/users/pwl/following{/other_user}","gists_url":"https://api.github.com/users/pwl/gists{/gist_id}","starred_url":"https://api.github.com/users/pwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwl/subscriptions","organizations_url":"https://api.github.com/users/pwl/orgs","repos_url":"https://api.github.com/users/pwl/repos","events_url":"https://api.github.com/users/pwl/events{/privacy}","received_events_url":"https://api.github.com/users/pwl/received_events","type":"User","site_admin":false},"body":"I tried defining similar for `AbstractArray{Taylor1,N}`, but got into some trouble with ambiguity of the method.","created_at":"2016-05-11T13:38:30Z","updated_at":"2016-05-11T13:38:30Z","html_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48#discussion_r62848717","pull_request_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/comments/62848717"},"html":{"href":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48#discussion_r62848717"},"pull_request":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48","id":69486404,"html_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48","diff_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48.diff","patch_url":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48.patch","issue_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/48","number":48,"state":"open","locked":false,"title":"Added A_mul_B! and some small improvements","user":{"login":"pwl","id":72500,"avatar_url":"https://avatars.githubusercontent.com/u/72500?v=3","gravatar_id":"","url":"https://api.github.com/users/pwl","html_url":"https://github.com/pwl","followers_url":"https://api.github.com/users/pwl/followers","following_url":"https://api.github.com/users/pwl/following{/other_user}","gists_url":"https://api.github.com/users/pwl/gists{/gist_id}","starred_url":"https://api.github.com/users/pwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwl/subscriptions","organizations_url":"https://api.github.com/users/pwl/orgs","repos_url":"https://api.github.com/users/pwl/repos","events_url":"https://api.github.com/users/pwl/events{/privacy}","received_events_url":"https://api.github.com/users/pwl/received_events","type":"User","site_admin":false},"body":"This greatly improves the performance of multiplying `Vector{Taylor1{T}}` by `Matrix{T}`.  I have to admit that there is a small numerical error of the order `10*eps` when compared to the original `Base.A_mul_B!` but I can't quite locate the source of this inconsistency.  It only shows up for particular arguments, so tests pass most of the time.  Perhaps someone should take a closer look before merging this.  The tests are failing for that reason.","created_at":"2016-05-10T10:59:14Z","updated_at":"2016-05-11T13:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b22ea8e5cdc9d9700667def0505f4447f72060bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48/commits","review_comments_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48/comments","review_comment_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/48/comments","statuses_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/statuses/fb57faec61a237ac4cb27c54d3bac5fa9857fadf","head":{"label":"pwl:master","ref":"master","sha":"fb57faec61a237ac4cb27c54d3bac5fa9857fadf","user":{"login":"pwl","id":72500,"avatar_url":"https://avatars.githubusercontent.com/u/72500?v=3","gravatar_id":"","url":"https://api.github.com/users/pwl","html_url":"https://github.com/pwl","followers_url":"https://api.github.com/users/pwl/followers","following_url":"https://api.github.com/users/pwl/following{/other_user}","gists_url":"https://api.github.com/users/pwl/gists{/gist_id}","starred_url":"https://api.github.com/users/pwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwl/subscriptions","organizations_url":"https://api.github.com/users/pwl/orgs","repos_url":"https://api.github.com/users/pwl/repos","events_url":"https://api.github.com/users/pwl/events{/privacy}","received_events_url":"https://api.github.com/users/pwl/received_events","type":"User","site_admin":false},"repo":{"id":58452319,"name":"TaylorSeries.jl","full_name":"pwl/TaylorSeries.jl","owner":{"login":"pwl","id":72500,"avatar_url":"https://avatars.githubusercontent.com/u/72500?v=3","gravatar_id":"","url":"https://api.github.com/users/pwl","html_url":"https://github.com/pwl","followers_url":"https://api.github.com/users/pwl/followers","following_url":"https://api.github.com/users/pwl/following{/other_user}","gists_url":"https://api.github.com/users/pwl/gists{/gist_id}","starred_url":"https://api.github.com/users/pwl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwl/subscriptions","organizations_url":"https://api.github.com/users/pwl/orgs","repos_url":"https://api.github.com/users/pwl/repos","events_url":"https://api.github.com/users/pwl/events{/privacy}","received_events_url":"https://api.github.com/users/pwl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pwl/TaylorSeries.jl","description":"A julia package for Taylor expansions in one or more independent variables.","fork":true,"url":"https://api.github.com/repos/pwl/TaylorSeries.jl","forks_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/forks","keys_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/teams","hooks_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/hooks","issue_events_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/issues/events{/number}","events_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/events","assignees_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/assignees{/user}","branches_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/branches{/branch}","tags_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/tags","blobs_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/languages","stargazers_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/stargazers","contributors_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/contributors","subscribers_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/subscribers","subscription_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/subscription","commits_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/contents/{+path}","compare_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/merges","archive_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/downloads","issues_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/issues{/number}","pulls_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/labels{/name}","releases_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/releases{/id}","deployments_url":"https://api.github.com/repos/pwl/TaylorSeries.jl/deployments","created_at":"2016-05-10T10:32:15Z","updated_at":"2016-05-10T10:32:17Z","pushed_at":"2016-05-11T13:37:35Z","git_url":"git://github.com/pwl/TaylorSeries.jl.git","ssh_url":"git@github.com:pwl/TaylorSeries.jl.git","clone_url":"https://github.com/pwl/TaylorSeries.jl.git","svn_url":"https://github.com/pwl/TaylorSeries.jl","homepage":"","size":1525,"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":"JuliaDiff:master","ref":"master","sha":"0f628c749bb1860d3c5c4774c766a3ccec44f96e","user":{"login":"JuliaDiff","id":7750915,"avatar_url":"https://avatars.githubusercontent.com/u/7750915?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaDiff","html_url":"https://github.com/JuliaDiff","followers_url":"https://api.github.com/users/JuliaDiff/followers","following_url":"https://api.github.com/users/JuliaDiff/following{/other_user}","gists_url":"https://api.github.com/users/JuliaDiff/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaDiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaDiff/subscriptions","organizations_url":"https://api.github.com/users/JuliaDiff/orgs","repos_url":"https://api.github.com/users/JuliaDiff/repos","events_url":"https://api.github.com/users/JuliaDiff/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaDiff/received_events","type":"Organization","site_admin":false},"repo":{"id":17322687,"name":"TaylorSeries.jl","full_name":"JuliaDiff/TaylorSeries.jl","owner":{"login":"JuliaDiff","id":7750915,"avatar_url":"https://avatars.githubusercontent.com/u/7750915?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaDiff","html_url":"https://github.com/JuliaDiff","followers_url":"https://api.github.com/users/JuliaDiff/followers","following_url":"https://api.github.com/users/JuliaDiff/following{/other_user}","gists_url":"https://api.github.com/users/JuliaDiff/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaDiff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaDiff/subscriptions","organizations_url":"https://api.github.com/users/JuliaDiff/orgs","repos_url":"https://api.github.com/users/JuliaDiff/repos","events_url":"https://api.github.com/users/JuliaDiff/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaDiff/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaDiff/TaylorSeries.jl","description":"A julia package for Taylor expansions in one or more independent variables.","fork":false,"url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl","forks_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/forks","keys_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/teams","hooks_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/events","assignees_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/tags","blobs_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/subscription","commits_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/merges","archive_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/downloads","issues_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/deployments","created_at":"2014-03-01T19:43:17Z","updated_at":"2016-03-07T00:39:30Z","pushed_at":"2016-05-11T13:37:35Z","git_url":"git://github.com/JuliaDiff/TaylorSeries.jl.git","ssh_url":"git@github.com:JuliaDiff/TaylorSeries.jl.git","clone_url":"https://github.com/JuliaDiff/TaylorSeries.jl.git","svn_url":"https://github.com/JuliaDiff/TaylorSeries.jl","homepage":"","size":1539,"stargazers_count":7,"watchers_count":7,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":11,"mirror_url":null,"open_issues_count":8,"forks":11,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48"},"html":{"href":"https://github.com/JuliaDiff/TaylorSeries.jl/pull/48"},"issue":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/48"},"comments":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaDiff/TaylorSeries.jl/statuses/fb57faec61a237ac4cb27c54d3bac5fa9857fadf"}}}}