The downward Clenshaw recurrence formula evaluates a sum of products of indexed coefficients by functions which obey a recurrence
relation. If
(1)
and
(2)
where the s
are known, then define
(3)
(4)
for
and solve backwards to obtain and .
(5)
(6)
(7)
(8)
(9)
(10)
For the monomial basis ,
the choices
and
reduce the downward recurrence to Horner's method
(Hunter 1970). Continuing to gives with and .
The upward Clenshaw recurrence formula is
(11)
(12)
for .
(13)
The downward recurrence evaluates a finite expansion without forming every basis value separately (Clenshaw 1955). Differentiating both the recurrence and its final
reconstruction gives recurrences for derivatives of
the expansion (Smith 1965).
For a Vandermonde-like system whose columns are formed by evaluating a polynomial basis with a three-term recurrence, the Clenshaw recurrence can evaluate the polynomial expansion at each node when computing the residual (Higham 2002, pp. 427-428).