| 1 | initial version |
Try something like this
@parallel
def worker(m):
return condition(m)
n = 3
M = MatrixSpace(Integers(n),n)
L = [a[0] for (a,_),c in worker(iter(M)) if c]
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.