SAGE code implementing slog with acceleration
#3
Another important note: the base algorithm here, though simple at heart, needs to be attributed to Andrew Robbins. There's been talk that perhaps someone else devised the basic algorithm earlier, and either didn't publish it, or published it in a different form, or only described it, or whatever. But for now, I continue to call it "Andrew Robbin's slog".

It's a clever approach, because I had independently tried my hand at solving a system of equations for tetration (base e) directly, and it involved nonlinear equations that became damned hard to solve beyond about 12 coefficients. This was probably fine for getting within about 0.1% accuracy (I'm actually curious to go back and check), but that's about it.

Andrew's approach of solving the slog, amazingly enough, yields a system of linear equations, trivial to solve on today's hardware with free math libraries.

The only potential difficulty is that it takes a very large system (thousands of rows and columns) to get even marginal accuracy (i.e., better than double precision). I've devised the acceleration technique independently, though who knows if I'm the first. The acceleration technique eeks out significantly more precision with a small increase in computations (fairly insignificant, in fact, for systems larger than 500x500). So I consider this source code a "collaborative effort" of sorts. Hats off to Andrew!
~ Jay Daniel Fox
Reply


Messages In This Thread
RE: SAGE code implementing slog with acceleration - by jaydfox - 10/18/2007, 06:02 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PARI/GP code to approximate Kneser tetration(base e) without using schroder/abel RaeesHarris 1 897 07/28/2026, 05:36 AM
Last Post: RaeesHarris
  Code to calculate tetration using my method Shanghai46 10 17,991 12/17/2024, 01:02 PM
Last Post: MorgothV8
  Terse Schroeder & Abel function code Daniel 1 4,798 10/16/2022, 07:03 AM
Last Post: Daniel
  Revisting my accelerated slog solution using Abel matrix inversion jaydfox 22 76,215 05/16/2021, 11:51 AM
Last Post: Gottfried
  C++ code for tet, ate and hexp MorgothV8 0 8,387 07/10/2014, 04:24 PM
Last Post: MorgothV8
  "Kneser"/Riemann mapping method code for *complex* bases mike3 2 17,755 08/15/2011, 03:14 PM
Last Post: Gottfried
  A note on computation of the slog Gottfried 6 28,448 07/12/2010, 10:24 AM
Last Post: Gottfried
  Improving convergence of Andrew's slog jaydfox 19 72,734 07/02/2010, 06:59 AM
Last Post: bo198214
  Sage Question? rsgerard 1 10,279 05/09/2010, 11:40 AM
Last Post: bo198214
  Single-exp series computation code mike3 0 7,768 04/20/2010, 08:59 PM
Last Post: mike3



Users browsing this thread: 1 Guest(s)