In mathematics, the FEE method, or fast E-function evaluation method, is the method of fast summation of series of a special form. It was constructed in 1990 by Ekaterina Karatsuba[1][2] and is so-named because it makes fast computations of the Siegel E-functions possible, in particular of [math]\displaystyle{ e^x }[/math]. A class of functions, which are "similar to the exponential function," was given the name "E-functions" by Carl Ludwig Siegel.[3] Among these functions are such special functions as the hypergeometric function, cylinder, spherical functions and so on.
Using the FEE, it is possible to prove the following theorem:
Theorem: Let [math]\displaystyle{ y=f(x) }[/math] be an elementary transcendental function, that is the exponential function, or a trigonometric function, or an elementary algebraic function, or their superposition, or their inverse, or a superposition of the inverses. Then
Here [math]\displaystyle{ s_f(n) }[/math] is the complexity of computation (bit) of the function [math]\displaystyle{ f(x) }[/math] with accuracy up to [math]\displaystyle{ n }[/math] digits, [math]\displaystyle{ M(n) }[/math] is the complexity of multiplication of two [math]\displaystyle{ n }[/math]-digit integers.
The algorithms based on the method FEE include the algorithms for fast calculation of any elementary transcendental function for any value of the argument, the classical constants e, [math]\displaystyle{ \pi, }[/math] the Euler constant [math]\displaystyle{ \gamma, }[/math] the Catalan and the Apéry constants,[4] such higher transcendental functions as the Euler gamma function and its derivatives, the hypergeometric,[5] spherical, cylinder (including the Bessel)[6] functions and some other functions for algebraic values of the argument and parameters, the Riemann zeta function for integer values of the argument[7][8] and the Hurwitz zeta function for integer argument and algebraic values of the parameter,[9] and also such special integrals as the integral of probability, the Fresnel integrals, the integral exponential function, the trigonometric integrals, and some other integrals[10] for algebraic values of the argument with the complexity bound which is close to the optimal one, namely
At present,[when?] only the FEE makes it possible to calculate fast the values of the functions from the class of higher transcendental functions,[11] certain special integrals of mathematical physics and such classical constants as Euler's, Catalan's[12] and Apéry's constants. An additional advantage of the method FEE is the possibility of parallelizing the algorithms based on the FEE.
For fast evaluation of the constant [math]\displaystyle{ \pi, }[/math] one can use the Euler formula [math]\displaystyle{ \frac{\pi}{4} = \arctan \frac12 + \arctan \frac13, }[/math] and apply the FEE to sum the Taylor series for
with the remainder terms [math]\displaystyle{ R_1, }[/math] [math]\displaystyle{ R_2, }[/math] which satisfy the bounds
and for
To calculate [math]\displaystyle{ \pi }[/math] by the FEE it is possible to use also other approximations[13] In all cases the complexity is
To compute the Euler constant gamma with accuracy up to [math]\displaystyle{ n }[/math] digits, it is necessary to sum by the FEE two series. Namely, for
The complexity is
To evaluate fast the constant [math]\displaystyle{ \gamma }[/math] it is possible to apply the FEE to other approximations.[14]
By the FEE the two following series are calculated fast:
under the assumption that [math]\displaystyle{ a(j) , \quad b(j) }[/math] are integers,
and [math]\displaystyle{ C }[/math] are constants, and [math]\displaystyle{ z }[/math] is an algebraic number. The complexity of the evaluation of the series is
For the evaluation of the constant [math]\displaystyle{ e }[/math] take [math]\displaystyle{ m = 2^k, \quad k \geq 1 }[/math], terms of the Taylor series for [math]\displaystyle{ e, }[/math]
Here we choose [math]\displaystyle{ m }[/math], requiring that for the remainder [math]\displaystyle{ R_m }[/math] the inequality [math]\displaystyle{ R_m \leq 2^{-n-1} }[/math] is fulfilled. This is the case, for example, when [math]\displaystyle{ m\geq \frac{4n}{\log n}. }[/math] Thus, we take [math]\displaystyle{ m=2^k }[/math] such that the natural number [math]\displaystyle{ k }[/math] is determined by the inequalities:
We calculate the sum
in [math]\displaystyle{ k }[/math] steps of the following process.
Step 1. Combining in [math]\displaystyle{ S }[/math] the summands sequentially in pairs we carry out of the brackets the "obvious" common factor and obtain
We shall compute only integer values of the expressions in the parentheses, that is the values
Thus, at the first step the sum [math]\displaystyle{ S }[/math] is into
At the first step [math]\displaystyle{ \frac m2 }[/math] integers of the form
are calculated. After that we act in a similar way: combining on each step the summands of the sum [math]\displaystyle{ S }[/math] sequentially in pairs, we take out of the brackets the 'obvious' common factor and compute only the integer values of the expressions in the brackets. Assume that the first [math]\displaystyle{ i }[/math] steps of this process are completed.
Step [math]\displaystyle{ i+1 }[/math] ([math]\displaystyle{ i+1 \leq k }[/math]).
we compute only [math]\displaystyle{ \frac{m}{2^{i+1}} }[/math] integers of the form
Here
is the product of [math]\displaystyle{ 2^i }[/math] integers.
Etc.
Step [math]\displaystyle{ k }[/math], the last one. We compute one integer value [math]\displaystyle{ \alpha_1(k), }[/math] we compute, using the fast algorithm described above the value [math]\displaystyle{ (m-1)!, }[/math] and make one division of the integer [math]\displaystyle{ \alpha_1(k) }[/math] by the integer [math]\displaystyle{ (m-1)!, }[/math] with accuracy up to [math]\displaystyle{ n }[/math] digits. The obtained result is the sum [math]\displaystyle{ S, }[/math] or the constant [math]\displaystyle{ e }[/math] up to [math]\displaystyle{ n }[/math] digits. The complexity of all computations is
Original source: https://en.wikipedia.org/wiki/FEE method.
Read more |