https://github.com/xtensor-stack/xtensor-sparse
https://github.com/xtensor-stack/xtensor-sparse
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xtensor-stack/xtensor-sparse
- Owner: xtensor-stack
- License: bsd-3-clause
- Created: 2020-04-03T12:02:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T14:23:27.000Z (over 4 years ago)
- Last Synced: 2025-04-09T09:51:50.296Z (9 months ago)
- Language: C++
- Size: 147 KB
- Stars: 31
- Watchers: 8
- Forks: 5
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xtensor-sparse
[](https://travis-ci.com/xtensor-stack/xtensor-sparse)
[](https://ci.appveyor.com/project/xtensor-stack/xtensor-sparse/branch/master)
[](https://dev.azure.com/xtensor-stack/xtensor-stack/_build/latest?definitionId=4&branchName=master)
[](https://gitter.im/QuantStack/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Multi-dimensional sparse arrays based on [xtensor](https://github.com/xtensor-stack/xtensor)
## Introduction
**xtensor-sparse is in development**
## Installation
For now, only installation from sources is available. Be sure to
install the dependencies before trying to install `xtensor-sparse`.
`xtensor-sparse` is a header-only library. you can directly install it
from the sources:
```bash
cmake -DCMAKE_INSTALL_PREFIX=your_install_prefix
make install
```
To build and run the test suite:
```bash
cmake -DDOWNLOAD_GTEST=ON -DCMAKE_INSTALL_PREFIX=your_install_prefix
make xtest
```
## Dependencies
`xtensor-sparse` depends on the [xtensor](https://github.com/xtensor-stack/xtensor) library:
| `xtensor-sparse` | `xtensor` |
|------------------|-----------------|
| master | >=0.21.4, <0.22 |
## License
We use a shared copyright model that enables all contributors to maintain the
copyright on their contributions.
This software is licensed under the BSD-3-Clause license. See the
[LICENSE](LICENSE) file for details.