Ruleset(Base, R, F)ΒΆ
rule.spad line 238 [edit on github]
Base: SetCategory
R: Join(Ring, PatternMatchable Base, Comparable, ConvertibleTo Pattern Base)
F: Join(FunctionSpace R, PatternMatchable Base, ConvertibleTo Pattern Base)
A ruleset is a set of pattern matching rules grouped together.
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- elt: (%, F, PositiveInteger) -> F
elt(r, f, n)
orr
(f
,n
) applies all the rules ofr
tof
at mostn
times.
- latex: % -> String
from SetCategory
- rules: % -> List RewriteRule(Base, R, F)
rules(r)
returns the rules contained inr
.
- ruleset: List RewriteRule(Base, R, F) -> %
ruleset([r1, ..., rn])
creates the rule set{r1, ..., rn}
.
Eltable(F, F)