Guest User

Untitled

a guest
Feb 22nd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. bitsets = [ intbitset() for _ in range(matrix.shape[1]) ]
  2. for i,j in itertools.izip(matrix.row, matrix.col):
  3. bitsets[j].add(i)
Add Comment
Please, Sign In to add comment