AngouriMath

Navigation

← Back to list of members

Decompose​(AngouriMath.​Entity)

 Method (no overloads)

Summary

Reads a factor of a product as a base and an exponent.

Remarks

The nested case is not cosmetic: LinearChildren(AngouriMath.Entity) writes a
divisor as (...)^(-1), so x^3 / x^2 arrives as
x^3 * (x^2)^(-1), whose second factor has base x^2 rather than
x and would be read as an unrelated base. Unwrapping it is
(a^b)^n = a^(b*n), which holds for a whole n whatever the sign of
a -- the same guard the ({}^{})^{} rule above carries, and for the
same reason. https://github.com/asc-community/AngouriMath/issues/752

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online