NLA-lib Explorer

NLAlib.sum_chebyshevWeight

Library · theorem

The dual weights sum to the Chebyshev value: for 0 < a < a', \sum_k \omega_k = T_q\bigl((a' + a)/(a' - a)\bigr).

NLAlib.sum_chebyshevWeight {a a' : ℝ} (ha : 0 < a) (haa : a < a') (q : ℕ) :
  ∑ k, chebyshevWeight a a' q k =
    Polynomial.eval ((a' + a) / (a' - a)) (Polynomial.Chebyshev.T ℝ ↑q)

Full source on GitHub

Import NLAlib.Polynomial.Chebyshev.Residual.