NLAlib.isUniformApproxOn_minimaxPoly
Library · theorem
The chosen best approximation attains the minimax error: for s compact and f continuous on s, \lvert f(\mathbf{x}) - \mathrm{minimaxPoly}\ f\ s\ n\ (\mathbf{x}) \rvert \le E_n(f; s) for all \mathbf{x} \in s.
NLAlib.isUniformApproxOn_minimaxPoly {f : ℝ → ℝ} {s : Set ℝ} (hs : IsCompact s)
(hf : ContinuousOn f s) (n : ℕ) :
Metric.IsUniformApproxOn (fun x ↦ Polynomial.eval x (minimaxPoly f s n)) f s (minimaxError f s n)Import NLAlib.Polynomial.Approximation.MinimaxError.