mathjs
mathjs copied to clipboard
WIP: "symbolic" evaluation
This PR is not intended for merging as-is, but serves to demonstrate (vis-a-vis issue #2437) that essentially all the ingredients already exist in mathjs for evaluation in which all undefined variables are treated as symbols, therefore possibly returning an expression (Node) rather than a concrete value (while still evaluating all the way to concrete values when possible).
See (or run) examples/symbolic_evaluation.js
for further details on this.
Closing in favor of #2475.