fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 5 days agoidentity theftlemmy.dbzer0.comimagemessage-square19fedilinkarrow-up1569arrow-down111
arrow-up1558arrow-down1imageidentity theftlemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 5 days agomessage-square19fedilink
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up4·4 days agoWouldn’t you need to put anyMatrix first, since matrix multiplication isn’t commutative?
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up1·edit-23 days agoNo I just tried it and I was wrong, it seems like it doesn’t matter for the ID matrix specifically
minus-squarepseudo@jlai.lulinkfedilinkEnglisharrow-up1·3 days agoI need to freshen up on my linear algebra. I don’t remember on which sense it goes but I think if you swap the factors, you’ll have to you transpose the matrix x to keep the same result.
minus-squareMBM@lemmings.worldlinkfedilinkEnglisharrow-up1·4 days agoHuh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions
Wouldn’t you need to put
anyMatrix
first, since matrix multiplication isn’t commutative?You are right. I will correct it.
No I just tried it and I was wrong, it seems like it doesn’t matter for the ID matrix specifically
I need to freshen up on my linear algebra. I don’t remember on which sense it goes but I think if you swap the factors, you’ll have to you transpose the matrix x to keep the same result.
Huh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions