num_edges

Function num_edges 

Source
pub fn num_edges<T, S>(matrix: &S, directed: bool) -> SparseResult<usize>
where T: Float + Debug + Copy + 'static, S: SparseArray<T>,
Expand description

Get the number of edges in a graph matrix