Huh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions
Comment on identity theft
fallingcats@discuss.tchncs.de 4 weeks agoWouldn’t you need to put anyMatrix
first, since matrix multiplication isn’t commutative?
MBM@lemmings.world 4 weeks ago
pseudo@jlai.lu 4 weeks ago
You are right. I will correct it.
fallingcats@discuss.tchncs.de 4 weeks 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 4 weeks 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.