language-julia hljs">CombinationsArray(lst, k)::Array{Array{Any}}</code></pre><p>Function that calculates all combinations in an array of Integers.</p><p><strong>Arguments</strong></p><ul><li><code>lst::Array</code> : A list of Integers.</li><li><code>k::Int</code> : The order of the combinations.</li></ul><p><strong>Return</strong></p><p>Returns an array with all combinations of elements taken k at a time.</p></div><a class="docs-sourcelink" target="_blank" href="https://github.com/VitorLorencone/Mingal.jl