permutation

置換行列を作ります

permutation
pure nothrow @safe
(
size_t size = wild
size_t
)
(
const size_t[] pos
)
in { foreach (e; pos) assert (e < pos.length); static if (size != wild) assert (pos.length == size); }

Meta