-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from KlausC/krc/julia1
Port to julia v1
- Loading branch information
Showing
16 changed files
with
492 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.jl.cov | ||
*.jl.*.cov | ||
*.jl.mem | ||
Manifest.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name = "ArrayIteration" | ||
uuid = "fad66f4c-51a1-49e8-bb49-ac0e2e1d46bd" | ||
authors = ["Tim Holy <[email protected]>"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" | ||
|
||
[compat] | ||
julia = "1" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
||
[targets] | ||
test = ["Test"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,19 @@ | ||
module ArrayIteration | ||
|
||
import Base: getindex, setindex!, start, next, done, length, eachindex, show, parent, isless | ||
using Base: ReshapedArray, ReshapedIndex, linearindexing, LinearFast, LinearSlow, LinearIndexing | ||
import Base: getindex, setindex!, iterate, length, eachindex, show, parent, isless | ||
using Base: ReshapedArray, ReshapedIndex, IndexStyle, IndexLinear, IndexCartesian | ||
using Base: Slice, OneTo | ||
using Base.PermutedDimsArrays: PermutedDimsArray | ||
using Base.Order | ||
|
||
export inds, index, value, stored, each, sync | ||
using SparseArrays | ||
|
||
export Follower, inds, index, value, stored, each, sync | ||
|
||
include("types.jl") | ||
include("core.jl") | ||
include("reshaped.jl") | ||
include("sparse.jl") | ||
include("sync_stored.jl") | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.