{"id":13713606,"url":"https://github.com/rleonid/oml","last_synced_at":"2026-03-05T07:01:44.646Z","repository":{"id":28587115,"uuid":"32105210","full_name":"rleonid/oml","owner":"rleonid","description":"OCaml Math Library","archived":false,"fork":false,"pushed_at":"2018-02-01T20:13:56.000Z","size":1467,"stargazers_count":119,"open_issues_count":24,"forks_count":9,"subscribers_count":16,"default_branch":"master","last_synced_at":"2026-02-18T06:40:37.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rleonid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-12T22:02:26.000Z","updated_at":"2025-12-22T22:42:37.000Z","dependencies_parsed_at":"2022-09-03T17:30:44.936Z","dependency_job_id":null,"html_url":"https://github.com/rleonid/oml","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/rleonid/oml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rleonid%2Foml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rleonid%2Foml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rleonid%2Foml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rleonid%2Foml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rleonid","download_url":"https://codeload.github.com/rleonid/oml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rleonid%2Foml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30016506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T23:01:40.308Z","updated_at":"2026-03-05T07:01:44.565Z","avatar_url":"https://github.com/rleonid.png","language":"OCaml","funding_links":[],"categories":["OCaml"],"sub_categories":["General-Purpose Machine Learning"],"readme":"OCaml Math Library\n------------------\n\n%%VERSION%%\n\n[![Build Status](https://travis-ci.org/hammerlab/oml.svg?branch=master)](https://travis-ci.org/hammerlab/oml/)\n[![Coverage Status](https://coveralls.io/repos/hammerlab/oml/badge.svg?branch=HEAD\u0026service=github)](https://coveralls.io/github/hammerlab/oml?branch=HEAD)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hammerlab/oml?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n\nA collection of OCaml Math and Statistics functions.\nThe API is available [online](http://hammerlab.github.io/oml/index.html).\n\n### Goals\n\n  1. Perform simple and sophisticated mathematical and statistical analysis\n      inside of (mostly) OCaml. Please see [Oml_full](#oml_full) section\n      for details.\n  2. Have a descriptive, simple, and typed approach to those algorithms.\n      - _descriptive_: what a function does should be easy to understand from\n        the type and name.\n      - _simple_: don't worry about the corner cases of the algorithms, until\n        you have to.\n      - __typed__: obviously.\n  3. Well tested. There are a subtle dependency between `float` capabilities\n     and these algorithms. The test suite aims to provide bounds as well as a\n     benchmark for comparing algorithms.\n  4. Informative examples.\n\n### Building\n\n  - `make setup` will `opam install` the necessary packages for\n       [Oml_full](#oml_full).\n  - `make build` will compile source.\n  - `make test` for tests.\n        - We use [Kaputt](http://kaputt.x9c.fr/) as the testing framework. Tests\n        are found in `*.mlt` files and are joined with their respective source\n        files only when building a test target.\n        - `make TEST={ModuleName} test` will run the test in `ModuleName`,\n           ex `make TEST=Descriptive test`\n        - `make setup_test` will install packages necessary for testing.\n  - `make covered_test` for [Bisect_ppx](https://github.com/rleonid/bisect_ppx)\n      instrumented test coverage.\n\n### \u003ca name=\"oml_full\"\u003eOml_full\u003c/a\u003e\n\n  Oml_full is a superset of Oml that includes `C` and/or `Fortran` dependencies.\n  It is generally more useful and incorporates `Oml` in a typed equivalent way.\n  The goal is to provide a flexible end-user target for those who don't need\n  `C` dependent functionality.\n\n### Dependencies\n\n  For the \"full\" Oml package `make setup` will `opam install` these:\n\n  - [Lacaml](https://github.com/mmottl/lacaml) for BLAS/LAPACK bindings.\n  - [LBFGS](https://github.com/Chris00/L-BFGS-ocaml) for bindings to LBFGS\n      optimization routines.\n  - [ocephes](https://github.com/rleonid/ocephes) for special functions.\n\n  And for testing:\n\n  - [Kaputt](http://kaputt.x9c.fr/) for testing.\n  - [Bisect_ppx](https://github.com/rleonid/bisect_ppx) for code coverage.\n\n### Contributing\n\nAnything within the problem domain is welcome.\n\n#### Questions, Bugs, Issues\n\nThe best place to discuss Oml is within Github's\n[issues](https://github.com/hammerlab/oml/issues) (even for questions).\n\n#### Guideline\n\n\"Favor readers over writers\" and _Favor users over readers_.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frleonid%2Foml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frleonid%2Foml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frleonid%2Foml/lists"}