Hacker News new | ask | show | jobs
by michelpp 835 days ago
Which can all be represented with Incidence Matrices:

https://en.wikipedia.org/wiki/Incidence_matrix

1 comments

A (set) relation with N tuples is isomorphic to a N-dimensional boolean tensor. The mapping is to interpret each tuple as a coordinate in the tensor, and set the entry in that tensor to 1.