NAG Library Manual, Mark 30
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_sparse_complex_herm_sort (f11zpc) Example Program Results

Original elements
 n   =   4
 nnz =   9
        i             a                  irow     icol
        0 (   1.0000e+00,    2.0000e+00)        3        2
        1 (   0.0000e+00,    0.0000e+00)        2        1
        2 (   0.0000e+00,    3.0000e+00)        3        2
        3 (   3.0000e+00,   -5.0000e+00)        4        4
        4 (   4.0000e+00,    2.0000e+00)        1        1
        5 (   0.0000e+00,    3.0000e+00)        2        2
        6 (   2.0000e+00,    4.0000e+00)        3        3
        7 (   1.0000e+00,   -1.0000e+00)        3        2
        8 (   1.0000e+00,    3.0000e+00)        3        2

Reordered elements
 nnz =   5
        i             a                  irow     icol
        0 (   4.0000e+00,    2.0000e+00)        1        1
        1 (   0.0000e+00,    3.0000e+00)        2        2
        2 (   3.0000e+00,    7.0000e+00)        3        2
        3 (   2.0000e+00,    4.0000e+00)        3        3
        4 (   3.0000e+00,   -5.0000e+00)        4        4