1 Repo
Functions for retrieving elements from N-dimensional arrays using coordinates or flat indices.
Distinct from Array Element Accessors: Distinct from Array Element Accessors: supports multidimensional coordinates and flexible indexing rather than just column-based access.
Explore 1 awesome GitHub repository matching data & databases · Multidimensional Element Accessors. Refine with filters or upvote what's useful.
xtensor is a C++ multidimensional array library for numerical computing that provides N-dimensional containers with an interface mirroring the NumPy API. It utilizes a lazy evaluation expression engine to defer numerical computations until assignment, which minimizes memory allocations and intermediate copies. The library features a foreign memory array adaptor that allows it to wrap external buffers, such as NumPy arrays, to perform numerical operations in-place without duplicating data. It further optimizes performance through lazy broadcasting and a system that manages the lifetime of temp
Retrieves elements using multidimensional or flat indices with optional bounds-checking.