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
13 lines (12 loc) • 351 B
JavaScript
export const 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']
}