AngouriMath
Navigation
CollectLikeTerms(AngouriMath.Entity)
Method (no overloads)
Summary
Adds up the terms of an expanded sum that differ only by a numeric factor, so
that expanding actually finishes:(x+1)^2 * (x+1)^2 multiplied out gives
sixteen terms, of which only five are distinct.
that expanding actually finishes:
sixteen terms, of which only five are distinct.
Remarks
Deliberately not Simplify(System.Int32), which is far too expensive to run
inside Expand(System.Int32). Each term is reduced to a coefficient and a
product of powers, and terms whose products agree are added together --
enough to collect like terms and nothing more.
inside Expand(System.Int32). Each term is reduced to a coefficient and a
product of powers, and terms whose products agree are added together --
enough to collect like terms and nothing more.
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5057 pages online