in reply to Re: print arrays a(i), b(i,j) c(i,j)
in thread print arrays a(i), b(i,j) c(i,j)
How would I put a loop for the other array index( ie: 0, 1, 2,...,for my $j (0 .. $#energy_bin) { printf "%.5f %.5e %.5f %.5e %.5f\n", $energy_bin[$j], $spec_cps[$j][0], $sigma_cps[$j][0], $spec_cps[$j][1], $sigma_cps[$j][1]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: print arrays a(i), b(i,j) c(i,j)
by GrandFather (Saint) on Feb 13, 2006 at 20:20 UTC |