| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
5 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,7 +22,7 @@ install: | |||
| 22 | 22 | - conda update -q conda | |
| 23 | 23 | - conda info -a | |
| 24 | 24 | - conda install gtest cmake -c conda-forge | |
| 25 | - - conda install pytest numpy pybind11==2.2.1 xtensor==0.20.0 -c conda-forge | ||
| 25 | + - conda install pytest numpy pybind11==2.2.1 xtensor==0.20.4 -c conda-forge | ||
| 26 | 26 | - "set PYTHONHOME=%MINICONDA%" | |
| 27 | 27 | - cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX=%MINICONDA%\\Library -D BUILD_TESTS=ON -D PYTHON_EXECUTABLE=%MINICONDA%\\python.exe . | |
| 28 | 28 | - nmake test_xtensor_python | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -147,7 +147,7 @@ install: | |||
| 147 | 147 | else | |
| 148 | 148 | conda install pybind11==${PYBIND11_VERSION} -c conda-forge | |
| 149 | 149 | fi | |
| 150 | - - conda install xtensor==0.20.0 -c conda-forge | ||
| 150 | + - conda install xtensor==0.20.4 -c conda-forge | ||
| 151 | 151 | - cmake -D DOWNLOAD_GTEST=ON -D CMAKE_INSTALL_PREFIX=$HOME/miniconda -D PYTHON_EXECUTABLE=$PY_EXE . | |
| 152 | 152 | - make -j2 test_xtensor_python | |
| 153 | 153 | - make install | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -195,7 +195,7 @@ from the `docs` subdirectory. | |||
| 195 | 195 | ||
| 196 | 196 | | `xtensor-python` | `xtensor` | `pybind11` | | |
| 197 | 197 | |------------------|-----------|------------------| | |
| 198 | - | master | ^0.20.0 | ~2.2.1 | | ||
| 198 | + | master | ^0.20.4 | ~2.2.1 | | ||
| 199 | 199 | | 0.22.x | ^0.19.0 | ~2.2.1 | | |
| 200 | 200 | | 0.21.x | ^0.18.0 | ~2.2.1 | | |
| 201 | 201 | | 0.20.x | ^0.17.0 | ~2.2.1 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -320,10 +320,12 @@ namespace xt | |||
| 320 | 320 | * @class pyarray | |
| 321 | 321 | * @brief Multidimensional container providing the xtensor container semantics to a numpy array. | |
| 322 | 322 | * | |
| 323 | - * pyarray is similar to the xarray container in that it has a dynamic dimensionality. Reshapes of | ||
| 324 | - * a pyarray container are reflected in the underlying numpy array. | ||
| 323 | + * pyarray is similar to the xarray container in that it has a dynamic dimensionality. | ||
| 324 | + * Reshapes of a pyarray container are reflected in the underlying numpy array. | ||
| 325 | 325 | * | |
| 326 | 326 | * @tparam T The type of the element stored in the pyarray. | |
| 327 | + * @tparam L Static layout of the pyarray | ||
| 328 | + * | ||
| 327 | 329 | * @sa pytensor | |
| 328 | 330 | */ | |
| 329 | 331 | template <class T, layout_type L> | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -131,7 +131,7 @@ namespace xt | |||
| 131 | 131 | * | |
| 132 | 132 | * pytensor is similar to the xtensor container in that it has a static dimensionality. | |
| 133 | 133 | * | |
| 134 | - * Unlike with the pyarray container, pytensor cannot be reshaped with a different number of dimensions | ||
| 134 | + * Unlike the pyarray container, pytensor cannot be reshaped with a different number of dimensions | ||
| 135 | 135 | * and reshapes are not reflected on the Python side. However, pytensor has benefits compared to pyarray | |
| 136 | 136 | * in terms of performances. pytensor shapes are stack-allocated which makes iteration upon pytensor | |
| 137 | 137 | * faster than with pyarray. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments