- Notifications
You must be signed in to change notification settings - Fork63
xtensor-stack/xtensor-blas
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
xtensor-blas is an extension to the xtensor library, offering bindings to BLAS and LAPACK libraries through cxxblas and cxxlapack from theFLENS project.
xtensor-blas currently provides non-broadcastingdot,norm (1- and 2-norm for vectors),inverse,solve,eig,cross,det,slogdet,matrix_rank,inv,cholesky,qr,svd in thext::linalg namespace (check the correspondingxlinalg.hpp header for the function signatures). The functions, and signatures, are trying to be 1-to-1 equivalent to NumPy.Low-level functions to interface with BLAS or LAPACK with xtensor containers are also offered in theblas andlapack namespace.
xtensor andxtensor-blas require a modern C++ compiler supporting C++14. The following C++ compilers are supported:
- On Windows platforms, Visual C++ 2015 Update 2, or more recent
- On Unix platforms, gcc 4.9 or a recent version of Clang
xtensor-blas is a header-only library. We provide a package for the mamba (or conda) package manager.
mamba install -c conda-forge xtensor-blaswhich will also install the corextensor package.
Or you can directly install it from the sources:
cmake -D CMAKE_INSTALL_PREFIX=your_install_prefixmake installTo build the tests or actually usextensor-blas, you will need binaries for
openblaslapack
which are also available on conda-forge.
You can play withxtensor interactively in a Jupyter notebook right now! Just click on the binder link below:
The C++ support in Jupyter is powered by thexeus-cling C++ kernel. Together with xeus-cling, xtensor enables a similar workflow to that of NumPy with the IPython Jupyter kernel.
For more information on usingxtensor, check out the reference documentation
http://xtensor-blas.readthedocs.io/
xtensor-blas depends on thextensor package
xtensor-blas | xtensor |
|---|---|
| master | ^0.27.0 |
| 0.23.0 | ^0.27.0 |
| 0.22.0 | ^0.26.0 |
| 0.21.0 | ^0.25.0 |
| 0.20.0 | ^0.24.0 |
| 0.19.2 | ^0.23.3 |
| 0.19.1 | ^0.23.3 |
| 0.19.0 | ^0.23.0 |
| 0.18.0 | ^0.22.0 |
| 0.17.2 | ^0.21.4 |
| 0.17.1 | ^0.21.2 |
| 0.17.0 | ^0.21.1 |
| 0.16.1 | ^0.20.4 |
| 0.16.0 | ^0.20.0 |
We use a shared copyright model that enables all contributors to maintain thecopyright on their contributions.
This software is licensed under the BSD-3-Clause license. See theLICENSE file for details.
About
BLAS extension to xtensor
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.