Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/red-rapious/ocaml-cas
A basic Computer Algebra System (CAS) made in OCaml
https://github.com/red-rapious/ocaml-cas
cas computer-algebra-system ocaml
Last synced: 14 days ago
JSON representation
A basic Computer Algebra System (CAS) made in OCaml
- Host: GitHub
- URL: https://github.com/red-rapious/ocaml-cas
- Owner: Red-Rapious
- License: other
- Created: 2022-08-18T15:53:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T17:04:34.000Z (over 1 year ago)
- Last Synced: 2024-11-12T18:28:52.141Z (2 months ago)
- Topics: cas, computer-algebra-system, ocaml
- Language: OCaml
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OCaml-CAS
A basic Computer Algebra System (CAS) made in OCaml## Features
- Various expressions
- Basic function: exponential, natural logarithm, sinus, cosinus, tangent, arctan, ...
- Expression validity checker
- Print expressions (soon in LaTeX format)
- Simplification function
- Derivative function supporting every expression implemented in the CAS## Installation
Enable `opam` commands in command line with:
```
eval $(opam config env)
```
(you can also add it in the PATH permanently)Once in the `OCaml_CAS` folder, see if the program compiles with:
```
dune build
```Run it with:
```
dune exec ./bin/main.exe
```## Files
- `bin/expression.ml`: basic expression type and checker
- `bin/calculus.ml`: derivation and simplification
- `bin/main.ml`: tests
- `bin/output.ml`: function to print expressions## License
This work is licensed under the [CC-BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license.