• @neidu3@sh.itjust.works
    link
    fedilink
    English
    32
    edit-2
    1 day ago

    Could one of you scholars please explain the joke for us smoothbrains who don’t get it? All I see is a boolean matrix, and I’m not even sure that is correct.

    • @pseudo@jlai.lu
      link
      fedilink
      English
      12
      edit-2
      12 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
              18 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
          112 hours ago

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

    • @lugal@lemmy.dbzer0.com
      link
      fedilink
      English
      381 day ago

      It’s an identity matrix. You multiple a vector with it and the result is still the same (identical) vector