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

14 lines (13 loc) 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.leafCountDocs = void 0; var leafCountDocs = exports.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'] };