pub fn intersection_profile<N, E, M>(
h: &Hypergraph<N, E, M>,
order: Option<usize>,
) -> (Array2<f64>, Vec<String>)Expand description
Intersection profile P = Iᵀ·I (edges × edges). P[a,b] is the number of
nodes shared by edges a and b; the diagonal is each edge’s size.
XGI parity: xgi.intersection_profile(H, order)
(hypergraph_matrix.py:207-233). Row ids are edge ids.