Module vec

Source

Structs§

VecArray
A newtype wrapper for Vec<T> allowing pointwise arithmetic operations.
VecKind
Arrays backed by a Vec<T>.

Functions§

connected_components
Find connected components of a graph stored as a pair of arrays of nodes, interpreted as a list of edges sources[i] → targets[i]
to_dense
compress a sparse mapping into a set [0..A) into a surjective mapping into a set [0..num_components)