-
I'm trying to rewrite simple console python\numpy app to Qt app with UI, and xtensor seems to be the right choice to replace numpy. However, I'm unable to understand how to replace some parts of pytho…
-
```
using tensor_type_row = xt::xtensor;
using tensor_type_col = xt::xtensor;
auto tmp_a = tensor_type_col({200, 512, 512, 5});
tensor_type_col tmp_b;
tmp_b = xt::view(tmp_a, xt::all(), xt::all()…
-
Windows 10
MSVC 2019 Enterprise
C++20
Fails to compile with both XSIMD and TBB enabled. Fails with the following
`syntax error: 'template'`
On line 1252 of xassign.hpp
-
I was trying to convert code from python to c++, when I ran into an issue, that I think might be a bug.
Python code:
```python
import numpy as np
a = np.array([1, 2, 3, 4, 5])
b = np.array([1…
-
This code does not compile for me. Removing xt::flip does compile. I've been using xtensor for only a few hours so likely I'm doing something wrong..
```
#include
#include
#include
#includ…
-
I can't tell if this is expected behavior of `eye()` or not. Is there a column major option for it?
I dont really see anything here about row/column major, so I honestly have no idea
https://githu…
-
I found a strange asymmetry while playing with 3d xarrays and views on such arrays. Maybe I misunderstood the way `xt::view` works. Any hint on what happened is very appreciated.
**Effect:** While …
-
The following results in a segmentation fault:
```cpp
#define XTENSOR_ENABLE_ASSERT 1
#include
#include
#include
#include
int main()
{
xt::xarray A;
std::cout
-
The following code
```c++
#include "xtensor/xnoalias.hpp"
#include "xtensor/xtensor.hpp"
#include "xtensor/xarray.hpp"
#include "xtensor/xrandom.hpp"
#include "xtensor/xview.hpp"
#include "xt…
-
Hi, description as the above title. My codes are:
```cpp
xarray ab = {
{ 0. , 1. , 0. , -0.13412199999999999},
{-0.28172107246038075, 0. …