simple-squiggle

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

permutations.js (339B)


      1 export var permutationsDocs = {
      2   name: 'permutations',
      3   category: 'Probability',
      4   syntax: ['permutations(n)', 'permutations(n, k)'],
      5   description: 'Compute the number of permutations of n items taken k at a time',
      6   examples: ['permutations(5)', 'permutations(5, 3)'],
      7   seealso: ['combinations', 'combinationsWithRep', 'factorial']
      8 };