News for hackers. Stuff that matters.
Re:Implementing Advanced Math Functions by jvranish on Wednesday April 25, 2012 @01:03PM (#3889941)
Do you know of good resource for how to compute minimax polynomials that approximate transcendental functions? My Google foo appears to be failing me.
Re:Implementing Advanced Math Functions by stephencanon on Wednesday April 25, 2012 @01:31PM (#3890083)
The standard approach to minimax approximations is called the "Remez Exchange Algorithm" (or Remez algorithm, or Remes algorithm). It can be fussy, however, and often requires a knowledgeable user to product good results, which is why Chebyshev and Cathedory-Fejer approximants are often used instead -- they are very nearly as good, and much easier to compute.
Re:Implementing Advanced Math Functions by balsam on Wednesday April 25, 2012 @05:10PM (#3891106)
Mathematica, if you have access to it, can give you the minimax polynomial in one line.