{"id":15673161,"url":"https://github.com/schultzer/libblas","last_synced_at":"2025-05-06T22:24:31.938Z","repository":{"id":90501149,"uuid":"172147449","full_name":"Schultzer/libblas","owner":"Schultzer","description":"BLAS for Rust","archived":false,"fork":false,"pushed_at":"2020-05-12T01:19:53.000Z","size":372,"stargazers_count":15,"open_issues_count":4,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T23:47:01.473Z","etag":null,"topics":["algorithms","blas","linear-algebra","machine-learning","mathematics","science"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Schultzer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2019-02-22T23:17:22.000Z","updated_at":"2022-01-22T17:04:37.000Z","dependencies_parsed_at":"2023-04-12T20:01:11.218Z","dependency_job_id":null,"html_url":"https://github.com/Schultzer/libblas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schultzer%2Flibblas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schultzer%2Flibblas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schultzer%2Flibblas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Schultzer%2Flibblas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Schultzer","download_url":"https://codeload.github.com/Schultzer/libblas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252777705,"owners_count":21802639,"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":["algorithms","blas","linear-algebra","machine-learning","mathematics","science"],"created_at":"2024-10-03T15:37:59.446Z","updated_at":"2025-05-06T22:24:31.917Z","avatar_url":"https://github.com/Schultzer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# libblas\n[![documentation](https://docs.rs/libblas/badge.svg)](https://docs.rs/libblas)\n[![CircleCI](https://circleci.com/gh/Schultzer/libblas.svg?style=svg)](https://circleci.com/gh/Schultzer/libblas)\n[![Build status](https://ci.appveyor.com/api/projects/status/6tywgu4a035iqeqn?svg=true)](https://ci.appveyor.com/project/Schultzer/libblas)\n\n\n[BLAS](https://en.wikipedia.org/wiki/Basic_Linear_Algebra_Subprograms) for Rust.\n\n## Why\n[why]: #why\n\n - No special trait representing matrices or vectors\n - Powerful generics\n - Fully tested against [REFERENCE BLAS Version 3.8.0](http://www.netlib.org/blas/)\n - Performance are equal or faster than [Accelerate](https://developer.apple.com/documentation/accelerate) framework\n - No hand tuned assembly\n\n## Examples\n\n```rust\nextern crate libblas;\nuse libblas::level3;\n\nfn main {\n  // 3X2 matrix\n  let a = vec![1.,2.,3.,4.,5.,6.];\n  let b = vec![1.,1.,1.,1.,1.,1.];\n  let mut c = vec![2.,1.,3.,1.,4.,1.];\n  level3::gemm('n', 'n', 2, 2, 1, 0.3, \u0026a, 3, \u0026b, 3, 1.3, \u0026mut c, 3);\n  assert!(c, vec![2.9, 1.9, 3.0, 1.6, 5.8, 1.0])\n}\n```\n\n\n## Usage\n[usage]: #usage\n\nAdd this to your `Cargo.toml`:\n\n```toml\n[dependencies]\nlibblas = \"0.1\"\n```\n\nand this to your crate root:\n\n```rust\nextern crate libblas;\n```\n\n## Releases\n[releases]: #releases\n\nRelease notes are available in [RELEASES.md](RELEASES.md).\n\n## Conformance\n[conformance]: #conformance\n\nConformance testing is done by generating fixtures from [REFERENCE BLAS Version 3.8.0](http://www.netlib.org/blas/) and run against `libblas`.\nTo generate the fixture you need to have [json-fortran](https://github.com/jacobwilliams/json-fortran) installed.\n\nRun `sh ./script/conformance.sh \u0026\u0026 cargo test --test conformance`.\n\nNOTE: only `double precision` and `complex*16` fixtures are generated.\n\n## Benchmark\n[benchmark]: #benchmark\nThe benchmark suite does not benchmark against other BLAS implemations. See [libblas-bench](https://github.com/schultzer/libblas-bench).\n\nRun `cargo +nightly bench`\n\nNOTE: remember to have nightly installed `rustup install nightly`.\n\n\n## Acknowledgement\n[acknowledgement]: #acknowledgement\n\n`libblas` is implemented following the [REFERENCE BLAS Version 3.8.0](http://www.netlib.org/blas/) and [blas-js](https://github.com/R-js/blasjs).\n\n\n## License\n[license]: #license\n\n`libblas` is primarily distributed under the terms of both the MIT license\nand the Apache License (Version 2.0).\n\nSee [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and\n[COPYRIGHT](COPYRIGHT) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultzer%2Flibblas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschultzer%2Flibblas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschultzer%2Flibblas/lists"}