Huh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions
Comment on identity theft
fallingcats@discuss.tchncs.de 1 day agoWouldn’t you need to put anyMatrix
first, since matrix multiplication isn’t commutative?
MBM@lemmings.world 1 day ago
pseudo@jlai.lu 1 day ago
You are right. I will correct it.
fallingcats@discuss.tchncs.de 1 day ago
No I just tried it and I was wrong, it seems like it doesn’t matter for the I’d matrix specifically
pseudo@jlai.lu 1 day ago
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.