Fiber is an elementary domain (hypercube/torus) spanningtorch.Tensor instances
Sheaf is a dictionary of domains spanning Field instances
Use Sheaf(adj) or Sheaf.sparse([N0, ... , Nd], [[i0, ..., id], [j0, ..., jd]]) to create a sheaf with keys represented by a sparse adjacency tensor adj.
Graph inherits from Sheaf, Graph[d] created by Sheaf.sparse
update domain, sheaf and fiber classes:
Fiber
is an elementary domain (hypercube/torus) spanningtorch.Tensor
instancesSheaf
is a dictionary of domains spanningField
instances UseSheaf(adj)
orSheaf.sparse([N0, ... , Nd], [[i0, ..., id], [j0, ..., jd]])
to create a sheaf with keys represented by a sparse adjacency tensoradj
.Graph
inherits fromSheaf
,Graph[d]
created bySheaf.sparse