Implementing Sparse Matrices for Graph Algorithms
... sparse matrix indexing, we use the convenient Matlab colon notation, where A(:, i)
denotes the ith column, A(i, :) denotes the ith row, and A(i, j) denotes the element
at the (i, j)th position of matrix A. For one-dimensional arrays, a(i) denotes the
ith component of the array. Indices are 1-based t ...