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
15 lines (14 loc) • 591 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.resolveDocs = void 0;
var resolveDocs = exports.resolveDocs = {
name: 'resolve',
category: 'Algebra',
syntax: ['resolve(node, scope)'],
description: 'Recursively substitute variables in an expression tree.',
examples: ['resolve(parse("1 + x"), { x: 7 })', 'resolve(parse("size(text)"), { text: "Hello World" })', 'resolve(parse("x + y"), { x: parse("3z") })', 'resolve(parse("3x"), { x: parse("y+z"), z: parse("w^y") })'],
seealso: ['simplify', 'evaluate'],
mayThrow: ['ReferenceError']
};
;