ComplexPatternMatch(R, S, CS)ΒΆ
gaussian.spad line 494 [edit on github]
R: SetCategory
S: Join(PatternMatchable R, CommutativeRing)
CS: ComplexCategory S
This package supports matching patterns involving complex expressions
- patternMatch: (CS, Pattern R, PatternMatchResult(R, CS)) -> PatternMatchResult(R, CS) if Polynomial S has PatternMatchable R
patternMatch(cexpr, pat, res)
matches the patternpat
to the complex expressioncexpr
. res contains the variables ofpat
which are already matched and their matches.