Skip to main content

New answers tagged

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. ...
lericr's user avatar
  • 34k
5 votes
Accepted

Reorder indices alphabetically in each term of a sum

...
A. Kato's user avatar
  • 5,580
3 votes

Sort two lists at the same time, based on another

Using PositionIndex: pi = PositionIndex@perm; pi[#] & /@ x // Flatten or ...
Syed's user avatar
  • 59.4k
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 ...
Syed's user avatar
  • 59.4k
6 votes
Accepted

Deciding whether two sets of permutations are isomorphic

Using FindGroupIsomorphism from the Wolfram Function Repository, we see ...
Daniel McDonald's user avatar
1 vote

Dictionary lookups of words composed of specified characters

...
Syed's user avatar
  • 59.4k

Top 50 recent answers are included