Skip to content

Commit 11e1f26

Browse files
committed
rename files
1 parent 8621223 commit 11e1f26

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/make.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ makedocs(
1313
"Manual" => [
1414
"man/abstractblockarrayinterface.md",
1515
"man/blockarrays.md",
16-
"man/pseudoblockarrays.md",
16+
"man/blockedarrays.md",
1717
],
1818
"API" => [
1919
"lib/public.md",

docs/src/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ A block array layout is specified its _block sizes_ – a tuple of `AbstractArra
3939
## Manual Outline
4040

4141
```@contents
42-
Pages = ["man/abstractblockarrayinterface.md", "man/blockarrays.md", "man/pseudoblockarrays.md"]
42+
Pages = ["man/abstractblockarrayinterface.md", "man/blockarrays.md", "man/blockedarrays.md"]
4343
Depth = 2
4444
```
4545

File renamed without changes.

src/BlockArrays.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ include("blockindices.jl")
6060
include("blockaxis.jl")
6161
include("abstractblockarray.jl")
6262
include("blockarray.jl")
63-
include("pseudo_blockarray.jl")
63+
include("blockedarray.jl")
6464
include("views.jl")
6565
include("blocks.jl")
6666

src/pseudo_blockarray.jl src/blockedarray.jl

+5-5
Original file line numberDiff line numberDiff line change
@@ -246,17 +246,17 @@ end
246246
return view(block_arr.blocks, range...)
247247
end
248248

249-
@propagate_inbounds function _pseudoblockindex_getindex(block_arr, blockindex)
249+
@propagate_inbounds function _blockedindex_getindex(block_arr, blockindex)
250250
I = getindex.(axes(block_arr), getindex.(Block.(blockindex.I), blockindex.α))
251251
block_arr.blocks[I...]
252252
end
253253

254254
@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)
256256

257257

258258
@propagate_inbounds getindex(block_arr::BlockedVector{T}, blockindex::BlockIndex{1}) where T =
259-
_pseudoblockindex_getindex(block_arr, blockindex)
259+
_blockedindex_getindex(block_arr, blockindex)
260260

261261
########
262262
# Misc #
@@ -293,9 +293,9 @@ function ArrayLayouts.rmul!(block_array::BlockedArray, α::Number)
293293
block_array
294294
end
295295

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)
297297
Base.reshape(block_array::BlockedArray, axes::NTuple{N,AbstractUnitRange{Int}}) where N =
298-
_pseudo_reshape(block_array, axes)
298+
_blocked_reshape(block_array, axes)
299299
Base.reshape(parent::BlockedArray, shp::Tuple{Union{Integer,Base.OneTo}, Vararg{Union{Integer,Base.OneTo}}}) =
300300
reshape(parent, Base.to_shape(shp))
301301
Base.reshape(parent::BlockedArray, dims::Tuple{Int,Vararg{Int}}) =

0 commit comments

Comments
 (0)