SciPy

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

scipy.sparse.linalg.SuperLU.perm_r

SuperLU.perm_r

Permutation Pr represented as an array of indices.

The row permutation matrix can be reconstructed via:

>>>
>>> Pr = np.zeros((n, n))
>>> Pr[perm_r, np.arange(n)] = 1