in reply to Re^4: Calculate log of matrix values
in thread Calculate log of matrix values
Setting the log to zero ...
I didn't suggest setting the log to zero. Or mention doing anything to the logs.
its log should be a negative number whose magnatude exceeds any of the other logs.
And if you set values that are 0(.00000) to 1e-308, then when their logs are taken, they become
say log(1e-308);; -709.196208642166
which fulfills your "negative number whose magnatude exceeds any of the other logs." in spades.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Calculate log of matrix values
by BillKSmith (Monsignor) on Aug 10, 2013 at 18:51 UTC |