Hi All,
In continuation to my earlier mail I am putting my code here for generating
the two dimensional array
foreach $k (0 ..$n_fac-1) {
for ($i=1;$i<=$N;$i++) {
$x[$k][$i] = $low[$k] + ($high[$k] - $low[$k])* $random[$i];
}
}
I
> Hi All,
> I have a two dimensional array built like this $x[$i][$j]
inside two for loops. I would like to know how can I randomize the
elements of this array?
>
Which array, the inner or outer?
perldoc -q 'shuffle an array randomly'
http://danconia.org
--
To unsubscribe, e-mail: [