Multi-dimensional arrays with broadcasting and lazy computing.
"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Introduction\n",
"\n",
"`xtensor` is a C++ library meant for numerical analysis with multi-dimensional array expressions.\n",
"\n",
"`xtensor` provides\n",
"\n",
" - an extensible expression system enabling **lazy broadcasting**.\n",
" - an API following the idioms of the **C++ standard library**.\n",
" - tools to manipulate array expressions and build upon `xtensor`.\n",
"\n",
"The implementation of the containers of `xtensor` is inspired by [NumPy](http://www.numpy.org), 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](https://docs.python.org/3/c-api/buffer.html).\n",
"\n",
"`xtensor` requires a modern C++ compiler supporting C++14. The following C+ compilers are supported:\n",
"\n",
" - On Windows platforms, Visual C++ 2015 Update 2, or more recent\n",
" - On Unix platforms, gcc 4.9 or a recent version of Clang"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Usage\n",
"\n",
"