Shape preservation for Bernstein polynomials #
The derivative is a nonnegative Bernstein combination of consecutive coefficient differences. In particular, ordered coefficients give a monotone function. This is the key step in proving that the tensor Bernstein approximation of a copula is a copula.
Polynomial with prescribed Bernstein coefficients.
Equations
- ProbabilityTheory.Copula.Bernstein.polynomial n f = ∑ k : Fin (n + 1), Polynomial.C (f k) * bernsteinPolynomial ℝ n ↑k
Instances For
noncomputable def
ProbabilityTheory.Copula.Bernstein.blend
(n : ℕ)
(f : Fin (n + 1) → ℝ)
(u : ↑unitInterval)
:
Evaluation of a Bernstein combination on the unit interval.
Equations
Instances For
theorem
ProbabilityTheory.Copula.Bernstein.eval_polynomial
(n : ℕ)
(f : Fin (n + 1) → ℝ)
(u : ↑unitInterval)
:
theorem
ProbabilityTheory.Copula.Bernstein.derivative_polynomial
(n : ℕ)
(f : Fin (n + 2) → ℝ)
:
Polynomial.derivative (polynomial (n + 1) f) = Polynomial.C (↑n + 1) * polynomial n fun (k : Fin (n + 1)) => f k.succ - f k.castSucc
Bernstein polynomials reproduce the identity for every positive degree.