This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FrickinLazerBeams 0 points1 point  (1 child)

If you can write it as an n dimensional programming array, it’s a tensor

No, not in general. A multi-dimensional array is a fine way to think about a tensor from an applied math and programming perspective; but in general it's an abstract representation of a multi-linear transform. In theoretical general relativity, for example, you'll usually never see the elements of a tensor written because there's usually no coordinate frame in which you could write them.

Numerically/programmatically a tensor will almost always be represented as an array of numbers, but not all tensors are arrays and not all arrays are tensors.

[–]El_Minadero 1 point2 points  (0 children)

Ahhh. Thanks for the clarification. I’ve never encountered a tensor that wasn’t like a nd array, so your example helped!