
8 Oct
2006
8 Oct
'06
3:12 p.m.
Janek Kozicki wrote:
Please note that it's the function shape that is important, not its exact vaules at any point. So if you know a 'faster' function that has similar shape and has a first derivative I'd like to know about it too!
Oh. I guess if x is small, then you could use a truncated tailor series, and either evaluate it as a polynomial, or maybe even just as: 1/(2 - x + x*x) but other than that, I'd be surprised if there's anything much faster than exp()? John.