@@ -246,17 +246,17 @@ end
246
246
return view (block_arr. blocks, range... )
247
247
end
248
248
249
- @propagate_inbounds function _pseudoblockindex_getindex (block_arr, blockindex)
249
+ @propagate_inbounds function _blockedindex_getindex (block_arr, blockindex)
250
250
I = getindex .(axes (block_arr), getindex .(Block .(blockindex. I), blockindex. α))
251
251
block_arr. blocks[I... ]
252
252
end
253
253
254
254
@propagate_inbounds getindex (block_arr:: BlockedArray{T,N} , blockindex:: BlockIndex{N} ) where {T,N} =
255
- _pseudoblockindex_getindex (block_arr, blockindex)
255
+ _blockedindex_getindex (block_arr, blockindex)
256
256
257
257
258
258
@propagate_inbounds getindex (block_arr:: BlockedVector{T} , blockindex:: BlockIndex{1} ) where T =
259
- _pseudoblockindex_getindex (block_arr, blockindex)
259
+ _blockedindex_getindex (block_arr, blockindex)
260
260
261
261
# #######
262
262
# Misc #
@@ -293,9 +293,9 @@ function ArrayLayouts.rmul!(block_array::BlockedArray, α::Number)
293
293
block_array
294
294
end
295
295
296
- _pseudo_reshape (block_array, axes) = BlockedArray (reshape (block_array. blocks,map (length,axes)),axes)
296
+ _blocked_reshape (block_array, axes) = BlockedArray (reshape (block_array. blocks,map (length,axes)),axes)
297
297
Base. reshape (block_array:: BlockedArray , axes:: NTuple{N,AbstractUnitRange{Int}} ) where N =
298
- _pseudo_reshape (block_array, axes)
298
+ _blocked_reshape (block_array, axes)
299
299
Base. reshape (parent:: BlockedArray , shp:: Tuple{Union{Integer,Base.OneTo}, Vararg{Union{Integer,Base.OneTo}}} ) =
300
300
reshape (parent, Base. to_shape (shp))
301
301
Base. reshape (parent:: BlockedArray , dims:: Tuple{Int,Vararg{Int}} ) =
0 commit comments