Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy authored Nov 6, 2020
1 parent 01f7d9f commit 6a6dab0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ There are only a handful of new functions.

`inds(A, d)` returns a `UnitRange{Int}` specifying the indexes for dimension `d`. The default value is `1:size(A, d)`, but you can override this for specific array types. See the `OA` (for `OffsetArray`) [type definition](test/array_types.jl) for an example.

UPDATE: this is what became `axes` in modern Julia.

## sync

`for (a, b) in sync(A, B)` is similar to `zip`, but adds the extra constraint that `a` and `b` are corresponding elements in `A` and `B` whereas `zip` employs independent iterators.
Expand Down

0 comments on commit 6a6dab0

Please sign in to comment.