Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 25118

For questions about the functionality related to permutations in Mathematica.

6 votes
5 answers
522 views

Sort two lists at the same time, based on another

I want to take a list such as: x = {1,2,3,4,5,6,7,8} and a second list (permutation): perm = {4,1,6,2,7,3,8,5} and get a result to where the permutation is applied to x. … My goal is a function like permutationEncrypt[x_, permutation_] := return x with the permutation applied to it I know I can sort a list, but how would I accomplish what I am wanting to do? …
connor's user avatar
  • 153