Hi everybody,
I am trying to pass a function to the local memory space of the Parallel Assign function:
F = Function( {x,y}, x+y);
M = J(2,3,0);
Parallel Assign({F=F},M[i,j]=F(i,j));
M;It does not work because JMP tells me F has 2 parameters but 0 were given. How can I fix this?
Of course it is a boiled down problem of a much longer script. I could define F inside Parallel Assign, but it is unnecessary to define one and the same function in each of my n execution (n is large). Is there a way to hand over a function to Parallel Assign?