The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
RandomSample.this
mir
random
algorithm
RandomSample
this
(Range range, G gen, size_t n)
this
(Range range, G* gen, size_t n)
this
(Range range, G gen, size_t n)
struct
RandomSample
(G, Range)
@
system
this
()
(
Range
range
,
ref
G
gen
,
size_t
n
)
if
(
is
(
G
== struct)
)
Meta
Source
See Implementation
mir
random
algorithm
RandomSample
constructors
this
functions
empty
front
length
popFront
save