hatvis.representations.degree_tensor# hatvis.representations.degree_tensor(H)[source]# Diagonal degree tensor \(\mathcal{D}\) (d_i on the super-diagonal) of a uniform hypergraph.