https://github.com/xtensor-stack/xtl
The x template library
https://github.com/xtensor-stack/xtl
Last synced: about 1 month ago
JSON representation
The x template library
- Host: GitHub
- URL: https://github.com/xtensor-stack/xtl
- Owner: xtensor-stack
- License: bsd-3-clause
- Created: 2017-09-10T19:37:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-26T22:18:00.000Z (10 months ago)
- Last Synced: 2025-04-19T10:39:22.524Z (9 months ago)
- Language: C++
- Homepage:
- Size: 771 KB
- Stars: 216
- Watchers: 17
- Forks: 101
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 
[](https://github.com/xtensor-stack/xtl/actions/workflows/linux.yml)
[](https://github.com/xtensor-stack/xtl/actions/workflows/osx.yml)
[](https://github.com/xtensor-stack/xtl/actions/workflows/windows.yml)
[](https://xtl.readthedocs.io/en/latest/?badge=latest)
[](https://gitter.im/QuantStack/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Basic tools (containers, algorithms) used by other quantstack packages
## Installation
### Package managers
We provide a package for the mamba (or conda) package manager:
```bash
mamba install -c conda-forge xtl
```
### Install from sources
`xtl` is a header-only library.
You can directly install it from the sources:
```bash
cmake -D CMAKE_INSTALL_PREFIX=your_install_prefix
make install
```
## Documentation
To get started with using `xtl`, check out the full documentation
http://xtl.readthedocs.io/
## Building the HTML documentation
xtl's documentation is built with three tools
- [doxygen](http://www.doxygen.org)
- [sphinx](http://www.sphinx-doc.org)
- [breathe](https://breathe.readthedocs.io)
While doxygen must be installed separately, you can install breathe by typing
```bash
pip install breathe
```
Breathe can also be installed with `conda`
```bash
conda install -c conda-forge breathe
```
Finally, build the documentation with
```bash
make html
```
from the `docs` subdirectory.
## 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.