leafCount.js 307 B

12345678
  1. export var leafCountDocs = {
  2. name: 'leafCount',
  3. category: 'Algebra',
  4. syntax: ['leafCount(expr)'],
  5. description: 'Computes the number of leaves in the parse tree of the given expression',
  6. examples: ['leafCount("e^(i*pi)-1")', 'leafCount(parse("{a: 22/7, b: 10^(1/2)}"))'],
  7. seealso: ['simplify']
  8. };