Fixed issues in strided_array_views, added tests #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed incorrect size computation in strided_bounds
Fixed compilation issue in strided_array_view iterator
Added tests for strided array view iteration and size
Added stride() function to strided_bounds to support slicing
Fixed incorrect bounds check in basic_array_view operator[]
Made slicing work for 3+ dimensions
•made stride_array slice correctly by shifting its extents and strides to the left
•added shift functionality to index for better slicing performance
•added tests for 3d arrays
•added tests for iterations over statically and dynamically allocated arrays
Added type conversion for strided_arrays
Made original srided_array_view tests work with the new version
Added tests for misuse of strided array type conversion
Added error messages on fail_fast
Made strided_array_view constructor from array_view take bounds instead of index
Added bounds and resize checks, updated tests
Exposed iterator types from array_view and strided_array_view
Added tests for accessing and iterating over empty array_views and strided_array_views