AngouriMath
RationalFunction
Description
Summary
A canonical form for rational functions over Q : two expressions denoting the
same quotient of polynomials become the identical tree, so that deciding whether they
are equal is a structural comparison rather than a search.
same quotient of polynomials become the identical tree, so that deciding whether they
are equal is a structural comparison rather than a search.
Remarks
none for the whole of it — zero-equivalence is undecidable once
exponential, the trigonometric functions and
— so the boundary is in the signature: a refusal means "not a rational function over
#934.
quotient — nothing else in the library does that, and without it
by their multivariate greatest common divisor, which
PolynomialGcd computes and verifies. Then both are scaled so that the
denominator's leading coefficient is one, which is what makes
widens the domain —
is cancelled the answer carries the condition that it is nonzero, which is what the
library already does elsewhere and what keeps "equal trees means equal expressions"
true rather than nearly true. Gathering over a common denominator does not widen
anything: a sum is defined exactly where its terms are, and the product of the
denominators vanishes exactly where one of them does.
Members
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online