You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* support general backends for BlockArray
* Don't convert in mortar
* tridiagonal
* Use getblock to support overloading for sparse
* Allow general vector blocksize backends
* template out blocksizes
* add another layer to _find_block to support fast overrides
* Allow general BlockSizes, test for constant block sizes
* Simplify show
* fix simple show
* Revert BlockArray(undef_blocks, ::Type) behaviour
* Fix docs
* more doc fixes
* another doc fix
* try removing space
* Increase coverage
* increase coverage
Copy file name to clipboardExpand all lines: docs/src/man/blockarrays.md
+23-20Lines changed: 23 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ A block array can be created with initialized blocks using the `BlockArray{T}(bl
15
15
function. The block_sizes are each an `AbstractVector{Int}` which determines the size of the blocks in that dimension. We here create a `[1,2]×[3,2]` block matrix of `Float32`s:
@@ -39,11 +39,11 @@ A block array can be created with uninitialized entries using the `BlockArray{T}
39
39
function. The block_sizes are each an `AbstractVector{Int}` which determines the size of the blocks in that dimension. We here create a `[1,2]×[3,2]` block matrix of `Float32`s:
@@ -246,7 +252,7 @@ specialize this method if they need to provide custom block bounds checking beha
246
252
julia> A = BlockArray(rand(2,3), [1,1], [2,1]);
247
253
248
254
julia> blockcheckbounds(A, 3, 2)
249
-
ERROR: BlockBoundsError: attempt to access 2×2-blocked 2×3 BlockArray{Float64,2,Array{Float64,2}} at block index [3,2]
255
+
ERROR: BlockBoundsError: attempt to access 2×2-blocked 2×3 BlockArray{Float64,2,Array{Array{Float64,2},2},BlockArrays.BlockSizes{2,Array{Int64,1}}} at block index [3,2]
250
256
[...]
251
257
```
252
258
"""
@@ -279,7 +285,7 @@ Returns the array stored in `A` as a `Array`.
0 commit comments