Hi everyone,

I would like to learn how to work with parallel processing. I need fill a 
global "F" matrix of 100x100 with values of a function f(x,y). How can I do 
that in a 2 core computer?

I am thinking in to build a code similar to this:

$F = joint fill_F(1,50) with fill_F(51,100)   # how can I do this using 
parallel processing???

sub fill_F {  
   my ($xa,$xb) = @_;
   my $Faux = zeroes(50,100); 
   ------------------------------------------
   Here I fill $Faux with values for f(x,y) 
   by using
   x=[$xa...xb]
   y=[1..100]
   -------------------------------------------
   return $Faux
}
Thanks,
Denis
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to