simple-squiggle

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

stirlingS2.js (613B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.stirlingS2Docs = void 0;
      7 var stirlingS2Docs = {
      8   name: 'stirlingS2',
      9   category: 'Combinatorics',
     10   syntax: ['stirlingS2(n, k)'],
     11   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.',
     12   examples: ['stirlingS2(5, 3)'],
     13   seealso: ['bellNumbers']
     14 };
     15 exports.stirlingS2Docs = stirlingS2Docs;