This is documentation for an old release of SciPy (version 1.8.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.sparse.linalg.SuperLU.perm_c#

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