\usepackage{amsmath} Then use the \substack command. \lim_{\substack{x\rightarrow 0\\y\rightarrow 0}} f(x,y)

copied from http://blog.32leaves.net/?p=262

Advertisements

Reply

\usepackage{amsmath} Then use the \substack command. \lim_{\substack{x\rightarrow 0\\y\rightarrow 0}} f(x,y)

copied from http://blog.32leaves.net/?p=262

Advertisements

from scipy import sparse from multiprocessing import Pool import multiprocessing import functools def myfunc(x,ns): A=ns.A return A[x,:]*A*A[:,x] manager = multiprocessing.Manager() Global = manager.Namespace() pool=Pool() Global.A=sparse.rand(10000,10000,0.5,'csr') myfunc2=functools.partial(myfunc,ns=Global) r=pool.map(myfunc2, range(100))