CombinatorialOpsCategory¶
combfunc.spad line 1 [edit on github]
CombinatorialOpsCategory is the category obtaining by adjoining summations and products to the usual combinatorial operations.
- binomial: (%, %) -> %
- factorial: % -> %
- factorials: % -> %
factorials(f)
rewrites the permutations and binomials inf
in terms of factorials.
- factorials: (%, Symbol) -> %
factorials(f, x)
rewrites the permutations and binomials inf
involvingx
in terms of factorials.
- permutation: (%, %) -> %
- product: (%, SegmentBinding %) -> %
product(f(n), n = a..b)
returnsf
(a) * … *f
(b
) as a formal product.
- product: (%, Symbol) -> %
product(f(n), n)
returns the formal productP
(n
) which verifiesP
(n+1
)/P
(n
) =f
(n
).
- summation: (%, SegmentBinding %) -> %
summation(f(n), n = a..b)
returnsf
(a) + … +f
(b
) as a formal sum.
- summation: (%, Symbol) -> %
summation(f(n), n)
returns the formal sumS
(n
) which verifiesS
(n+1
) -S
(n
) =f
(n
).