Returns permutations of a given vector as columns in a matrix
vector that is to be permutated
number of permutations to be performed
a matrix, where each of the
num_permutations columns represents one permutation of the input vector
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.