fossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 9 个月前identity theftlemmy.dbzer0.comimagemessage-square20linkfedilinkarrow-up1601arrow-down111
arrow-up1590arrow-down1imageidentity theftlemmy.dbzer0.comfossilesque@lemmy.dbzer0.comM to Science Memes@mander.xyzEnglish · 9 个月前message-square20linkfedilink
minus-squarefallingcatslinkfedilinkEnglisharrow-up4·9 个月前Wouldn’t you need to put anyMatrix first, since matrix multiplication isn’t commutative?
minus-squarefallingcatslinkfedilinkEnglisharrow-up2·edit-29 个月前No 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·9 个月前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.
minus-squareMBM@lemmings.worldlinkfedilinkEnglisharrow-up1·9 个月前Huh? 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