A robust implementation of the Carathéodory-Fejér method for rational approximation
- First Online:
- Cite this article as:
- Van Deun, J. & Trefethen, L.N. Bit Numer Math (2011) 51: 1039. doi:10.1007/s10543-011-0331-7
Best rational approximations are notoriously difficult to compute. However, the difference between the best rational approximation to a function and its Carathéodory-Fejér (CF) approximation is often so small as to be negligible in practice, while CF approximations are far easier to compute. We present a robust and fast implementation of this method in the Chebfun software system and illustrate its use with several examples. Our implementation handles both polynomial and rational approximation and substantially improves upon earlier published software.