1
1
# BlockBandedMatrices.jl
2
- A Julia package for representing block-block- banded matrices and banded-block-banded matrices
2
+ A Julia package for representing block-banded matrices and banded-block-banded matrices
3
3
4
4
[ ![ Travis] ( https://travis-ci.org/JuliaMatrices/BlockBandedMatrices.jl.svg?branch=master )] ( https://travis-ci.org/JuliaMatrices/BlockBandedMatrices.jl )
5
5
[ ![ Build status] ( https://ci.appveyor.com/api/projects/status/a300xe23ltjbebbf?svg=true )] ( https://ci.appveyor.com/project/dlfivefifty/blockbandedmatrices-jl )
@@ -17,7 +17,7 @@ storing the entries in the non-zero bands.
17
17
18
18
19
19
A ` BlockBandedMatrix ` is a subtype of ` BlockMatrix ` of [ BlockArrays.jl] ( https://github.com/JuliaArrays/BlockArrays.jl )
20
- whose non-zero blocks are banded. We can construct a ` BlockBandedMatrix ` as follows:
20
+ whose layout of non-zero blocks is banded. We can construct a ` BlockBandedMatrix ` as follows:
21
21
``` julia
22
22
l,u = 2 ,1 # block bandwidths
23
23
N = M = 4 # number of row/column blocks
@@ -38,5 +38,5 @@ N = M = 4 # number of row/column blocks
38
38
cols = rows = 1 : N # block sizes
39
39
BandedBlockBandedMatrix (Zeros (sum (rows),sum (cols)), rows,cols, (l,u), (λ,μ)) # creates a banded-block-banded matrix of zeros
40
40
BandedBlockBandedMatrix (Ones (sum (rows),sum (cols)), rows,cols, (l,u), (λ,μ)) # creates a banded-block-banded matrix with ones in the non-zero entries
41
- BandedBlockBandedMatrix (I, rows,cols, (l,u), (λ,μ))) # creates a banded-block-banded identity matrix
41
+ BandedBlockBandedMatrix (I, rows,cols, (l,u), (λ,μ)) # creates a banded-block-banded identity matrix
42
42
```
0 commit comments