1 Repo
Creation of arrays by applying a generator function to each coordinate index.
Distinct from Numerical Array Generation: Candidates are focused on testing-specific randomized arrays or sparse arrays, not index-based functional generation.
Explore 1 awesome GitHub repository matching scientific & mathematical computing · Coordinate-Based Array Generation. 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
Enables the creation of arrays by applying a custom function to each element's coordinate index.