xtensor-blas
xtensor-blas copied to clipboard
BLAS extension to xtensor
The `xt::linalg::trace` cannot deal with complex arrays, which is reflected in this source code (line 1315): ``` template auto trace(const xexpression& M, int offset = 0, int axis1 = 0,...
I want to do matrix multiplication for two tensors with shape (1, 2, 2). Using a (2, 2) shape works, but using an array with an empty dimension (shape (1,...
It seems that OpenBLAS is not available on conda-forge, resulting in travis failure.
**Cross** At the moment, cross seems to be limited to 1D vectors of size 2 or 3. Numpy doesn't have the constraint for dimensionality and is capable of computing cross...
At the moment, at least dot and solve seems to handle empty arrays improperly compared to NumPy. **dot** ``` xt::xarray a = xt::ones({ 1, 2, 0, 1}); xt::xarray b =...
Hi, I am trying to use both `xtensor-blas` and TBB acceleration at the same time. However, the compilation fails. I am using the following `CMakeLists.txt` ``` cmake cmake_minimum_required(VERSION 3.1) project(test_blas)...
`#define XTENSOR_DEFAULT_LAYOUT layout_type::column_major` causes a simple outer product to fail with this error meassage: ` ** On entry to DGER parameter number 9 had an illegal value`
Current git version tests fail to compile when building test_tensordot.cpp.o. The message (repeated several times) is: /usr/include/xtensor/xiterator.hpp:324:86: error: invalid use of incomplete type ‘struct xt::detail::LAYOUT_FORBIDEN_FOR_XITERATOR’ using checking_type = typename detail::LAYOUT_FORBIDEN_FOR_XITERATOR::type;...
In xtensor, `data()` returns a raw pointer to a "first element" from which the position of any element can be computed from the strides and indices. In the case of...
This is the simplest example that I can construct that still produce this error. ```cpp xt::pytensor dot_test(xt::pytensor & ar0, xt::pytensor & ar1, xt::pytensor & idx) { auto shape0 = ar0.shape();...