10/05/2007, 03:57 AM
I want to see the results of the function, how fast it runs, etc., but I can't code. jaydfox definitely has working code; can someone post some here?
Complete SAGE code for tetration

10/05/2007, 03:57 AM
I want to see the results of the function, how fast it runs, etc., but I can't code. jaydfox definitely has working code; can someone post some here?
eyu100 Wrote:I want to see the results of the function, how fast it runs, etc., but I can't code. jaydfox definitely has working code; can someone post some here? Of which function? We have 4 approaches to tetration. (Unfortunately I only have Maple code. Jay and Andrew are the Sage masters here ) Btw. welcome on the tetration forum!
10/07/2007, 04:22 PM
I can post some code that solves Andrew's slog with my "acceleration" code that I've described. The code is fairly short, but it isn't entirely automated yet, so there are certain steps that I manually run, manually summing partial sums along the way. This is mainly due to the inability to free memory in SAGE (or if there is such a way, I haven't found it). So I have to calculate partial results, save them to disk, and reload for the next set of partial results.
I also have code for my other approach with the change of base formula, but it's also fairly manual for the most part. I haven't abandoned it, because I still consider it an interesting line of work, but I'm much more interested in the slog solution at the moment.
~ Jay Daniel Fox
For studying tetration in general, I think the best place to start is with base eta, which can be solved using a continuous iteration of . Andrew has already posted functional SAGE code for this. I know I had to make a few additions to it, but it wasn't much, so let me know if you need help getting it to work with high precision (you should be able to get decently fast results with hundreds of digits of precision).
For a more complex (no pun intended) solution, consider the case of base e, which I'm confident will serve as a template for all bases greater then eta. I'm nearly finished putting together a library for my accelerated version of Andrew's slog for base e. I think it'll be the most helpful solution for anyone wanting to study tetration as a newbie, especially complex tetration. Whether you're wanting to study complex tetration or realvalued tetration, Andrew's slog (and its inverse) seems to have several very wonderful properties that make it a strong contender for "the" solution, at least for base e. I'm hoping to have the code ready to post within the next couple days. I'm automating steps I had been doing by hand, so hopefully this will be helpful for others as well.
~ Jay Daniel Fox
10/18/2007, 03:55 AM
I've posted some source code here:
http://math.eretrandre.org/tetrationforu...php?tid=74 It's a bit unpolished, but I've tried to make it fairly painless. Future versions will fully automate (hopefully) the process.
~ Jay Daniel Fox

« Next Oldest  Next Newest »

Possibly Related Threads...  
Thread  Author  Replies  Views  Last Post  
C++ code for tet, ate and hexp  MorgothV8  0  4,356 
07/10/2014, 04:24 PM Last Post: MorgothV8 

"Kneser"/Riemann mapping method code for *complex* bases  mike3  2  9,316 
08/15/2011, 03:14 PM Last Post: Gottfried 

Sage Question?  rsgerard  1  5,626 
05/09/2010, 11:40 AM Last Post: bo198214 

Singleexp series computation code  mike3  0  4,013 
04/20/2010, 08:59 PM Last Post: mike3 

SAGE code for computing flow matrix for exp(z)1  jaydfox  4  12,186 
08/21/2009, 05:32 PM Last Post: jaydfox 

How to free memory in SAGE?  jaydfox  2  7,586 
12/21/2007, 06:38 PM Last Post: andydude 

SAGE code implementing slog with acceleration  jaydfox  4  10,057 
10/22/2007, 12:59 AM Last Post: jaydfox 

How to force precision in SAGE?  jaydfox  2  7,338 
08/18/2007, 11:08 PM Last Post: jaydfox 