![]() |
|
Revisting my accelerated slog solution using Abel matrix inversion - Printable Version +- Tetration Forum (https://tetrationforum.org) +-- Forum: Tetration and Related Topics (https://tetrationforum.org/forumdisplay.php?fid=1) +--- Forum: Computation (https://tetrationforum.org/forumdisplay.php?fid=8) +--- Thread: Revisting my accelerated slog solution using Abel matrix inversion (/showthread.php?tid=1203) |
RE: Revisting my accelerated slog solution using Abel matrix inversion - jaydfox - 02/08/2019 (01/30/2019, 05:27 PM)jaydfox Wrote: I've been trying to figure out on my own how to eliminate those coefficients for terms with negative exponents, and my progress has been frustratingly slow. I was re-reading your post more carefully, and I see you already have found a way. I will definitely take the time to understand this, because it seems to be key to solving the Riemann mapping numerically. ... It's been a while, so I wanted to post an update on my progress. It's actually rather embarrassing. I had been struggling to find a way to calculate the required Fourier series ("theta" function as Sheldon calls it), so that I could eliminate the terms with the negative exponents in the Riemann mapping of my slog. (I actually struggled with this a few years ago as well, before I lost all my code.) I had the ah-ha! moment a few days ago. And this is the embarrassing part. Because it's the same problem I originally ran into, when trying to calculate a Taylor series for the super-exponential function (sexp). The problem is non-linear, such that increasing the system size becomes more and more difficult to solve numerically, even with an iterative solver. The simple solution to that problem was to solve the inverse of the sexp function, as Andrew Robbins demonstrated. The solution to the slog is a linear problem, meaning it can be solved with linear algebra, i.e., matrix math. I have been trying to solve the problem of directly calculating the coefficients of the Riemann mapping, which maps the unit disk to the Kneser region bounded by the transform of the real line. This is a non-linear problem, because the theta function has to be applied to the input of the jsexp function. The solution is to solve the inverse operation, mapping the regular slog to the jslog. In this situation, the theta function is applied to the output of the jslog, which is linear. Hence, eliminating the coefficients from this mapping is a problem suited to matrix math. When Sheldon was describing the solution, I was still thinking in the wrong space, which is why I wasn't able to understand. I was still working on the Kneser space, i.e., exp(2*pi*i*jslog(z)). I should have been working with jslog(z)-rslog(z), or some similar form. That was my first ah-ha moment. But the biggest surprise for me was when I fully understood the effect of solving for the complex conjugate of the negative terms. Given a real base like base e, the conjugation step is a trivial solution to the rslog of the lower fixed point. But for a non-real base, there will be two different regular slogs to consider, at the upper and lower fixed points. I would need to map the jslog for both of those rslogs, and then cancel out the negative terms in both of them simultaneously. I have to admit that I was extremely amazed and excited when that clicked. I've been wondering for years how Sheldon managed to combine the upper and lower rslog functions to derive his solution. It didn't seem to make sense to me before. Now I understand! I could have "cheated" and looked at Sheldon's code, but it was far more fulfilling (and frustrating) to work it out on my own. I'm still developing my code, and I haven't run analysis on the rate of convergence yet. I'm curious to compare my results to Sheldon's, to see if we're using the same algorithms or not. I'll post results in the next few days. But I did want to share my excitement that I've made significant progress. RE: Revisting my accelerated slog solution using Abel matrix inversion - sheldonison - 02/09/2019 Quote:... the Riemann mapping ... is a non-linear problem, because the theta function has to be applied to the input of the jsexp function. Just some quick clarifications on "Sheldon's" codes. There are many of them.
So far, for my jpost.gp program I started by focusing on extensions of jslog that require the minimum amount of extra computation time than initializing jslog. But what if you relax that constraint, and make the \( \theta_{Rj};\;\theta_{Sj} \) matrix mappings arbitrarily large. Then I observe that the "stitching" error in post#20 starts to fade away. For a fixed jslog, with an arbitrarily large number of terms in \( \theta_{Rj};\;\theta_{Sj} \), do the slogthtr and slogthts functions in some sense converge towards each other? edit: question. In general, the precision of the resulting jslogtht is limited by the error term discontinuity in the jslog, where the theta mappings are computed. Can we approximate this as the number of terms in jtaylor gets arbitrarily large? z0rgt is the somewhat arbitrary term I've been using. z0rgt=0.9455+0.4824i; errterm~= jslog(z0rgt)-jslog(ln(z0rgt))-1 RE: Revisting my accelerated slog solution using Abel matrix inversion - Gottfried - 05/16/2021 I've just come across this thread and took a time for it - which I couldn't take when the thread has been young & fresh in 2019. I'd never understood, what it means "a taylorseries at 2 fixpoints" - from Sheldon's post I now get, that it was just meant to subtract from the powerseries of the slog() the real part of the series of (log(1-L)/L + log(1-L*)/L*) . That's all... So, ok, now I've got it and could reproduce the related powerseries, and could then look at the coefficients of the residual powerseries for some recognizable characteristics. After this I asked myself: if I reduce the powerseries of the slog() by the real part of the *primary* fixpoint, what if I reduce by the equivalent series for the *second* fixpoint as well, and the *third*, and, of course, the sum of *all* fixpoints? We have this nice Pari/GP LambertW() function by Mike3, which also accepts the branch-index as parameters, and I produced the residual of the slog() powerseries after removing the sum of real parts of all (well: the first N=2048 ... ) powerseries 2*\ln(x+L_k)/L_k , accumulated to the powerseries SU_N(x) by use of the first N fixpoints. I think it results in a nice residual series res_N(x)=slog(x)-SU_N(x), see my first 60 coefficients below. - Note, that the limits of the coefficients of SU_N(x) seem to approximate simple rational numbers (but I couldn't detect their construction-rule so far). - The last column in the table is a logarithm-like rescaling of the res(x)-coefficients by means of the asinh()-function attempting to mark a constant (here by example 1.64) which should be the range of convergence as far as the resulting rescaled coefficients are bounded within a certain small interval. PHP Code: update: I've just found, that the powerseries of SU_N(x) for N \to \infty seems to converge to that of (a slight shift of) H(x)=log(1-x*exp(-x))/x . The first coefficient in SU_N() however possibly diverges to infinity or converges to some finite value with increasing N and the observation of the second coefficient is somehow inconclusive, however I'd guess, that it converges to 1. It should be mentioned, that I've found this relationship via lookup of the integer approximations (achieved by some standard trial&error rescalings of the SU_N()-coefficients by factorials and reciprocals) in the OEIS finding http://oeis.org/A009306 So instead of computing finite sums SU_N(x) we can simply use the coefficients of H(x) where we use h_k*k/(k-1) (for k>1). H(x) is here the powerseries of the sum of all 2*real(log(x-L_k)/L_k) for k=0 to infinity and perhaps a better/more perfect candidate for the reduction of the slog()-power-series. update 2: I've just put a question focused at the coincidence of SU_N(x) and H(x) at stackexchange: https://math.stackexchange.com/questions/4141754/infinite-sum-of-powerseries-converges-to-a-powerseries-with-rational-coefficient update 3: a much better/more coherent/more focused presentation of this is now in already mentioned the stackexchange-post: https://math.stackexchange.com/questions/4141754/infinite-sum-of-powerseries-converges-to-a-powerseries-with-rational-coefficient end-update I've not much more to say at the moment, but it is perhaps an additional, and perhaps even fruitful observation. - - - Here the Pari/GP-code: PHP Code: \ps 60 \\ powerseries expansion up to 60 termsThe slog-coefficients were taken from Jay's 700x700 matrix solution posted in this thread. |