in reply to Re: Calculate log of matrix values
in thread Calculate log of matrix values
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; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Calculate log of matrix values
by SuicideJunkie (Vicar) on Aug 09, 2013 at 15:04 UTC | |
by madM (Beadle) on Aug 10, 2013 at 10:33 UTC |