fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 8 months agoidentity theftlemmy.dbzer0.comimagemessage-square20fedilinkarrow-up1601arrow-down111
arrow-up1590arrow-down1imageidentity theftlemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 8 months agomessage-square20fedilink
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up5·8 months agoWouldn’t you need to put anyMatrix first, since matrix multiplication isn’t commutative?
minus-squarefallingcats@discuss.tchncs.delinkfedilinkEnglisharrow-up2·edit-28 months 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·8 months 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·8 months agoHuh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions
Wouldn’t you need to put
anyMatrixfirst, 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