thanks a lot for the quick answer!LINE: for (my $i=0; $i<20; $i++){ for (my $j=0; $j<20; $j++){ if ($matrix[$i][$j] =~ /[^0.00]/){ $lnpam[$i][$j] = log $matrix[$i][$j]; }else{ next LINE; } } }
In reply to Re^2: Calculate log of matrix values
by madM
in thread Calculate log of matrix values
by madM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |