scipy.sparse.linalg
SuperLU.
perm_c
Permutation Pc represented as an array of indices.
The column permutation matrix can be reconstructed via:
>>> Pc = np.zeros((n, n)) >>> Pc[np.arange(n), perm_c] = 1
scipy.sparse.linalg.SuperLU.nnz
scipy.sparse.linalg.SuperLU.perm_r