A collection of OCaml Math and Statistics functions. The API is available online.
- Perform simple and sophisticated mathematical and statistical analysis inside of (mostly) OCaml.
- Have a descriptive, simple, and typed approach to those algorithms.
- descriptive: what a function does should be easy to understand from the type and name.
- simple: don't worry about the corner cases of the algorithms, until you have to.
- typed: obviously.
- Well tested. There are a subtle dependency between
floatcapabilities and these algorithms. The test suite aims to provide bounds as well as a benchmark for comparing algorithms. - Informative examples.
makewill compile source.make testfor tests. - We use Kaputt as the testing framework. Tests are found in*.mltfiles and are joined with their respective source files only when we build a test target. -make TEST={ModuleName} testwill run the test inModuleName, exmake TEST=Descriptive testmake covered_testfor Bisect_ppx instrumented test coverage.
make setup will opam install these:
- Lacaml for BLAS/LAPACK bindings.
- LBFGS for bindings to LBFGS optimization routines.
- Kaputt for testing.
- Bisect_ppx for code coverage.
- ocephes for special functions.
Anything within the problem domain is welcome.
The best place to discuss Oml is within Github's issues (even for questions).
"Favor readers over writers" and Favor users over readers.