Returns all possible permutations given the number of elements.
perms(n)
Number of elements.
Returns a matrix containing all possible permutations.
ClassProp.
ClassProp
# NOT RUN { <!-- %\dontrun{ --> # } # NOT RUN { perms(3) # } # NOT RUN { <!-- %} --> # }
Run the code above in your browser using DataLab