Jump to content

Permutations: Difference between revisions

→‎{{header|Julia}}: permutations is no longer part of the core language
(→‎{{header|Julia}}: permutations is no longer part of the core language)
Line 3,197:
 
=={{header|Julia}}==
Julia has native support for permutation creation and processing. via the <tt>Combinatorics</tt> package. <tt>permutations(v)</tt> creates an iterator over all permutations of <tt>v</tt>.
<lang Julia>
using Combinatorics
 
term = "RCode"
i = 0
Cookies help us deliver our services. By using our services, you agree to our use of cookies.