Skip to content
FutureBlitz

    Install

    Import std.algo.combinatorics

    PermutationIterator

    std.algo.combinatorics

    class

    Public Class PermutationIterator<T> Implements Iterator<T[]>

    Gives every order of count elements of an array, from the first order by position.

    std/algo/combinatorics.fb, line 12

    • Public Method Next(): T[]? method #

      The next order, a new array, or Null once it has given every one.

    Report an issue with this page or with FutureBlitz on GitHub.