News for hackers. Stuff that matters.
Re:Ask HN: Concepts that clicked only years after you first ... by darawk on Sunday January 01, 2023 @04:51PM (#34211371)
Tensors. Years ago, I would read the Wikipedia page about them every so often, and completely fail to understand what they were.

Then one day I was modeling something in a spreadsheet, and I thought to myself "you know, what I really need here, is 3rd axis to this spreadsheet". And for a few minutes, I thought I had invented a new form of spreadsheet/structure, and was considering trying to build a 3d spreadsheet program.

But, of course, suddenly everything I'd read about tensors and not understood before snapped into place, and I realized that this is exactly what they are (to be precise, this is a special case of a tensor, the contemplation of which caused me to understand what the general case is, and why e.g. a scalar is a rank 0 tensor, a vector is rank 1, a matrix is rank 2 my 3d spreadsheet idea is rank 3, etc).

Re:Ask HN: Concepts that clicked only years after you first ... by ninthcat on Sunday January 01, 2023 @05:06PM (#34211523)
It sounds like you are describing a multidimensional array, which can be used to represent a tensor, but is not conceptually the same thing. A tensor is an element of a tensor product.