The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Permutations.this
mir
combinatorics
Permutations
state should have the length of
n - 1
, whereas the length of indices should be
n
struct
Permutations
(T)
@
safe
pure nothrow @
nogc
this
()
(
T
[]
state
,
T
[]
indices
)
if
(
isUnsigned
!
T
&&
T.sizeof
<=
size_t.sizeof
)
Meta
Source
See Implementation
mir
combinatorics
Permutations
aliases
DeepElement
constructors
this
functions
popFront
properties
empty
front
length
save
shape
state should have the length of n - 1, whereas the length of indices should be n