E
Ed Neukirch
I would like to determine nPr -- that is, the permutation of 'n' items
taken 'r' at a time preferably using the prev_permutation and
next_permutation functions of the STL. I 'googled' but could find nothing
useful.
I would appreciate any guidance or direction toward either algorithms or
source code.
Thanking you in advance.
Ed
taken 'r' at a time preferably using the prev_permutation and
next_permutation functions of the STL. I 'googled' but could find nothing
useful.
I would appreciate any guidance or direction toward either algorithms or
source code.
Thanking you in advance.
Ed