Generalizing p-Laplacian: spectral hypergraph theory and a partitioning algorithm