{"id":48671005,"url":"https://github.com/a-szymanska/mc-integrate-cpp","last_synced_at":"2026-04-10T12:10:28.669Z","repository":{"id":343432143,"uuid":"1177247346","full_name":"a-szymanska/mc-integrate-cpp","owner":"a-szymanska","description":"Lightweight C++ library for Monte Carlo integration with support for multidimensional integrals.","archived":false,"fork":false,"pushed_at":"2026-04-02T21:11:22.000Z","size":66,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T06:19:59.803Z","etag":null,"topics":["monte-carlo-integration","multidimensional-integration","vegas"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-szymanska.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-09T21:00:16.000Z","updated_at":"2026-04-02T18:57:36.000Z","dependencies_parsed_at":"2026-03-10T17:00:28.405Z","dependency_job_id":null,"html_url":"https://github.com/a-szymanska/mc-integrate-cpp","commit_stats":null,"previous_names":["a-szymanska/mc-integrate-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-szymanska/mc-integrate-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-szymanska%2Fmc-integrate-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-szymanska%2Fmc-integrate-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-szymanska%2Fmc-integrate-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-szymanska%2Fmc-integrate-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-szymanska","download_url":"https://codeload.github.com/a-szymanska/mc-integrate-cpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-szymanska%2Fmc-integrate-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31641565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"last_error":"SSL_read: 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":["monte-carlo-integration","multidimensional-integration","vegas"],"created_at":"2026-04-10T12:10:27.688Z","updated_at":"2026-04-10T12:10:28.661Z","avatar_url":"https://github.com/a-szymanska.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monte Carlo integration for C++\n\nSingle-header C++ library for Monte Carlo (and not only) integration with support for multidimensional integrals and optional multithreading for faster computation.\n\n## Integration methods\n\n### Monte Carlo methods\n- `integrate_MC` - integration in 1D with Vegas optimisation\n- `integrate_MC_ndim` - integration for multidimensional integrals\n- `integrate_MC_highdim` - integration for multidimensional integrals, optimised for large number of dimensions \n- `integrate_MC_dist` - integration with importance sampling\n\nSee [`include/integrate_mc.hpp`](include/integrate_mc.hpp).\n\n### Quadrature methods\n- `integrate_trapezoid` - trapezoidal method with adaptive box partition\n- `integrate_simpson` - Simpson's 1/3 trapezoidal method with adaptive box partition\n\nSee [`include/integrate_quadrature.hpp`](include/integrate_quadrature.hpp).\n\n## Get started\n\n### Build\nTo configure the project and compile tests run:\n```bash\n./build.sh\n```\n\n### Usage\n\nTo bundle the library into a single header:\n```bash\n./amalgamate.sh\n```\nTo use the library in your own project download the generated all-in-one header in `mc_integrate_cpp.hpp`.\n\n### Examples\n\nSee the `tests/` directory for example usage of all the integration functions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-szymanska%2Fmc-integrate-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-szymanska%2Fmc-integrate-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-szymanska%2Fmc-integrate-cpp/lists"}