ArrayViews.jl
ArrayViews.jl copied to clipboard
A Julia package to explore a new system of array views
After `Pkg.add("ArrayViews")` I got the following error: ``` The following package names could not be resolved: * ArrayViews (not found in project, manifest or registry) Please specify by known `name=uuid`....
You're receiving this pull request because the now-deprecated [Julia TagBot GitHub App](https://github.com/apps/julia-tagbot) is installed for this repository. This pull request installs [TagBot as a GitHub Action](https://github.com/marketplace/actions/julia-tagbot). If this PR does...
(v1.0) pkg> add ArrayViews Resolving package versions... ERROR: Unsatisfiable requirements detected for package ArrayViews [a5c3d3bf]: ArrayViews [a5c3d3bf] log: ├─possible versions are: [0.1.0-0.1.1, 0.2.0-0.2.5, 0.3.0, 0.4.0-0.4.12, 0.5.0, 0.6.0-0.6.4, 0.7.0] or uninstalled...
I switched from manually inlining code within a for loop to using ArrayViews, and I discovered that when the array used to create the view is the field of a...
I stumbled upon this behavior today: ``` julia julia> a = rand(5) 5-element Array{Float64,1}: 0.123137 0.370571 0.740451 0.857524 0.143512 julia> view(a, :, 2) 5-element ArrayViews.ContiguousView{Float64,1,Array{Float64,1}}: #undef #undef #undef #undef #undef...
``` julia x = reshape(1:25, 5, 5) v = view(x, 1:2:5, 1:2:5) v[:,1] ``` produces ``` ERROR: `getindex` has no method matching getindex(::StridedView{Int64,2,0,Array{Int64,2}}, ::UnitRange{Int64}, ::Int64) ``` Selecting by range is...
There seems to have been renewed interest in updating this package. I note the README seems out of date. This package might also be a good place to keep more...
https://github.com/JuliaLang/julia/pull/23628 changed the behavior of indexing, ArrayViews should match. https://github.com/JuliaArrays/ArrayViews.jl/pull/56#issuecomment-340525114
This pull request adds a `@view` macro, which translates `A[a:b, c:d]` syntax to `view(A, a:b, c:d)`. Any `symbol("end")`s found in square brackets (unless they occur in nested square brackets) are...