AngouriMath
CollectCommonFactors(AngouriMath.Entity)
Method (no overloads)
Summary
Pulls a shared factor out of the terms of a sum: a*c + a*d + b*c + b*d becomes a*(c + d) + b*(c + d) , which the pairwise rules above close to
(a + b) * (c + d) on the next pass.
Remarks
The pairwise rules only ever see two adjacent terms of the sum tree, so a sum of
four was left half-factored ata*(c + d) + b*c + b*d -- that is
https://github.com/asc-community/AngouriMath/issues/531. Sums
of two are left to those rules, which are older and better tested.
four was left half-factored at
https://github.com/asc-community/AngouriMath/issues/531. Sums
of two are left to those rules, which are older and better tested.
Returns
Remarks
Internal so the data form of this set calls it rather than repeating it.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online