simple-squiggle

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

composition.js (333B)


      1 export var compositionDocs = {
      2   name: 'composition',
      3   category: 'Combinatorics',
      4   syntax: ['composition(n, k)'],
      5   description: 'The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.',
      6   examples: ['composition(5, 3)'],
      7   seealso: ['combinations']
      8 };