# Tetration Forum

Full Version: Which method is currently "the best"?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there, I'm a reader of this forum.
I've also tried to make some tetration code but currently failed.

Can some of You please point me to currently "the best" algorithm for tetration available?

By "the best" I mean algorithm which can handle most bases (both base and rank should be complex numbers)

Also if possible point me to some underlying math explaination....?

I rally want to understand how current methods works - I've tried several time - but possibly my math skills are too weak.

I also want to rewrite it in some wide available language like C or C++ etc.
I will of course publish C/C++ code if I manage to translate it.
(11/12/2013, 03:13 PM)MorgothV8 Wrote: [ -> ]Hi there, I'm a reader of this forum.
I've also tried to make some tetration code but currently failed.

Can some of You please point me to currently "the best" algorithm for tetration available?
This algorithm handles a large range of real bases, greater than $\exp(1/e)$ to around b=100,000. For each base, it can generate sexp(z) for z anywhere in the complex plane. http://math.eretrandre.org/tetrationforu...hp?tid=486

Quote:By "the best" I mean algorithm which can handle most bases (both base and rank should be complex numbers)
I have a version of the program for complex bases, but it is still experimental, and handles a fairly small range of bases. I would recommend the real base version linked to above, instead, but here is the link to the tetcomplex program. http://math.eretrandre.org/tetrationforu...hp?tid=729 One consequence of studying how tetration works for complex bases, is that there is no one correct routine for real bases<$\exp(1/e)$, and that regular iteration from the fixed point is probably more meaningful than a Kneser style Riemann mapping for real bases<$\exp(1/e)$.
Quote:Also if possible point me to some underlying math explaination....?
Here are two links to look at: http://math.eretrandre.org/tetrationforu...hp?tid=487, especially this picture: http://math.eretrandre.org/tetrationforu...e=threaded and also take a look at this post for the connection between Kneser's solution and my algorithm.
http://math.eretrandre.org/tetrationforu...hp?tid=700

Quote:I also want to rewrite it in some wide available language like C or C++ etc.
I will of course publish C/C++ code if I manage to translate it.
Go for it. Please give me credit if you do so, and put a link on this forum. There are some other analytic solution methods that work quite well. Mike reports good results with Kouznetsov's method for both real and complex bases. Additionally, Mike is working on some new methods right now. There is Andrew Robbins's slog method, which Jay Daniels was able to get working reasonably well, with some acceleration techniques. The nice thing about my method is it has theoretical connections with Kneser's proven Riemann mapping solution, and it is more computationally efficient than Kouznetsov's method or Andrew's method.
- Sheldon Levenstein
Thanks, I will take a look when I have some free time.
Currently this is very limited resorce - full time work as a software developer, only weekends free - and there is wife, children ....
But.... I just keeping returing to tetration topic for may years ... this is very interesting for me.