bo198214 Wrote:Thats always the difficulty with those numerical comparison. If the difference is small does that mean that they are equal?

Henryk asked me to calcilate my tetration with displaced basic interval.

In the paper

http://www.ils.uec.ac.jp/~dima/PAPERS/2008analuxp99.pdf ,

the basic algorithm evaluates tetration(

) in the range

; precisely (14 digits) in the range

;

I use it for

, and bring to this interval other values using the recurrent relation.

Then, I shifted the interval; the new implementation evaluates the tetration for

.

I run the test; it is precise for

.

I use it for

, bringing other cases to this intergal.

The plots for old algorithm and for the new one look identical.

Then I plot the difference

.

The grid covers the range

with unity step.

Levels

are shown with thick pink lines

Levels

are shown with thin pink lines

Levels

are shown with thin green lines

Levels

are shown with thck green lines

Levels

are shown with thick red lines

Levels

are shown with thin red lines

Levels

are shown with thin blue lines

Levels

are shown with thck blue lines

If variation of function esceed 10 per step of the mesh, then the line is not drawn; so, the right hand side of the figure in vicinity of the real axix left blank; but there, the deviation between these two functions is larger than 1.e-14 and, perhaps, even larger than unity; the only the plotter cannot identify the position of lines, tey are too dence.

I see the jumps of the difference at the integer and at half-integer values of the real part; the jumps are at the level of

. Each of the implementations has its own errors, and they can be revealed comparing two finctions. I attribute the humps at the half-integer values to the old algorithm, and jumps at the integer values to the new algorithm. Comparing these two algorithms, I cannot say that one of them is somehow better than another one.

Conclusion: In order to see from numerical evaluation, that two functions are not the same, you should plot them in the complex plane. It is better than to compare the Tailor series.