UNPKG

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 307 B
export var leafCountDocs = { name: 'leafCount', category: 'Algebra', syntax: ['leafCount(expr)'], description: 'Computes the number of leaves in the parse tree of the given expression', examples: ['leafCount("e^(i*pi)-1")', 'leafCount(parse("{a: 22/7, b: 10^(1/2)}"))'], seealso: ['simplify'] };