{"id":23890435,"url":"https://github.com/0382/blas-hpp","last_synced_at":"2025-10-04T14:00:11.850Z","repository":{"id":270279498,"uuid":"635233745","full_name":"0382/blas-hpp","owner":"0382","description":"A c++ wrapper of CBLAS, for generic programming.","archived":false,"fork":false,"pushed_at":"2023-05-02T09:31:32.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T19:45:42.139Z","etag":null,"topics":["blas","cblas","linear-algebra","matrix","matrix-library","openblas","openblas-bindings"],"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/0382.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}},"created_at":"2023-05-02T08:56:46.000Z","updated_at":"2023-10-25T16:01:45.000Z","dependencies_parsed_at":"2024-12-30T01:00:34.762Z","dependency_job_id":"195de726-4d13-4af4-9e3b-4d63c0621727","html_url":"https://github.com/0382/blas-hpp","commit_stats":null,"previous_names":["0382/blas-hpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0382/blas-hpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0382%2Fblas-hpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0382%2Fblas-hpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0382%2Fblas-hpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0382%2Fblas-hpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0382","download_url":"https://codeload.github.com/0382/blas-hpp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0382%2Fblas-hpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278322145,"owners_count":25967874,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["blas","cblas","linear-algebra","matrix","matrix-library","openblas","openblas-bindings"],"created_at":"2025-01-04T11:30:16.544Z","updated_at":"2025-10-04T14:00:11.703Z","avatar_url":"https://github.com/0382.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blas-hpp\n\nA c++ wrapper of CBLAS, for generic programming.\n\nA simple example is like\n```c++\n#include \"blas.hpp\"\n#include \u003cvector\u003e\n#include \u003ciostream\u003e\n\nint main(int argc, char const *argv[])\n{\n    std::vector\u003cdouble\u003e m(100, 1.0), v(10, 1.0), r(10, 0.0);\n    blas::gemv(CblasColMajor, CblasNoTrans, 10, 10, 1.0, m.data(), 10, v.data(), 1, 0., r.data(), 1);\n    for(int i = 0; i \u003c 10; ++i)\n    {\n        std::cout \u003c\u003c r[i] \u003c\u003c ',';\n    }\n    return 0;\n}\n```\n\nEvery function like `blas::gemv` supports `float, double, std::complex\u003cfloat\u003e, std::complex\u003cdouble\u003e`, so that your can use them in a `template` function.\n\nIn addition, `blas::dot` for `std::complex\u003cfloat\u003e, std::complex\u003cdouble\u003e` is alias of `cdotc, zdotc`, and `blas::hemv` for `float, double` is alias of `ssymv, dsymv`. `blas::her, blas::her2, blas::hemm, blas::herk, blas::her2k` also works similarly. Thus you can write `template` simpler.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0382%2Fblas-hpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0382%2Fblas-hpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0382%2Fblas-hpp/lists"}