• 0 Vote(s) - 0 Average
• 1
• 2
• 3
• 4
• 5
 Complete SAGE code for tetration eyu100 Newbie Posts: 1 Threads: 1 Joined: Oct 2007 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? bo198214 Administrator Posts: 1,389 Threads: 90 Joined: Aug 2007 10/05/2007, 10:27 AM (This post was last modified: 10/05/2007, 10:28 AM by bo198214.) 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! jaydfox Long Time Fellow Posts: 440 Threads: 31 Joined: Aug 2007 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 jaydfox Long Time Fellow Posts: 440 Threads: 31 Joined: Aug 2007 10/17/2007, 06:45 AM (This post was last modified: 10/17/2007, 06:46 AM by jaydfox.) 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 $f(z)=e^z-1$. 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 real-valued 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 jaydfox Long Time Fellow Posts: 440 Threads: 31 Joined: Aug 2007 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 3,015 07/10/2014, 04:24 PM Last Post: MorgothV8 "Kneser"/Riemann mapping method code for *complex* bases mike3 2 6,733 08/15/2011, 03:14 PM Last Post: Gottfried Sage Question? rsgerard 1 4,033 05/09/2010, 11:40 AM Last Post: bo198214 Single-exp series computation code mike3 0 2,965 04/20/2010, 08:59 PM Last Post: mike3 SAGE code for computing flow matrix for exp(z)-1 jaydfox 4 8,401 08/21/2009, 05:32 PM Last Post: jaydfox How to free memory in SAGE? jaydfox 2 5,539 12/21/2007, 06:38 PM Last Post: andydude SAGE code implementing slog with acceleration jaydfox 4 7,217 10/22/2007, 12:59 AM Last Post: jaydfox How to force precision in SAGE? jaydfox 2 5,294 08/18/2007, 11:08 PM Last Post: jaydfox

Users browsing this thread: 1 Guest(s)