Hacker News new | ask | show | jobs
by physicsgraph 834 days ago
The original blob post [0] referenced hypergraphs and other more complicated structures like property graphs.

[0] https://news.ycombinator.com/item?id=39592444

1 comments

Which can all be represented with Incidence Matrices:

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

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.