xtensor icon indicating copy to clipboard operation
xtensor copied to clipboard

C++ tensors with broadcasting and lazy computing

Results 252 xtensor issues
Sort by recently updated
recently updated
newest added

Possibly I missed it, but I have been looking for documentation on how to access a single element of an `xtensor`. I found `xt::indexed_view(x, {{1,2}})` but it was only in...

MSCV currently emits a syntax error on line (TBB with SIMD branch) https://github.com/xtensor-stack/xtensor/blob/8c0a484f04eccd0dbc0e25eb58a97de000fb048b/include/xtensor/xassign.hpp#L1252 Adds a simple syntax helper for MSVC (not sure what the standard says here). ```cpp res_stepper.template store_simd(fct_stepper.template...

Currently, I am using this XTENSOR library to develop my own project. I have searched the documentation for a whole night, but just failed to find something like `np.matmul`. The...

Feature Request

To match numpy, `xt::any()` and `xt::all()` should have an `axis` argument allowing for multiple axes (it should probably be called `axes`). Maybe it can be implemented with the reduction framework...

Enhancement

There are some build errors with clang 19.1.0-rc3. Not going into details, as this seems just untested right now.

I have a need to copy a view along with its underlying container. Could someone show me the right way to do it? My current code doesn't propagate the strides...

Hi, and thanks for the library. I just tried out xtensor and did so using `CMakes` `FetchContent`. Maybe you would like to add the following way of importing your library...

These solve warnings when compiled with gcc 14 using a set of warnings enabled that we use in one of our projects: -Wall -Wnon-virtual-dtor -Wzero-as-null-pointer-constant -Wduplicated-branches -Wundef -Wvla -Wpointer-arith -Wextra...

Consider following bankers rounding for xt::round() instead of rounding away from zero xtensor - ``` xt::xarray arr1 = {0.5, 1.5, 2.5, 3.5, 4.5}; std::cout>> arr1 = np.array([0.5, 1.5, 2.5, 3.5,...

# Checklist - [ ] The title and commit message(s) are descriptive. - [ ] Small commits made to fix your PR have been squashed to avoid history pollution. -...