@cortex-js/compute-engine
v0.27.0
Published
Symbolic computing and numeric evaluations for JavaScript and Node.js
Downloads
96,872
Maintainers
Readme
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.
Using 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"
FAQ
Q How do I build the project?
Build instructions
Related Projects
Support the Project
- 🌟 Star the GitHub repo (it really helps)
- 💬 Ask questions and give feedback on our Discussion Forum
- 📨 Drop a line to [email protected]
License
This project is licensed under the MIT License.