Heine–Stieltjes polynomials are a generalization of classical orthogonal polynomials, named after mathematicians Heinrich Heine and Thomas Joannes Stieltjes. These polynomials arise in the context of continuous fraction expansions and orthogonal polynomial theory.