stirling2(m, n)

Stirling numbers of the 2nd kind: the number of ways to partition n elements into k groups
66 download
Aggiornato 29 mag 2016

Visualizza la licenza

Stirling numbers of the 2nd kind show the number of ways in which a set of m elements can be clustered to form n groups. This algorithm uses a recursive formula that is exact up to intmax('uint64'). Stirling numbers under this will be represented exactly and any number larger than this but less than realmax will be approximated using double precision (16-digits). Exact solutions are available for any n in S(26,n), and for select n in S(>26,n) for select n. Solutions are available for S(<220,n) for all n, and S(>=220,n) for select n.

Cita come

Michael Boedigheimer (2024). stirling2(m, n) (https://www.mathworks.com/matlabcentral/fileexchange/57412-stirling2-m-n), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2014b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0