Function permutation
Source pub fn permutation(n: u64, k: u64) -> u64
Expand description
Calculate the number of permutations of n items taken k at a time.
§Arguments
n - The total number of items.
k - The number of items to choose.
§Panics
If k is greater than n, this function will panic.
§Returns
u64 - The number of permutations.