AngouriMath
Gathered(System.String,AngouriMath.Core.Transformations.Matching.MatchPattern[])
Method (no overloads)
Summary
Matches an associative-commutative chain of — a sum or a
product — by findingparts among its operands in any positions and binding whatever is left over to restName .
product — by finding
Remarks
#248, and it is
what lets a rule about two terms fire on an expression with five. A binary pattern
cannot:
children of any one node. The library's present answer is to sort the operands with
works, and is a workaround for the matcher rather than a property of the mathematics.
identity —
the empty sum is zero and the empty product is one, so one rule covers
both
right-hand side never has to ask which case it is in.
normalised:
subtractive spelling, which is one of the ways the
by MaxAssignments measured work rather than by a reasoned size limit, as
#921 settled for
the resultant. Past the bound it stops yielding, so the rule does not apply rather than taking unbounded time — declining is a legitimate answer where a wrong one
or a hang is not.
Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 4378 pages online