BlockArrays.jl
Block arrays in Julia
A block array is a partition of an array into blocks or subarrays, see wikipedia for a more extensive description. This package has two purposes. Firstly, it defines an interface for an AbstractBlockArray
block arrays that can be shared among types representing different types of block arrays. The advantage to this is that it provides a consistent API for block arrays.
Secondly, it also implements two different type of block arrays that follow the AbstractBlockArray
interface. The type BlockArray
stores each block contiguously while the type PseudoBlockArray
stores the full matrix contiguously. This means that BlockArray
supports fast non copying extraction and insertion of blocks while PseudoBlockArray
supports fast access to the full matrix to use in in for example a linear solver.
Manual Outline
- The AbstractBlockArray interface
- BlockArrays
- Creating uninitialized
BlockArrays
- Creating
BlockArrays
with uninitialized blocks. - Setting and getting blocks and values
- Views of blocks
- Converting between
BlockArray
and normal arrays - PseudoBlockArrays
Library Outline
Index
BlockArrays.undef_blocks
BlockArrays.AbstractBlockArray
BlockArrays.Block
BlockArrays.BlockArray
BlockArrays.BlockBoundsError
BlockArrays.BlockIndex
BlockArrays.PseudoBlockArray
BlockArrays.UndefBlocksInitializer
Core.Array
BlockArrays.blockcheckbounds
BlockArrays.blocksize
BlockArrays.getblock
BlockArrays.getblock!
BlockArrays.nblocks
BlockArrays.setblock!
BlockArrays.BlockIndexRange
BlockArrays.BlockRange
BlockArrays.BlockSlice
BlockArrays.blockindex2global
BlockArrays.global2blockindex
BlockArrays.unblock