Hi all, I'm looking for really clever (FAST) ways of creating an NxN sparse random boolean matrix that has the following properties:
* exactly k (k <= N) true values per row, and * no true values on the diagonal (mx[i,i]). Anyone have an ingenious way of creating something like this?
