simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

stirlingS2.js (466B)


      1 export var stirlingS2Docs = {
      2   name: 'stirlingS2',
      3   category: 'Combinatorics',
      4   syntax: ['stirlingS2(n, k)'],
      5   description: 'he Stirling numbers of the second kind, counts the number of ways to partition a set of n labelled objects into k nonempty unlabelled subsets. `stirlingS2` only takes integer arguments. The following condition must be enforced: k <= n. If n = k or k = 1, then s(n,k) = 1.',
      6   examples: ['stirlingS2(5, 3)'],
      7   seealso: ['bellNumbers']
      8 };