Example description

nag_sparse_nherm_fac (f11dnc) Example Program Results 

  Original Matrix
  n     =      4
  nnz   =     11
       0 (      1.0000e+00,       3.0000e+00)        1       2
       1 (      1.0000e+00,       0.0000e+00)        1       3
       2 (     -1.0000e+00,      -2.0000e+00)        2       1
       3 (      2.0000e+00,      -2.0000e+00)        2       3
       4 (      2.0000e+00,       1.0000e+00)        2       4
       5 (      0.0000e+00,       5.0000e+00)        3       1
       6 (     -2.0000e+00,       0.0000e+00)        3       4
       7 (      1.0000e+00,       1.0000e+00)        4       1
       8 (     -2.0000e+00,       4.0000e+00)        4       2
       9 (      1.0000e+00,      -3.0000e+00)        4       3
      10 (      0.0000e+00,       7.0000e+00)        4       4

  Factorization
  n     =      4
  nnz   =     11
  npivm =      0
      11 (      1.0000e-01,      -3.0000e-01)        1       1
      12 (      1.0000e-01,      -3.0000e-01)        1       3
      13 (      0.0000e+00,      -2.0000e-01)        2       2
      14 (      0.0000e+00,       4.0000e-01)        2       4
      15 (     -4.0000e-01,       2.0000e-01)        3       2
      16 (      2.5000e-01,       2.5000e-01)        3       3
      17 (     -5.0000e-02,       6.5000e-01)        3       4
      18 (      1.0000e+00,       1.0000e+00)        4       1
      19 (      2.0000e-01,      -2.0000e-01)        4       2
      20 (      1.0000e+00,      -1.0000e+00)        4       3
      21 (     -4.8035e-02,      -1.3974e-01)        4       4

         i       ipivp[i]  ipivq[i]
         0         1         2
         1         3         1
         2         2         3
         3         4         4