Introduction — xtensor documentation (original) (raw)

Multi-dimensional arrays with broadcasting and lazy computing.

xtensor is a C++ library meant for numerical analysis with multi-dimensional array expressions.

xtensor provides

Containers of xtensor are inspired by NumPy, the Python array programming library. Adaptors for existing data structures to be plugged into the expression system can easily be written.

In fact, xtensor can be used to process NumPy data structures in-placeusing Python’s buffer protocol. For more details on the NumPy bindings, check out the xtensor-python project. Language bindings for R and Julia are also available.

xtensor requires a modern C++ compiler supporting C++14. The following C++ compilers are supported: