stirlingnumber1ku
Calulates the Stirling number of the fist kind - unsigned. They count the number of permutations of n elements with k disjoint cycles. Depending on input, function can return scalar, vector or matrix
Arguments
- Integer n
- Integer k
Output
Stirling number
Examples