AngouriMath
SingleQuotient
Description
Summary
Writes an expression as one quotient: a numerator and a denominator with no division
anywhere inside either.
anywhere inside either.
Remarks
not part of Simplify(System.Int32). Putting a sum over a common
denominator makes some expressions worse —
ask for.
https://github.com/asc-community/AngouriMath/issues/1239
PartialFractions and the integrator's rational path — wants its input as a
single Divf of two polynomials, and declines anything else. So a rewrite that
produces a correct but nested answer is thrown away one step short of being usable. The
half-angle substitution is the case that exposed it:
distribution and is integrated at once, and was declined for want of it.
out:
gcd, which needs to know what the expression is a polynomial in, and this runs
before anything has decided that. The callers here divide out afterwards anyway, and a
caller that wants the tidy form asks the simplifier for it.
the operands of the node it is given and each recursion is on a strictly smaller tree. What
it can do is make the tree bigger — combining a sum of
denominators — so Of(AngouriMath.Entity) is a transformation to ask for rather than one to apply
on the way past.
Members
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online