Mathematics (Aug 2021)

Stable Calculation of Krawtchouk Functions from Triplet Relations

  • Albertus C. den Brinker

DOI
https://doi.org/10.3390/math9161972
Journal volume & issue
Vol. 9, no. 16
p. 1972

Abstract

Read online

Deployment of the recurrence relation or difference equation to generate discrete classical orthogonal polynomials is vulnerable to error propagation. This issue is addressed for the case of Krawtchouk functions, i.e., the orthonormal basis derived from the Krawtchouk polynomials. An algorithm is proposed for stable determination of these functions. This is achieved by defining proper initial points for the start of the recursions, balancing the order of the direction in which recursions are executed and adaptively restricting the range over which equations are applied. The adaptation is controlled by a user-specified deviation from unit norm. The theoretical background is given, the algorithmic concept is explained and the effect of controlled accuracy is demonstrated by examples.

Keywords