xtensor
is a C++ library meant for numerical analysis with multi-dimensional array expressions.xtensor
provides- an extensible expression system enabling lazy broadcasting.
- an API following the idioms of the C++ standard library.
- tools to manipulate array expressions and build upon
xtensor
.
xtensor
are inspired by NumPy, the Python array programming library. Adaptors for existing data structures to be plugged into our expression system can easily be written. In fact, xtensor
can be used to process numpy
data structures inplace using Python’s buffer protocol. For more details on the numpy bindings, check out the xtensor-python project.xtensor
requires 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
is a header-only library."http://quantstack.net/xtensor
Python bindings for the xtensor C++ multi-dimensional array library.
-
xtensor
is a C++ library for multi-dimensional arrays enabling numpy-style broadcasting and lazy computing.
-
xtensor-python
enables inplace use of numpy arrays in C++ with all the benefits fromxtensor
- C++ universal function and broadcasting
- STL - compliant APIs.
- A broad coverage of numpy APIs (see the numpy to xtensor cheat sheet).
xtensor
are based on the pybind11 C++ library, which enables seemless interoperability between C++ and Python.https://github.com/QuantStack/xtensor-python
No comments:
Post a Comment