New answers tagged permutation
5
votes
Reorder indices alphabetically in each term of a sum
I think this can be simplified, but here's a way. Define a function that does the work on one summand at a time.
...
5
votes
Accepted
3
votes
Sort two lists at the same time, based on another
Using PositionIndex:
pi = PositionIndex@perm;
pi[#] & /@ x // Flatten
or
...
2
votes
Terse Method to Swap Lowest for Highest?
Prior to v13.2:
1- Using SubsetMap is not compatible with much older versions. In that case, the Part method shown later can be ...
6
votes
Accepted
Deciding whether two sets of permutations are isomorphic
Using FindGroupIsomorphism from the Wolfram Function Repository, we see
...
1
vote
Top 50 recent answers are included
Related Tags
permutation × 275list-manipulation × 89
combinatorics × 80
group-theory × 29
performance-tuning × 24
matrix × 21
summation × 13
graphs-and-networks × 9
function-construction × 8
pattern-matching × 8
string-manipulation × 7
filtering × 7
tensors × 7
sorting × 7
replacement × 6
algorithm × 6
partitions × 6
mathematical-optimization × 5
code-review × 5
functions × 4
memory × 4
subset × 4
tuples × 4
canonicalization × 4
probability-or-statistics × 3