Skip to content

An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON

License

Notifications You must be signed in to change notification settings

cortex-js/compute-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Apr 19, 2025
585536c Β· Apr 19, 2025
May 25, 2021
Jul 5, 2024
Aug 27, 2024
Mar 17, 2022
Sep 27, 2024
Mar 26, 2022
Feb 25, 2025
Apr 18, 2025
Apr 19, 2025
Apr 19, 2025
Feb 19, 2021
Nov 12, 2020
Jul 13, 2024
Nov 12, 2020
Feb 16, 2024
Jul 13, 2024
Oct 17, 2023
May 25, 2021
Apr 18, 2025
May 25, 2021
May 25, 2021
Nov 12, 2020
Oct 12, 2024
Mar 31, 2025
Mar 31, 2025
Jun 29, 2022
Oct 1, 2024
Mar 30, 2025

Repository files navigation

math live

Cortex Compute Engine

Symbolic manipulation and numeric evaluation of MathJSON expressions

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

MathJSON
A lightweight mathematical notation interchange format
MathLive (on GitHub)
A Web Component for math input.
Cortex (on GitHub)
A programming language for scientific computing

Support the Project

  • 🌟 Star the GitHub repo (it really helps)
  • πŸ’¬ Ask questions and give feedback on our Discussion Forum
  • πŸ“¨ Drop a line to arno@arno.org

License

This project is licensed under the MIT License.