in reply to Re: A better way of lookup?
in thread A better way of lookup?
$lookup = exp( -2.276 + 0.997 * log( $v ) );
That's a pretty good fit(*) -- a lot closer than I got -- but, this is intended to replace the Mysterious Function, and on balance, I think those constants make it even more mysterious.
I'm not particularly happy with my mysterious lookup table either, but every other attempt I've had screws up the results to a greater or lesser extent, whereas this works. I just need to come up with some documentation to explain it. (Not easy!).
(* However, I would be very interested to know how you derived that equation?)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A better way of lookup?
by hdb (Monsignor) on Apr 26, 2015 at 13:43 UTC |