• theblueredditrefugee@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    42
    arrow-down
    1
    ·
    4 months ago

    The difference between a matrix and a 2d array of numbers is the operations that are performed

    A tensor really isn’t standardized in the same way so it’s basically just an n-d array in my mind

  • marcos@lemmy.world
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    3
    ·
    4 months ago

    How you describe a thing is different from what a thing is… A tensor is not a matrix.

    And on mathematics, “what a thing is” is a completely useless concept… So, it makes no difference whatsoever.

    • affiliate@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      4 months ago

      the “categorical” way of defining tensor products is essentially “that thing that lets you turn multi-linear maps into linear maps”, and linear maps (of finite dimensional vector spaces) are basically matrices anyways. so i don’t see it as much of a stretch to say tensors are matrices.

      (can you tell that i never took a physics class?)

    • affiliate@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      a tensor is a multi-linear map V × … × V × V* × … × V* → F, and a multi-linear map V × … × V × V* × … × V* → F is the same as a linear map V ⊗ … ⊗ V ⊗ V* ⊗ … ⊗ V* → F. and a linear map is ““the same thing as”” a matrix. so in this way, you can associate matrices to tensors. (but the matrices are formed in the tensor space V ⊗ … ⊗ V ⊗ V* ⊗ … ⊗ V*, not in the vector space V.)