You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,19 +24,6 @@ The Python bindings for `xtensor` are based on the [pybind11](https://github.com
24
24
conda install -c conda-forge xtensor-python
25
25
```
26
26
27
-
### Dependences on `xtensor` and `pybind11`
28
-
29
-
`xtensor-python` depends on the `xtensor` and `pybind11` libraries
30
-
31
-
|`xtensor-python`|`xtensor`|`pybind11`|
32
-
|-------------------|------------|-------------|
33
-
| master | ^0.9.0 | ^2.1.0 |
34
-
| 0.10.x | ^0.9.0 | ^2.1.0 |
35
-
| 0.9.x | ^0.8.1 | ^2.1.0 |
36
-
| 0.8.x | ^0.8.1 | ^2.1.0 |
37
-
38
-
These dependencies are automatically resolved when using the conda package manager.
39
-
40
27
## Usage
41
28
42
29
xtensor-python offers two container types wrapping numpy arrays inplace to provide an xtensor semantics
@@ -51,7 +38,7 @@ Both containers enable the numpy-style APIs of xtensor (see [the numpy to xtenso
51
38
- On the other hand ``pytensor`` has a compile time number of dimensions, specified with a template parameter. Shapes of ``pytensor`` instances are stack allocated, making ``pytensor`` a significantly
52
39
faster expression than ``pyarray``.
53
40
54
-
### Example 1: Use an algorithm of the C++ library on a numpy array inplace.
41
+
### Example 1: Use an algorithm of the C++ standard library on a numpy array inplace.
55
42
56
43
**C++ code**
57
44
@@ -61,7 +48,7 @@ faster expression than ``pyarray``.
61
48
#include"xtensor/xmath.hpp"// xtensor import for the C++ universal functions
0 commit comments