• socsa@piefed.social
    link
    fedilink
    English
    arrow-up
    33
    ·
    edit-2
    9 days ago

    Excuse me, but a tensor is actually a blob of numbers which extends the concept of a matrix to a generic sequence and stride data structure.

  • dohpaz42@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    9 days ago

    Can you all keep it down! You’re mathing too loudly for this time of night. Some of us have to get up early(ish).

  • purplemonkeymad@programming.dev
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 days ago

    But a grid can just be a number with a list of numbers. A tensor is just two numbers with a list of numbers. A n-tensor is just two lists of numbers. Two lists can be combined with a number to indicate when they split. If we put that number at the start of the list, then we just have a list.

    Everything is just a list of numbers.

  • Dadifer@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 days ago

    A tensor is a special box of numbers that doesn’t change under coordinate transformation.

    • exocortex@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 days ago

      Isn’t a tensor the generalization of scalar, vector matrix and so on? (PLUS the invariance under coordinate transforms?)

      A box would be 3-dimensional indicating that tensors have 3 indices when in reality they have n-indices. Ir am i reading it wrong?

    • Kogasa@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      8 days ago

      Which is really a roundabout way of saying a tensor is a multilinear relationship between arbitrary products of vectors and covectors. They’re inherently geometric objects that don’t depend on a choice of coordinate system. The box of numbers is just one way of looking at a tensor, like a matrix is to a linear transformation on a vector space

    • Eq0@literature.cafe
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 days ago

      Where does this definition come from?

      All the geometric definitions of tensors I have met always assumed a base, such that a change of coordinate or of parametrization would change the values of the tensor. Unless you define the tensor by its action instead of its values?

      • Dadifer@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        9 days ago

        Tensors are defined independent of any basis, although they are often referred to by their components in a basis related to a particular coordinate system; those components form an array, which can be thought of as a high-dimensional matrix.

      • CompassRed@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        8 days ago

        That’s exactly correct. It’s similar to how a vector in R^2 is just an arrow with a magnitude and a direction. When you represent that arrow in different bases, the arrow itself isn’t changing, just the list of numbers you use to represent them. Likewise, tensors do not change when you change bases, but their representations as n dimensional grids of numbers do change.

  • affiliate@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    9 days ago

    a tensor is just an element of a tensor product. and a tensor product is just a way to multiply algebraic structures

      • OpenStars@piefed.social
        link
        fedilink
        English
        arrow-up
        5
        ·
        10 days ago

        You lost me at vectors not having to be linear. You can apply nonlinear functions or operations to vectors, but doing so transforms them into a different, non-linear context, afaik. We might be using different definitions of some of these terms, especially “linear”.

        • Eq0@literature.cafe
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 days ago

          Also, but that is because math likes to reuse names like Donald Duck reuses his jacket…

        • NoneOfUrBusiness@fedia.io
          link
          fedilink
          arrow-up
          2
          ·
          9 days ago

          You just used “tensor” to define “tensor,” but also any list of number formulated as an n-dimensional matrix will satisfy this criterion. A tensor is both a linear transformation and an n-dimensional box-shaped list of numbers, but there’s nothing such as a linear list of numbers.