@@ -76,7 +76,7 @@ AbstractStridedLayout
7676
7777is returned by `MemoryLayout(A)` if an array `A` has storage in memory
7878equivalent to an `Array`, so that `stride(A,1) == 1` and
79- `stride(A,i) ≡ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`. In particular,
79+ `stride(A,i) ≡ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`. In particular,
8080if `A` is a matrix then `strides(A) == `(1, size(A,1))`.
8181
8282Arrays with `DenseColumnMajor` memory layout must conform to the `DenseArray` interface.
@@ -88,7 +88,7 @@ DenseColumnMajor
8888
8989is returned by `MemoryLayout(A)` if an array `A` has storage in memory
9090as a column major array, so that `stride(A,1) == 1` and
91- `stride(A,i) ≥ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`.
91+ `stride(A,i) ≥ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`.
9292
9393Arrays with `ColumnMajor` memory layout must conform to the `DenseArray` interface.
9494"""
@@ -99,7 +99,7 @@ ColumnMajor
9999
100100is returned by `MemoryLayout(A)` if an array `A` has storage in memory
101101as a strided array with increasing strides, so that `stride(A,1) ≥ 1` and
102- `stride(A,i) ≥ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`.
102+ `stride(A,i) ≥ size(A,i-1) * stride(A,i-1)` for `2 ≤ i ≤ ndims(A)`.
103103"""
104104IncreasingStrides
105105
@@ -108,7 +108,7 @@ IncreasingStrides
108108
109109is returned by `MemoryLayout(A)` if an array `A` has storage in memory
110110as a row major array with dense entries, so that `stride(A,ndims(A)) == 1` and
111- `stride(A,i) ≡ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`. In particular,
111+ `stride(A,i) ≡ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`. In particular,
112112if `A` is a matrix then `strides(A) == `(size(A,2), 1)`.
113113"""
114114DenseRowMajor
@@ -118,7 +118,7 @@ DenseRowMajor
118118
119119is returned by `MemoryLayout(A)` if an array `A` has storage in memory
120120as a row major array, so that `stride(A,ndims(A)) == 1` and
121- stride(A,i) ≥ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`.
121+ stride(A,i) ≥ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`.
122122
123123If `A` is a matrix with `RowMajor` memory layout, then
124124`transpose(A)` should return a matrix whose layout is `ColumnMajor`.
@@ -130,7 +130,7 @@ RowMajor
130130
131131is returned by `MemoryLayout(A)` if an array `A` has storage in memory
132132as a strided array with decreasing strides, so that `stride(A,ndims(A)) ≥ 1` and
133- stride(A,i) ≥ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`.
133+ stride(A,i) ≥ size(A,i+1) * stride(A,i+1)` for `1 ≤ i ≤ ndims(A)-1`.
134134"""
135135DecreasingStrides
136136
@@ -307,7 +307,7 @@ sub_materialize(::DualLayout{ML}, A::AbstractMatrix{<:Real}) where ML = sub_mate
307307sub_materialize (:: DualLayout{ML} , A:: AbstractMatrix ) where ML<: ConjLayout = sub_materialize (adjointlayout (eltype (A), ML ()), _dual_adjoint (A))'
308308sub_materialize (:: DualLayout{ML} , A:: AbstractMatrix ) where ML = transpose (sub_materialize (transposelayout (ML ()), _dual_transpose (A)))
309309
310- _copyto! (dlay, :: DualLayout{ML} , dest:: AbstractArray{T,N} , src:: AbstractArray{V,N} ) where {T,V,N,ML} =
310+ _copyto! (dlay, :: DualLayout{ML} , dest:: AbstractArray{T,N} , src:: AbstractArray{V,N} ) where {T,V,N,ML} =
311311 _copyto! (dlay, ML (), dest, src)
312312
313313# Layouts of PermutedDimsArrays
@@ -374,8 +374,8 @@ as a symmetrized version of `layout`, where the entries used are dictated by the
374374
375375A matrix that has memory layout `SymmetricLayout(layout, uplo)` must overrided
376376`symmetricdata(A)` to return a matrix `B` such that `MemoryLayout(B) == layout` and
377- `A[k,j] == B[k,j]` for `j ≥ k` if `uplo == 'U'` (`j ≤ k` if `uplo == 'L'`) and
378- `A[k,j] == B[j,k]` for `j < k` if `uplo == 'U'` (`j > k` if `uplo == 'L'`).
377+ `A[k,j] == B[k,j]` for `j ≥ k` if `uplo == 'U'` (`j ≤ k` if `uplo == 'L'`) and
378+ `A[k,j] == B[j,k]` for `j < k` if `uplo == 'U'` (`j > k` if `uplo == 'L'`).
379379"""
380380struct SymmetricLayout{ML<: MemoryLayout } <: MemoryLayout end
381381
@@ -389,8 +389,8 @@ as a hermitianized version of `layout`, where the entries used are dictated by t
389389
390390A matrix that has memory layout `HermitianLayout(layout, uplo)` must overrided
391391`hermitiandata(A)` to return a matrix `B` such that `MemoryLayout(B) == layout` and
392- `A[k,j] == B[k,j]` for `j ≥ k` if `uplo == 'U'` (`j ≤ k` if `uplo == 'L'`) and
393- `A[k,j] == conj(B[j,k])` for `j < k` if `uplo == 'U'` (`j > k` if `uplo == 'L'`).
392+ `A[k,j] == B[k,j]` for `j ≥ k` if `uplo == 'U'` (`j ≤ k` if `uplo == 'L'`) and
393+ `A[k,j] == conj(B[j,k])` for `j < k` if `uplo == 'U'` (`j > k` if `uplo == 'L'`).
394394"""
395395struct HermitianLayout{ML<: MemoryLayout } <: MemoryLayout end
396396
0 commit comments