PatternMatchFunctionSpace(S, R, F)ΒΆ
patmatch1.spad line 807 [edit on github]
S: SetCategory
R: Join(IntegralDomain, Comparable, PatternMatchable S)
F: Join(FunctionSpace R, ConvertibleTo Pattern S, PatternMatchable S, RetractableTo Kernel %)
This package provides pattern matching functions on function spaces.
- patternMatch: (F, Pattern S, PatternMatchResult(S, F)) -> PatternMatchResult(S, F)
patternMatch(expr, pat, res)
matches the patternpat
to the expressionexpr
; res contains the variables ofpat
which are already matched and their matches.