#numbers #kind #second #element #function #set #stirling

stirling_numbers

A few functions relating to Stirling numbers of the second kind

8 releases

0.1.7 Jan 21, 2022
0.1.6 Nov 12, 2021
0.1.5 Oct 10, 2021
0.1.4 Jul 9, 2021
0.1.1 Nov 12, 2019

#27 in #kind

MIT license

15KB
208 lines

See stirling_numbers for documentation.


lib.rs:

Stirling numbers of the second kind and friends

For integers 0 ≤ k ≤ n, the Stirling number of the second kind S(n,k) is the number of k-element partitions of a set of size n. See wikipedia.

This crate consists of a few functions related to these Stirling numbers.

Dependencies

~155KB