The idea is that these implement the extremely useful (at least in combinatorics and statistics) operators of "pick" and "choose", usually rendered in textbooks as "nPr" and "nCr".
I'm open to better method names; "pick" clashes with .pick/2 on true and false.
The idea is that these implement the extremely useful (at least in combinatorics and statistics) operators of "pick" and "choose", usually rendered in textbooks as "nPr" and "nCr".
I'm open to better method names; "pick" clashes with
.pick/2
ontrue
andfalse
.