• @pseudo@jlai.lu
    link
    fedilink
    English
    12
    edit-2
    15 hours ago

    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.

          • @pseudo@jlai.lu
            link
            fedilink
            English
            111 hours 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.

      • @MBM@lemmings.world
        link
        fedilink
        English
        115 hours ago

        Huh? Identity times anyMatrix is also anyMatrix. The matrix just has to have the right dimensions