Transpose for Rank One Tensors
Open
enhancement
- Dominant language
- C++
- Stars
- 122
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
As of now, the rank one tensor does not allow to be transposed.
```cpp
auto const n = extents<>{3};
auto a = tensor_dynamic{n, 1.f};
auto c = tensor_dynamic{n};
std::vector pi{3};
ublas::trans( 1ul, n.data(), pi.data(), c.data(), c.strides().data(), a.data(), res.strides().data() ); // c = [0,0,0]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.