Lagrange indicators for signs #
SignType.lagrangeCoeff gives the coefficients of the three indicator polynomials
1 - x², (x² - x) / 2, and (x² + x) / 2 on {-1,0,1}.
SignType.sum_lagrangeCoeff_mul_pow evaluates these indicators on signs,
supplying the one-coordinate inverse in finite sign determination.
References #
S. Basu, R. Pollack, and M.-F. Roy, Algorithms in Real Algebraic Geometry, second edition, Chapter 10, for the ternary sign-moment inverse.
Coefficients of the three Lagrange indicator polynomials on {-1,0,1}.