What you need to know to use these subprograms
This matrix could be represented in BCO format using mb=2, kb=3, and lb=2.
Table
bindx= | 1 | 1 | 2 | 2 |
bjndx= | 1 | 3 | 2 | 3 |
val(1:2, 1:2, 1)= | 11 | 12 |
|
|
| 21 | 22 |
|
|
val(1:2, 1:2, 2)= | 15 | 16 |
|
|
| 25 | 26 |
|
|
val(1:2, 1:2, 3)= | 33 | 0 |
|
|
| 43 | 44 |
|
|
val(1:2, 1:2, 4)= | 35 | 36 |
|
|
| 0 | 46 |
|
|
BSC - Block compressed sparse column. Given a sparse block matrix A formed by
•val( lb, lb, *) - Scalar matrix of dimension
•bindx(*) - Integer array of length maxnnz containing block column indices such that bindx(i) corresponds to the block column index of val(:, :, i).
•bpntrb(*) - Integer array of length kb such that bpntrb(j) points to location val(:, :, j) of the first nonzero block in block column j.
•bpntre(*) - Integer array of length kb such that
Chapter 4 Sparse BLAS Operations 433