{"id":13712674,"url":"https://github.com/xtensor-stack/xtensor-blas","last_synced_at":"2025-10-10T00:34:03.732Z","repository":{"id":43112651,"uuid":"86798407","full_name":"xtensor-stack/xtensor-blas","owner":"xtensor-stack","description":"BLAS extension to xtensor","archived":false,"fork":false,"pushed_at":"2025-07-15T13:46:32.000Z","size":4548,"stargazers_count":168,"open_issues_count":58,"forks_count":63,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-07-16T05:29:58.946Z","etag":null,"topics":["blas","c-plus-plus-14","lapack","linear-algebra","xtensor"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xtensor-stack.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":"2017-03-31T08:48:41.000Z","updated_at":"2025-07-15T13:46:37.000Z","dependencies_parsed_at":"2023-02-16T09:01:21.756Z","dependency_job_id":"f107b461-a28e-4420-b09f-135308c454b4","html_url":"https://github.com/xtensor-stack/xtensor-blas","commit_stats":{"total_commits":222,"total_committers":30,"mean_commits":7.4,"dds":0.6621621621621622,"last_synced_commit":"23ba27706c848dcf3b8534533e3389d22d5200ba"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/xtensor-stack/xtensor-blas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-blas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-blas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-blas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-blas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtensor-stack","download_url":"https://codeload.github.com/xtensor-stack/xtensor-blas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtensor-stack%2Fxtensor-blas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002359,"owners_count":26083357,"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-09T02:00:07.460Z","response_time":59,"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","c-plus-plus-14","lapack","linear-algebra","xtensor"],"created_at":"2024-08-02T23:01:21.187Z","updated_at":"2025-10-10T00:34:03.725Z","avatar_url":"https://github.com/xtensor-stack.png","language":"C++","readme":"# ![xtensor](docs/source/xtensor-blas.svg)\n\n[![GHA Linux](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/linux.yml/badge.svg)](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/linux.yml)\n[![GHA OSX](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/osx.yml/badge.svg)](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/osx.yml)\n[![GHA Windows](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/windows.yml/badge.svg)](https://github.com/xtensor-stack/xtensor-blas/actions/workflows/windows.yml)\n[![Documentation](http://readthedocs.org/projects/xtensor-blas/badge/?version=latest)](https://xtensor-blas.readthedocs.io/en/latest/?badge=latest)\n[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/xtensor-stack/xtensor/stable?filepath=notebooks%2Fxtensor.ipynb)\n[![Join the Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/QuantStack/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n## Introduction\n\n`xtensor-blas` is an extension to the xtensor library, offering bindings to BLAS and LAPACK libraries through cxxblas and cxxlapack from the [FLENS](https://github.com/michael-lehn/FLENS) project.\n\n`xtensor-blas` currently provides non-broadcasting `dot`, `norm` (1- and 2-norm for vectors), `inverse`, `solve`,\n`eig`, `cross`, `det`, `slogdet`, `matrix_rank`, `inv`, `cholesky`, `qr`, `svd` in the `xt::linalg` namespace (check the corresponding `xlinalg.hpp` header for the function signatures). The functions, and signatures, are trying to be 1-to-1 equivalent to NumPy.\nLow-level functions to interface with BLAS or LAPACK with xtensor containers are also offered in the `blas` and `lapack` namespace.\n\n`xtensor` and `xtensor-blas` require a modern C++ compiler supporting C++14. The following C++ compilers are supported:\n\n - On Windows platforms, Visual C++ 2015 Update 2, or more recent\n - On Unix platforms, gcc 4.9 or a recent version of Clang\n\n## Installation\n\nxtensor-blas is a header-only library. We provide a package for the mamba (or conda) package manager.\n\n```\nmamba install -c conda-forge xtensor-blas\n```\n\nwhich will also install the core `xtensor` package.\n\nOr you can directly install it from the sources:\n\n```\ncmake -D CMAKE_INSTALL_PREFIX=your_install_prefix\nmake install\n```\n\nTo build the tests or actually use `xtensor-blas`, you will need binaries for\n\n - `openblas`\n - `lapack`\n\nwhich are also available on conda-forge.\n\n## Trying it online\n\nYou can play with `xtensor` interactively in a Jupyter notebook right now! Just click on the binder link below:\n\n[![Binder](binder-logo.svg)](https://mybinder.org/v2/gh/xtensor-stack/xtensor/stable?filepath=notebooks%2Fxtensor.ipynb)\n\nThe C++ support in Jupyter is powered by the [xeus-cling](https://github.com/xtensor-stack/xeus-cling) C++ kernel. Together with xeus-cling, xtensor enables a similar workflow to that of NumPy with the IPython Jupyter kernel.\n\n## Documentation\n\nFor more information on using `xtensor`, check out the reference documentation\n\nhttp://xtensor-blas.readthedocs.io/\n\n## Dependency on `xtensor`\n\n`xtensor-blas` depends on the `xtensor` package\n\n| `xtensor-blas`  | `xtensor` |\n|-----------------|-----------|\n| master          |  ^0.27.0  |\n| 0.23.0          |  ^0.27.0  |\n| 0.22.0          |  ^0.26.0  |\n| 0.21.0          |  ^0.25.0  |\n| 0.20.0          |  ^0.24.0  |\n| 0.19.2          |  ^0.23.3  |\n| 0.19.1          |  ^0.23.3  |\n| 0.19.0          |  ^0.23.0  |\n| 0.18.0          |  ^0.22.0  |\n| 0.17.2          |  ^0.21.4  |\n| 0.17.1          |  ^0.21.2  |\n| 0.17.0          |  ^0.21.1  |\n| 0.16.1          |  ^0.20.4  |\n| 0.16.0          |  ^0.20.0  |\n\n## License\n\nWe use a shared copyright model that enables all contributors to maintain the\ncopyright on their contributions.\n\nThis software is licensed under the BSD-3-Clause license. See the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["Linear Algebra / Statistics Toolkit"],"sub_categories":["General Purpose Tensor Library"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtensor-stack%2Fxtensor-blas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtensor-stack%2Fxtensor-blas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtensor-stack%2Fxtensor-blas/lists"}