mir-algorithm ~master (2021-09-24T13:11:04Z)
Dub
Repo
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