2
$\begingroup$

This old answer briefly described the usages of

  • GroupTheory`Tools`Multisets,
  • GroupTheory`Tools`MultiSubsets,
  • GroupTheory`Tools`PartitionRagged,
  • GroupTheory`Tools`IntegerPartitionCounts, and
  • GroupTheory`Tools`ConsecutiveReplace.

However,

In[1]:= ?? "GroupTheory`Tools`*"
Out[1]= GroupTheory`Tools`ConsecutiveReplace GroupTheory`Tools`IntegerPartitionCounts GroupTheory`Tools`PartitionRagged
 GroupTheory`Tools`GeneralizedTuples GroupTheory`Tools`Multisets GroupTheory`Tools`SublistPosition
 GroupTheory`Tools`IntegerDecompose GroupTheory`Tools`MultiSubsets

So what do GroupTheory`Tools`GeneralizedTuples, GroupTheory`Tools`SublistPosition, and GroupTheory`Tools`IntegerDecompose do internally?
GroupTheory`Tools`IntegerDecompose appears to do the same thing as System`NumberDecompose except that it only works on explicit non-negative numbers.
GroupTheory`Tools`SublistPosition was mentioned in this old question, but in accordance with

In[2]:= GroupTheory`Tools`SublistPosition[]
GroupTheory`Tools`SublistPosition::argb: GroupTheory`Tools`SublistPosition called with 0 arguments; between 2 and 5 arguments are expected.

there are at least four forms (2 parameters, 3 parameters, 4 parameters, and 5 parameters) to call it in fact! (Any thorough interpretations?)
Last but not least, what is the correct syntax to invoke GroupTheory`Tools`GeneralizedTuples (which seems to differ from Python's tuple as well)???

asked Nov 8, 2023 at 10:18
$\endgroup$
1
  • $\begingroup$ GroupTheory`Tools`Multisets[{a, b, c}, 2]. you can see this. $\endgroup$ Commented May 22 at 13:13

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.