pub fn num_edges<T, S>(matrix: &S, directed: bool) -> SparseResult<usize>
Expand description
Get the number of edges in a graph matrix
pub fn num_edges<T, S>(matrix: &S, directed: bool) -> SparseResult<usize>
Get the number of edges in a graph matrix