- Remez algorithm
The Remez algorithm (sometimes also called Remes algorithm, Remez/Remes exchange algorithm), published by
Evgeny Yakovlevich Remez in1934 [E. Ya. Remez, "Sur la détermination des polynômes d'approximation de degré donnée", Comm. Soc. Math. Kharkov 10, 41 (1934);
"Sur un procédé convergent d'approximations successives pour déterminer les polynômes d'approximation, Compt. Rend. Acad. Sc. 198, 2063 (1934);
"Sur le calcul effectiv des polynômes d'approximation des Tschebyscheff", Compt. Rend. Acade. Sc. 199, 337 (1934).] is an iterative algorithm for finding the best approximation in theuniform norm "L"∞ in theChebyshev space . A typical example of a Chebyshev space is the subspace of polynomials of order "n" in the space of real continuous functions on an interval, "C" ["a", "b"] .The polynomial of best approximation of a given degree is defined to be the one that minimizes the maximum absolute difference between the polynomial and the function.
Procedure
The Remez algorithm starts with a set of sample points in the approximation interval, usually the
Chebyshev nodes linearly mapped to the interval.# Set up a system of equations where each equation is of the form for some , and solve the system for the unknowns ().
# Use the s to create a polynomial .
# Find the points of local maximum error () given by .
# If every is of equal magnitude and alternates, is the minimax approximation polynomial. If not, replace X with M and start over.The result is called the polynomial of best approximation, the Chebyshev approximation, or the
minimax approximation .A review of technicalities in implementing the Remez algorithm is given by W. Fraser [ [http://doi.acm.org/10.1145/321281.321282 W. Fraser, "A Survey of Methods of Computing Minimax and Near-Minimax Polynomial Approximations for Functions of a Single Independent Variable", J. ACM 12, 295 (1965).] ] .
On the choice of initialization
The reason for the Chebyshev nodes being a common choice for the initial approximation is in its behavior in the theory of polynomial interpolation.
For the initialization of the optimization problem for function "f" by the Lagrange interpolant "L"n("f"), it can be shown that this initial approximation is bounded by
:
with the norm or Lebesgue constant of the Lagrange interpolation operator "L""n" of the nodes ("t"1, ..., "t""n" + 1) being
:
"T" being the zeros of the Chebyshev polynomials, and the Lebesgue functions being
:
Theodore A. Kilgore [ [http://dx.doi.org/10.1016/0021-9045(78)90013-8 T. A. Kilgore, "A characterization of the Lagrange interpolating projection with minimal Tchebycheff norm", J. Approx. Theory 24, 273 (1978).] ] , Carl de Boor, and Allan Pinkus [ [http://dx.doi.org/10.1016/0021-9045(78)90014-X C. de Boor and A. Pinkus, "Proof of the conjectures of Bernstein and Erdös concerning the optimal nodes for polynomial interpolation", J. Approx. Theory 24, 289 (1978).] ] proved that there exists a unique "t""i" for each "L""n", although not known explicitly for (ordinary) polynomials. Similarly, , and the optimality of a choice of nodes can be expressed as
For Chebyshev nodes, which provides a suboptimal, but analytically explicit choice, the asymptotic behavior is known as [F. W. Luttmann and T. J. Rivlin, "Some numerical experiments in the theory of polynomial interpolation", IBM J. Res. Develop. 9, 187 (1965).]
:
("γ" being the
Euler-Mascheroni constant ) with: for
and upper bound [T. Rivlin, "The Lebesgue constants for polynomial interpolation", in "Proceedings of the Int. Conf. on Functional Analysis and Its Application", edited by H. G. Garnier "et al." (Springer-Verlag, Berlin, 1974), p. 422; "The Chebyshev polynomials" (Wiley-Interscience, New York, 1974).]
:
Lev Brutman [ [http://dx.doi.org/10.1137/0715046 L. Brutman, "On the Lebesgue Function for Polynomial Interpolation", SIAM J. Numer. Anal. 15, 694 (1978).] ] obtained the bound for , and being the zeros of the expanded Chebyshev polynomials:
:
Rüdiger Günttner [ [http://dx.doi.org/10.1137/0717043 R. Günttner, "Evaluation of Lebesgue Constants", SIAM J. Numer. Anal. 17, 512 (1980).] ] obtained from a sharper estimate for
:
Variants
Sometimes more than one sample point is replaced at the same time with the locations of nearby maximum absolute differences.
Sometimes
relative error is used to measure the difference between the approximation and the function, especially if the approximation will be used to compute the function on a computer which usesfloating-point arithmetic.References
ee also
*
Approximation theory External links
* [http://www.bores.com/courses/intro/filters/4_equi.htm Intro to DSP]
* [http://mathworld.wolfram.com/RemezAlgorithm.html Remez Algorithm from MathWorld]
Wikimedia Foundation. 2010.