Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cortex-js/compute-engine
An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON
https://github.com/cortex-js/compute-engine
cas compute-engine format javascript json latex math math-json symbolic-computation technical-computing typescript
Last synced: 1 day ago
JSON representation
An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON
- Host: GitHub
- URL: https://github.com/cortex-js/compute-engine
- Owner: cortex-js
- License: mit
- Created: 2019-10-31T04:35:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T14:33:28.000Z (14 days ago)
- Last Synced: 2024-11-07T18:57:34.709Z (8 days ago)
- Topics: cas, compute-engine, format, javascript, json, latex, math, math-json, symbolic-computation, technical-computing, typescript
- Language: TypeScript
- Homepage: https://cortexjs.io
- Size: 14.4 MB
- Stars: 374
- Watchers: 10
- Forks: 47
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesomeLibrary - compute-engine - An engine for symbolic manipulation and numeric evaluation of math formulas expressed with MathJSON (语言资源库 / typescript)
README
Cortex Compute Engine
Symbolic manipulation and numeric evaluation of MathJSON expressions
[MathJSON](https://cortexjs.io/math-json/) 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](https://cortexjs.io/compute-engine/).[![](https://dcbadge.vercel.app/api/server/yhmvVeJ4Hd)](https://discord.gg/yhmvVeJ4Hd)
## Using Compute Engine
```bash
$ npm install --save @cortex-js/compute-engine
``````js
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](BUILD.md) 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](https://cortexjs.io/forum/)
- 📨 Drop a line to [email protected]
## License
This project is licensed under the [MIT License](LICENSE).