Zachary P Christensen
Zachary P Christensen
* Added `PermutedIndex` for `Adjoint`, `Transpose`, `PermutedDimsArray` * Added `SubIndex` for `SubArray` * Added `LinearSubIndex` for `FastSubArray` and `FastContiguousSubArray` * Define `getindex(::ArrayIndex, ::ArrayIndex)` methods: convenient way of creating rules for...
Following feedback from #141 I've rewritten the approach to layouts. The basic interface is as follows: Given the array type `ArrayType` the `layout_plan` method may be written as follows. ```julia...
The formal interface for working with an array's memory is currently very limited. We mostly just have ways of accessing preallocated memory (e.g., `unsafe_wrap` and `unsafe_pointer_to_objref`). The rest of the...
I've been getting incorrect results when using scalar indexing that doesn't start with one on views. ```julia julia> A = zeros(3, 4, 5); julia> A[:] = 1:60; julia> Aview =...
It would be nice if more people could participate in development here, even if it was just reviewing PRs. Obviously we need documentation and examples to help people understand the...
I think we are in a good place to start working on array constructors (would also make documenting examples a whole lot easier). This brings up stuff related to `similar`:...
Found this... ```julia julia> import ArrayInterface: StaticInt julia> r = StaticInt(1):4 StaticInt{1}():StaticInt{1}():4 julia> broadcast(-, r, StaticInt(1)) ERROR: StackOverflowError: Stacktrace: [1] UnitRange{StaticInt{0}}(::StaticInt{0}, ::StaticInt{3}) at /Users/zchristensen/.julia/packages/ArrayInterface/NbkVT/src/static.jl:108 (repeats 79984 times) ``` ...and traced...
StaticArrays has all of these non-mutating versions of typically mutating methods implemented, which might be a good fit for this package since we have `setindex`. It would be nice if...
Would it be within the scope of this package to address range traits? I have several ideas that I figured would be more useful here than in a separate package.
Thanks for this wonderful guide! I wanted to ask if there could be slightly more clarification/modification concerning method names. Sep It would be nice to have consistency with base when...