Runnable example programs for jmax. Each subdirectory is an independent example
with its own README explaining what it shows and how to run it. Every program
here is verified against the current jmax binary.
cargo binstall jmax
# or
cargo install jmax
# or download from https://github.com/openIE-dev/jmax/releasesNo install? Run JMax in your browser at play.charlot-lang.dev.
| Example | Shows | Run |
|---|---|---|
hello/ |
solve, eigenvalues, determinant | jmax run examples/hello/hello.jm |
linear-algebra/ |
\ solve, Cholesky, determinant |
jmax run examples/linear-algebra/solve.jm |
signal-processing/ |
FFT magnitude spectrum | jmax run examples/signal-processing/fft.jm |
statistics/ |
mean/std + OLS regression | jmax run examples/statistics/stats.jm |
plotting/ |
plot as a statement → SVG |
jmax run examples/plotting/plot.jm |
symbolic/ |
exact algebra via jmax eval |
see README |
optimization/ |
minimize / root / fit (CLI) | see README |
Examples in this directory are licensed under Apache-2.0 — copy them into your own projects without license contamination. See LICENSE.
This differs from the rest of this repository (binaries under BSL-1.1, documentation under CC-BY-4.0).