symbolic mathematics engine in OCaml with differentiation, integration, simplification, and numerical methods
1.PHONY: build test clean install repl examples bench all
2
3all: build
4
5build:
6 dune build
7
8test:
9 dune test
10
11clean:
12 dune clean
13
14install:
15 dune install
16
17repl:
18 dune exec leibniz-repl
19
20examples:
21 @echo "running basic example..."
22 @dune exec examples/basic.exe
23 @echo "\nrunning calculus example..."
24 @dune exec examples/calculus.exe
25 @echo "\nrunning multivariate example..."
26 @dune exec examples/multivariate.exe
27 @echo "\nrunning physics example..."
28 @dune exec examples/physics.exe
29 @echo "\nrunning numerical example..."
30 @dune exec examples/numerical.exe
31 @echo "\nrunning symbolic constants example..."
32 @dune exec examples/symbolic_constants.exe
33 @echo "\nrunning advanced tier 1 example..."
34 @dune exec examples/advanced_tier1.exe
35 @echo "\nrunning advanced tier 2 example..."
36 @dune exec examples/advanced_tier2.exe
37
38bench:
39 dune exec bench/bench_suite.exe