smpl_parallel.parallel.par

smpl_parallel.parallel.par(f, *args, **kwargs)[source]

Parallel execution of f on each element of args and kwargs

Examples

>>> par(lambda x : x**2, range(0,5))
[0, 1, 4, 9, 16]