An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON
MathJSON is a lightweight mathematical
notation interchange format based on JSON.
The Cortex Compute Engine can parse LaTeX to MathJSON, serialize MathJSON to
LaTeX or MathASCII, format, simplify and evaluate MathJSON expressions.
Reference documentation and guides at
cortexjs.io/compute-engine.
$ npm install --save @cortex-js/compute-engine
import { ComputeEngine } from "@cortex-js/compute-engine";
const ce = new ComputeEngine();
ce.parse("2^{11}-1 \\in \\Z").evaluate().print()
// ➔ "True"
Q How do I build the project?
Build instructions
This project is licensed under the MIT License.