This folder contains an implementation of the differential correction algorithm for computing best rational approximations on a discrete set of points. The particularity of the code is the use of an adaptive barycentric representation for representing the rational approximations computed during executions. For more information, see [1].
The code is written in MATLAB and requires that CVX is also installed. The testing was done using the Mosek backend for CVX. If available, it can be set by using the command
cvx_solver Mosek
The provided code is MIT licensed.
[1] S. Filip, Y. Nakatsukasa, L. N. Trefethen, B. Beckermann, Rational minimax approximation via adaptive barycentric representations, submitted, 2017.