array icon indicating copy to clipboard operation
array copied to clipboard

C++ multidimensional arrays in the spirit of the STL

Results 29 array issues
Sort by recently updated
recently updated
newest added

`midspan` and `mdarray` are being proposed for inclusion in the C++ standard library. Looking at this library, it seems that some of the basic concerns are the same, but the...

It would be great to have "flat iterators" for arrays. Among other things, this could enable the standard `` algorithms to work on arrays where it makes sense, and we...

enhancement

The current timing I see for the matrix tests is: ``` reduce_matrix time: 10.6356 ms einsum time: 13.4737 ms reduce_tiles time: 0.890935 ms einsum_tiles time: 0.929729 ms ``` The einsum_tiles...

When accessing a dim of a shape, ideally we would allow simply `auto x = s.dim()`. Unfortunately, the reality of template syntax issues in many situations means it has to...

Some compilers have a broken implementation of `std::is_constructible`, which makes it hard to prevent shapes from being constructed/assigned from incompatible shapes.

bug

Hello, I have recently written an overlay port for this library, along with a basic cmake file, and wanted to share it with you. [dsharlet-array.zip](https://github.com/dsharlet/array/files/4972077/dsharlet-array.zip) I did not want to...

It would be better if shapes/dims and ranges were better differentiated. They are very similar, but differ in the following ways: 1. shapes/dims have strides, ranges do not. 2. Typically,...

enhancement

In numpy and many other systems, `b = a(interval(5, 12))` results in an array where `b(x) == a(x + 5)` and b has an extent of 7 (and a min...

Unknown strides are reassigned in `resolve_unknowns`: https://github.com/dsharlet/array/blob/fba09f8051b4334c510c843d9befa8e4b5167941/array.h#L347-L348 which is incorrect if a stride is actually the value represented by `UNK`.

bug