Stirling2nd function computes the Stirling numbers of the second kind.
This function returns the estimated Stirling numbers of the second kind i.e., the number of ways of partitioning a set of n objects into k nonempty groups.
number of objects.
number of groups (i.e. classes).
The Stirling number of the 2nd kind for n elements and k groups or NaN (if the Stirling number for those n and k is greater than 1e300).
1 2 3 4
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.