fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 2 days agoidentity theftlemmy.dbzer0.comimagemessage-square20fedilinkarrow-up1570arrow-down110
arrow-up1560arrow-down1imageidentity theftlemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 2 days agomessage-square20fedilink
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up4·20 hours agoWouldn’t you need to put anyMatrix first, since matrix multiplication isn’t commutative?
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up1·edit-212 hours agoNo I just tried it and I was wrong, it seems like it doesn’t matter for the ID matrix specifically
minus-squarepseudolinkfedilinkEnglisharrow-up1·15 hours 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·19 hours 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