NLA-lib Explorer

NLAlib.AlternatesOn

Library · def

The function g alternates on s at k points with level \varepsilon: there are points \mathbf{x}_0 < \mathbf{x}_1 < \dots < \mathbf{x}_{k-1} of s and a sign \sigma \in \{1, -1\} with \varepsilon \le \sigma(-1)^i g(\mathbf{x}_i) for every i. For \varepsilon > 0 the values g(\mathbf{x}_i) alternate in sign and have modulus at least \varepsilon (de la Vallée Poussin's hypothesis); when also \lvert g \rvert \le \varepsilon on s, g(\mathbf{x}_i) = \sigma(-1)^i\varepsilon (equioscillation). For \varepsilon \le 0 the condition is weaker than a sign change. [Trefethen2019, Theorem 10.1]; [Rivlin1981, Ch. 1].

NLAlib.AlternatesOn (g : ℝ → ℝ) (s : Set ℝ) (k : ℕ) (ε : ℝ) : Prop

Full source on GitHub

Import NLAlib.Polynomial.Approximation.Equioscillation.