These are chat archives for elemental/chat

23rd
Feb 2018
Alex Gittens
@alexgittens
Feb 23 2018 20:39
Another question: I want to apply an arbitrary permutation to the rows of a DistMatrix. It seems this is done with the DistPermutation class, and I must explicitly factorize the permutation into a product of transpositions, then use the DistPermutation.swap function to update the permutation, then use DistPermutation.permuteRows. Is that accurate, or is there a way to avoid manually factorizing the transposition?
Also, is there some sort of communication optimization done on the swaps before the permutation is applied, or do I have to be careful because all the swaps are done as I entered them?