![](/images/backgrounds/286162/hp-hp-ux-performance-tools-users-manual-156076459x1.png)
What you need to know to use these subprograms
Table
11 12 0 14
51 52 0 54
21 22 0 0
0 0 33 34
0 0 0 44
And the JAD representation of the
Table
val= | 11 | 51 | 21 | 33 | 44 | 12 | 52 | 22 | 34 | 14 | 54 |
indx= | 1 | 1 | 1 | 3 | 4 | 2 | 2 | 2 | 4 | 4 | 4 |
pntr= | 1 | 6 | 10 | 12 |
|
|
|
|
|
|
|
SKY- (Triangular) Skyline. The Skyline format can be used to represent square triangular matrices. Two arrays are required for the SKY representation:
•val(*) - Scalar array of length
•pntr(*) - Integer array of length m+1 (A lower triangular) or k+1 (A upper triangular) such that pntr(i) and
Consider, for example, the symmetric 5 x 5 matrix:
Table | 5 x 5 Matrix |
|
|
| |
| 11 | 21 | 0 | 0 | 51 |
| 21 | 22 | 32 | 42 | 0 |
| 0 | 32 | 33 | 0 | 0 |
| 0 | 42 | 0 | 44 | 54 |
| 51 | 0 | 0 | 54 | 55 |
The lower triangular part of this matrix could be represented in SKY format as:
Chapter 4 Sparse BLAS Operations 431