|
|
Rune wrote:
>
> "John VanSickle" wrote:
> > If you don't know the function, how do you evaluate it at X?
>
> I ask somebody to do it, then he tells me the result. Or rather, my
> code asks another part of my code to evaluate it at X the other part
> returns the result.
>
> As you probably have guessed, the function is too complex to find the
> inverse of mathematically, so I have to use approximation. And I
> simply asked for a fast way to do that.
The only way that will be much faster is Newton's method, which
involves taking the first-order derivative of the function. If that
is too complicated, then the divide-and-conquer approach is as fast as
you are going to get.
Regards,
John
--
ICQ: 46085459
Post a reply to this message
|
|