That matrix of zeros with one in diagonal is called the matrix of identity.
It is famous because when doing multiplication on matrix or vector, it acts likes 1 on “normal” number:
x times 1 is x
anyMatrix times Identity is anyMatrix.
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.
That matrix of zeros with one in diagonal is called the matrix of identity.
It is famous because when doing multiplication on matrix or vector, it acts likes 1 on “normal” number:
x times 1 is x anyMatrix times Identity is anyMatrix.
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