One bounded Newton reversion update.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Revert through coefficient m - 1, zeroing all later coefficients.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The compositional inverse of b, given an inverse of its linear
coefficient.
Equations
- b.revOfUnit v = Hex.TSeries.revUpTo n b v
Instances For
Check the constant coefficient and look up the linear inverse when that coefficient is represented.
Equations
Instances For
Direct Lagrange inversion. This deliberately performs the explicit
division by k and therefore carries NatInverses R (n-1). Consecutive
powers are carried through the fold, so the schoolbook route performs n
full multiplications and costs O(n³) rather than recomputing each power by
square-and-multiply. When b.coeff 0 = 0, b = X * shiftQuotient b
exactly; the unavailable top coefficient of the quotient is harmless because
truncated multiplication is lower triangular.
Equations
- b.revLagrange v = (Hex.TSeries.lagrangeState✝ ((Hex.TSeries.shiftQuotient✝ b).invOfUnit v) n).snd
Instances For
Direct Lagrange inversion agrees with Newton reversion whenever its explicit natural-number divisions are available.
The bounded Newton implementation itself returns zero when no linear coefficient is represented.
Optional reversion keeps the constant test at precision one while dropping the nonexistent linear test.