randomlyShuffled

Functional version of std.random.randomShuffle. * * Returns: r randomly shuffled. * * If needed a GC-copy of r is allocated, sorted and returned.

  1. auto randomlyShuffled(Range r, RandomGen gen)
    randomlyShuffled
    (
    Range
    RandomGen
    )
    (
    Range r
    ,
    ref RandomGen gen
    )
  2. auto randomlyShuffled(Range r)

Meta