Private Internals
MatchingMarkets._randperm!
— MethodGiven a vector a
of length n, generate a random permutation of length n and store it in a
.
MatchingMarkets._randperm2d!
— MethodGiven an m x n matrix a
, generate n random permutations of length m and store them in columns of a
.