First time here? Check out the FAQ!
answered 2023-04-13 02:58:41 +0100
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]