PatternMatchIntegerNumberSystem IΒΆ
patmatch1.spad line 614 [edit on github]
This package provides pattern matching functions on integers.
- patternMatch: (I, Pattern Integer, PatternMatchResult(Integer, I)) -> PatternMatchResult(Integer, I)
patternMatch(n, pat, res)
matches the patternpat
to the integern
; res contains the variables ofpat
which are already matched and their matches.