NLAlib.minimaxError_inv_le
Library · theorem
The minimax error of the inverse: for 0 < a < \mathbf{b}, E_n\bigl(\mathbf{x}^{-1}; [a, \mathbf{b}]\bigr) \le \frac2a \left(\frac{\sqrt \mathbf{b} - \sqrt a}{\sqrt \mathbf{b} + \sqrt a}\right)^{n + 1}\,. The matching lower bound (the exact value of E_n(\mathbf{x}^{-1})) is deferred. A corollary of [Saad2003, Theorem 6.25 and proof of Theorem 6.29]. Result: inverse-polynomial-approx
NLAlib.minimaxError_inv_le {a b : ℝ} (n : ℕ) (ha : 0 < a) (hab : a < b) :
minimaxError (fun x ↦ x⁻¹) (Set.Icc a b) n ≤ 2 / a * ((√b - √a) / (√b + √a)) ^ (n + 1)Import NLAlib.Polynomial.Approximation.Inverse.