{"id":28615749,"url":"https://github.com/ocamlpro/numcaml","last_synced_at":"2025-07-29T03:05:37.713Z","repository":{"id":139969022,"uuid":"1581908","full_name":"OCamlPro/numcaml","owner":"OCamlPro","description":"Scientific Computing Tools For OCaml","archived":false,"fork":false,"pushed_at":"2014-06-25T18:48:06.000Z","size":143,"stargazers_count":36,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"master","last_synced_at":"2023-03-11T18:18:48.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OCamlPro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-07T11:15:53.000Z","updated_at":"2023-03-12T14:41:12.213Z","dependencies_parsed_at":"2023-03-12T14:41:12.132Z","dependency_job_id":null,"html_url":"https://github.com/OCamlPro/numcaml","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/OCamlPro/numcaml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCamlPro%2Fnumcaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCamlPro%2Fnumcaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCamlPro%2Fnumcaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCamlPro%2Fnumcaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OCamlPro","download_url":"https://codeload.github.com/OCamlPro/numcaml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OCamlPro%2Fnumcaml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259382358,"owners_count":22848845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-06-12T02:09:48.172Z","updated_at":"2025-06-12T02:09:48.481Z","avatar_url":"https://github.com/OCamlPro.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"WARNING : numcaml is in early prototype stage. Any contribution/feedback is welcome!\n\nThe goal of numcaml is to be able to deal with numerical computations more easily in Objective Caml.\nMore precisly, it consists of 3 parts :\n\n* a camlp4 syntax extension;\n* a complete and efficient library; and\n* a collection of visualisation tools.\n\nNumcaml is mainly inspired from the great [numpy](numpy.scipy.org/) library for python.\nThe static types of Objective Caml (and the lack of automatic upcasting) makes it difficult to port\nnumpy directly as a library. For example :\n\n    1 + 2.3 \n\nis valid in python because the integer `1` can be upcasted to the float `1.`, and `+` looks dynamically\nat the type of its arguments to know which code to execute. In Objective Caml, the expression is\nrejected because `+` is a function which *must* takes two integers as arguments.\n\nThe syntax extension of numcaml let you write :\n\n    $(1 + 2.3)\n\ninside your Objective Caml programm. This expression is translated, at pre-processing stage, into :\n\n    Math.add (Math.Int 1) (Math.Float 2.3)\n\nand `Math.add` will do the same dynamic dispatch as python is doing for `+`.\n\nYou can see more complete examples of using the numcaml library in the `tests/` directory.\n\n ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focamlpro%2Fnumcaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focamlpro%2Fnumcaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focamlpro%2Fnumcaml/lists"}