leafCount.js 451 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.leafCountDocs = void 0;
  6. var leafCountDocs = {
  7. name: 'leafCount',
  8. category: 'Algebra',
  9. syntax: ['leafCount(expr)'],
  10. description: 'Computes the number of leaves in the parse tree of the given expression',
  11. examples: ['leafCount("e^(i*pi)-1")', 'leafCount(parse("{a: 22/7, b: 10^(1/2)}"))'],
  12. seealso: ['simplify']
  13. };
  14. exports.leafCountDocs = leafCountDocs;