pub fn normalized_hypergraph_laplacian<M>(
h: &Hypergraph<Value, Value, M>,
weighted: bool,
) -> Result<(Array2<f64>, Vec<String>), LinalgError>Expand description
Normalized hypergraph Laplacian
L = I − Dv^{-1/2}·Inc·W·De^{-1}·Incᵀ·Dv^{-1/2}.
XGI parity: xgi.normalized_hypergraph_laplacian(H, weighted)
(laplacian_matrix.py:187-254). Concrete over N = E = serde_json::Value
because weighted = true reads each edge’s "weight" attribute (default 1.0).
§Errors
LinalgError::IsolatedNodes if any node has degree 0 (division by zero).