In MATLAB, it is possible to use a hack to force the builtin LU decomposition algorithm to not use a permutation matrix (i.e., force P=I
), as shown here.
Is there a similar hack in python?
Namely, is there any way to force scipy.linalg.lu
(or any other popular LU algorithm) to not use a permutation matrix?