{"id":21433582,"url":"https://github.com/limix/hcephes","last_synced_at":"2025-07-14T13:31:24.576Z","repository":{"id":60721102,"uuid":"100634270","full_name":"limix/hcephes","owner":"limix","description":"The Netlib Cephes library reformatted for the 21st century.","archived":false,"fork":false,"pushed_at":"2020-01-03T21:20:18.000Z","size":630,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T09:11:22.477Z","etag":null,"topics":[],"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/limix.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-08-17T18:38:17.000Z","updated_at":"2024-08-30T07:16:40.000Z","dependencies_parsed_at":"2022-10-03T19:17:02.403Z","dependency_job_id":null,"html_url":"https://github.com/limix/hcephes","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/limix/hcephes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limix%2Fhcephes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limix%2Fhcephes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limix%2Fhcephes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limix%2Fhcephes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/limix","download_url":"https://codeload.github.com/limix/hcephes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/limix%2Fhcephes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265297459,"owners_count":23742586,"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":"2024-11-22T23:28:52.339Z","updated_at":"2025-07-14T13:31:24.272Z","avatar_url":"https://github.com/limix.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hcephes\n\n[![Travis](https://travis-ci.com/limix/hcephes.svg?branch=master)](https://travis-ci.com/limix/hcephes)\n\nThe [Netlib Cephes library](https://www.netlib.org/cephes/) reformatted for the 21st\ncentury.\n\n## Install\n\nThe easiest way of installing it is via [conda](https://conda.io/)\n\n```bash\nconda install -c conda-forge hcephes\n```\n\nAlternatively, one can compile and install it.\nFrom Linux, MacOS, or Windows (bash terminal) systems, enter\n\n```bash\n# DO_CMD=sudo\ncurl -fsSL https://git.io/JerYI | GITHUB_USER=limix GITHUB_PROJECT=hcephes bash\n```\n\n## Usage\n\nIt requires you to provide the library name `hcephes` to your linker and the path\ninclusion of its `hcephes.h` header to your compiler.\nFor example, suppose you on MacOS and you are using [gcc](https://www.gnu.org/software/gcc/).\nA C file like\n\n```c\n/* example.c */\n#include \"hcephes.h\"\n\n#include \u003cstdio.h\u003e\n#include \u003cstdlib.h\u003e\n\nint main() {\n    printf(\"%f\\n\", hcephes_bdtr(4, 5, 0.25));\n    return 0;\n}\n```\n\nmight require the following command to create an executable file:\n\n```bash\ngcc example.c -lhcephes -I/usr/local/include -o example\n```\n\nFor the complete list of the available functions, we refer the reader to\n[include/hcephes.h](include/hcephes.h) file itself and to the [cephes library](https://www.netlib.org/cephes/)\ndocumentation.\n\n## CMake\n\nAdd the following to your `CMakeLists.txt`:\n\n```\nfind_package(hcephes REQUIRED)\n\ntarget_link_libraries(mylib PRIVATE HCEPHES::hcephes)\n```\n\n## Authors\n\n* [Danilo Horta](https://github.com/horta)\n\n## License\n\nThis project is licensed under the [MIT License](https://raw.githubusercontent.com/limix/hcephes/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimix%2Fhcephes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimix%2Fhcephes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimix%2Fhcephes/lists"}