Description Usage Arguments Value Examples
Generate all posible permutations of the elements of a vector v
. Each row in the output matrix contains a different permutation.
1 | perm(v)
|
v |
a vector. |
a matrix containing all permutations of the elements of vector v
.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.