Skip to main content

write_incidence_matrix

Function write_incidence_matrix 

Source
pub fn write_incidence_matrix(
    h: &Hypergraph,
    path: &Path,
    delimiter: char,
) -> Result<(), ReadWriteError>
Available on crate feature readwrite only.
Expand description

Write the dense incidence matrix: rows = nodes (node-id order), cols = edges (edge-id order), cell = 1 if the node is a member. XGI write_incidence_matrix.