array
array copied to clipboard
C++ multidimensional arrays in the spirit of the STL
Currently, it is sometimes unavoidable to pass a placeholder or value for the `min` of a `range` or `dim`. It should be possible to work with extents and strides without...
In order to determine if a shape maps two different indices to the same flat indices (i.e. `is_one_to_one` is false), we need to solve: x_0*S_0 + x_1*S_1 + x_2*S_2 +...
These operators could return as soon as falsifying elements are found.
The errors.cpp test is currently not passing on gcc, but it "passes" because `-ferror-limit=0` is an unrecognized command line option on gcc, so it doesn't compile anything and the grep...
Code: ``` nda::array_of_rank image({640, 480, 3, 1}); LOG(INFO)
Abseil has "portable" (ifdefed around clang) attributes for annotating: * [ABSL_ATTRIBUTE_VIEW](https://github.com/abseil/abseil-cpp/blob/f7c22f52a748761b93c50a27b06afef000b26f95/absl/base/attributes.h#L857) that something is a view (e.g., `array_ref`) * [ABSL_ATTRIBUTE_OWNER](https://github.com/abseil/abseil-cpp/blob/f7c22f52a748761b93c50a27b06afef000b26f95/absl/base/attributes.h#L888) that something is owns all the data (e.g., `array`) *...