$lnpam[$i][$j] = log $matrix[$i][$j] if $matrix[$i][$j];
The resulting matrix would have undefined values in the corresponding places.
In reply to Re: Calculate log of matrix values
by choroba
in thread Calculate log of matrix values
by madM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |