mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
8 lines • 333 B
JavaScript
export var compositionDocs = {
name: 'composition',
category: 'Combinatorics',
syntax: ['composition(n, k)'],
description: 'The composition counts of n into k parts. composition only takes integer arguments. The following condition must be enforced: k <= n.',
examples: ['composition(5, 3)'],
seealso: ['combinations']
};