General functions for semigroups. Black box style, the element(s) and the operation need to be supplied.
General functions for semigroups. Black box style, the element(s) and the operation need to be supplied.
(commutative? sgp mul)
Brute-force (but lazy) checking of commutativity of a semigroup.
Brute-force (but lazy) checking of commutativity of a semigroup.
(index-period mul x)
The index-period pair of integers in a vector for a given semigroup
with multiplication mul
and for a given element x
.
The index-period pair of integers in a vector for a given semigroup with multiplication `mul` and for a given element `x`.
(k-nilpotent? k sgp mul)
Checking for k-nilpotency. Assuming the semigroup is k-nilpotent, we can take the k-th power of any element. Then we a do a brute-force (but lazy) check of all k-element selections.
Checking for k-nilpotency. Assuming the semigroup is k-nilpotent, we can take the k-th power of any element. Then we a do a brute-force (but lazy) check of all k-element selections.
(sgp-by-gens gens mul)
Computes all elements of a semigroup generated by gens combined by the given binary operation mul.
Computes all elements of a semigroup generated by gens combined by the given binary operation mul.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |