pub fn num_vertices<T, S>(matrix: &S) -> usizewhere T: Float + Debug + Copy + 'static, S: SparseArray<T>,
Get the number of vertices in a graph matrix