{"action":"created","issue":{"url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/16","labels_url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/16/comments","events_url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/16/events","html_url":"https://github.com/davidavdav/NamedArrays.jl/issues/16","id":118158542,"number":16,"title":"Matrix multiplication","user":{"login":"cstjean","id":8622776,"avatar_url":"https://avatars.githubusercontent.com/u/8622776?v=3","gravatar_id":"","url":"https://api.github.com/users/cstjean","html_url":"https://github.com/cstjean","followers_url":"https://api.github.com/users/cstjean/followers","following_url":"https://api.github.com/users/cstjean/following{/other_user}","gists_url":"https://api.github.com/users/cstjean/gists{/gist_id}","starred_url":"https://api.github.com/users/cstjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cstjean/subscriptions","organizations_url":"https://api.github.com/users/cstjean/orgs","repos_url":"https://api.github.com/users/cstjean/repos","events_url":"https://api.github.com/users/cstjean/events{/privacy}","received_events_url":"https://api.github.com/users/cstjean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-21T01:07:06Z","updated_at":"2016-01-13T14:48:48Z","closed_at":null,"body":"I expected matrix multiplication to try to align matrices together before performing multiplication, but it doesn't. I wouldn't mind writing that code, if it's decided that it's the correct behavior.\r\n\r\n```julia\r\nx = NamedArray(Int[1 3; 2 4], ( [\"A\",\"B\"], [\"C\",\"D\"] ))\r\ny = NamedArray(Int[1 3; 2 4], ( [\"A\",\"B\"], [\"D\",\"C\"] ))  # flipped D and C\r\n\r\n> x * x   # I expected an error\r\nA \\ B C  D \r\nA     7  15\r\nB     10 22\r\n\r\n> x * x'  # this is correct\r\nA \\ A A  B \r\nA     10 14\r\nB     14 20\r\n\r\n> x * y'   # this isn't\r\nA \\ A A  B \r\nA     10 14\r\nB     14 20 \r\n```"},"comment":{"url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/comments/171315260","html_url":"https://github.com/davidavdav/NamedArrays.jl/issues/16#issuecomment-171315260","issue_url":"https://api.github.com/repos/davidavdav/NamedArrays.jl/issues/16","id":171315260,"user":{"login":"davidavdav","id":5497303,"avatar_url":"https://avatars.githubusercontent.com/u/5497303?v=3","gravatar_id":"","url":"https://api.github.com/users/davidavdav","html_url":"https://github.com/davidavdav","followers_url":"https://api.github.com/users/davidavdav/followers","following_url":"https://api.github.com/users/davidavdav/following{/other_user}","gists_url":"https://api.github.com/users/davidavdav/gists{/gist_id}","starred_url":"https://api.github.com/users/davidavdav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidavdav/subscriptions","organizations_url":"https://api.github.com/users/davidavdav/orgs","repos_url":"https://api.github.com/users/davidavdav/repos","events_url":"https://api.github.com/users/davidavdav/events{/privacy}","received_events_url":"https://api.github.com/users/davidavdav/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T14:48:48Z","updated_at":"2016-01-13T14:48:48Z","body":"Hi Milan, \r\n\r\nNo, I wasn't.  I did have an earlier version about tables from you checked out, but that was about a year ago.  It looks nice from the description.  Hope it will end up in JuliaStats. \r\n\r\nThanks, \r\n\r\n---david"}}