NLA-lib Explorer

NLAlib.minimaxError_const_mul

Library · theorem

The minimax error is absolutely homogeneous: E_n(cf; s) = \lvert c \rvert E_n(f; s), for every c, f, s and n (junk values included). [Rivlin1981, Ch. 1] (locator to check).

NLAlib.minimaxError_const_mul (c : ℝ) (f : ℝ → ℝ) (s : Set ℝ) (n : ℕ) :
  minimaxError (fun x ↦ c * f x) s n = |c| * minimaxError f s n

Full source on GitHub

Import NLAlib.Polynomial.Approximation.MinimaxError.