| 34 """ |
34 """ |
| 35 `AbstractZipArray{S,T,N}` |
35 `AbstractZipArray{S,T,N}` |
| 36 |
36 |
| 37 A way to refer to a `ZipArray` without specifying the container types. |
37 A way to refer to a `ZipArray` without specifying the container types. |
| 38 """ |
38 """ |
| 39 AbstractZipArray{S,T,N} = ZipArray{S,T,N,A,B} where {A <: AbstractArray{S,N}, B <: AbstractArray{T,N}} |
39 const AbstractZipArray{S,T,N} = ZipArray{S,T,N,A,B} where {A <: AbstractArray{S,N}, B <: AbstractArray{T,N}} |
| 40 |
40 |
| 41 """ |
41 """ |
| 42 `ZipVector{S,T,A,B}` |
42 `ZipVector{S,T,A,B}` |
| 43 |
43 |
| 44 One-dimensional `ZipArray`. |
44 One-dimensional `ZipArray`. |
| 45 """ |
45 """ |
| 46 ZipVector{S,T,A,B} = ZipArray{S,T,1,A,B} |
46 const ZipVector{S,T,A,B} = ZipArray{S,T,1,A,B} |
| 47 |
47 |
| 48 """ |
48 """ |
| 49 `AbstractZipVector{S,T}` |
49 `AbstractZipVector{S,T}` |
| 50 |
50 |
| 51 One-dimensional `AbstractZipArray`. |
51 One-dimensional `AbstractZipArray`. |
| 52 """ |
52 """ |
| 53 AbstractZipVector{S,T} = AbstractZipArray{S,T,1} |
53 const AbstractZipVector{S,T} = AbstractZipArray{S,T,1} |
| 54 |
54 |
| 55 |
55 |
| 56 function Base.IndexStyle( :: Type{<:ZipArray{S,T,N,A,B}}) where {S,T,N,A,B} |
56 function Base.IndexStyle( :: Type{<:ZipArray{S,T,N,A,B}}) where {S,T,N,A,B} |
| 57 return IndexStyle(A) |
57 return IndexStyle(A) |
| 58 end |
58 end |