Show HN: Hottbox – Higher-Order Tensors Toolbox
github.com
github.com
The group where I did my PhD was a Numerical Relativity group and I now work in Machine Learning, so I can appreciate where you’re coming from.
However, a Tensor has a very precise mathematical meaning, and has done for centuries (dating back to at least Voigt, and arguably as far as Gauss). Even in machine learning, people recognise that they are abusing the term tensor by restricting its use to Tensors expressed in the canonical orthogonal basis of E^n.
I really think we should be discouraging this debasement of our mathematical terminology. It’s just not helpful at all.
Furthermore, if 1-D Arrays are called vectors, and 2-D Arrays are called Matrices and 3-D (or higher) Arrays are called Tensors, does that not automatically mean that every Tensor is higher order? ...
The distinction is important because thinking about the way you have presented leads to confusion about what tensors are...
In context we often refer to scalars, vectors,matrices as order/rank 0,1,2 tensors (higher order tensors don’t have the same sort of common shorthand). This works fine when you have the context of the underlying vector space, and nderstand the “rules”. Physicists do this a lot, and they often love shortcuts :)
However, there is a growing use/abuse of the terminology (see machine learning) to just mean n-dimensional arrays. The analogy is drawn that a matrix is a 2d version but you can have 3D, 4d, etc. While it’s true that a NxN matrix can represent a tensor (given the context as previously) that misses most of the structure... as such, it’s an unfortunate use of the name.