Find indices of source and destination for each point-to-point flow
This works only for routing matrices that include all aggregate source and destination flows. It is often easier to build these indices manually via string processing or during the construction of the routing matrix.
routing matrix of dimension m x k. This should be the reduced-rank version including all aggregate source and destination flows.
list consisting of two component, src and dst, which are integer vectors of length k containing the index (in y = A x) of the source and destination flows that each point-to-point flow is part of.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.