scipy.linalg.lapack.sgetc2#

scipy.linalg.lapack.sgetc2(a, overwrite_a=0) = <flapack function sgetc2>#

Compute the LU factorization with complete pivoting (LAPACK sgetc2).

Parameters:
andarray

Square matrix of shape (n, n).

overwrite_aint, optional

If nonzero, a may be overwritten in place. Default is 0.

Returns:
lundarray

Combined L and U factors; the unit diagonal of L is not stored.

ipivndarray

Row pivot indices, 0-based.

jpivndarray

Column pivot indices, 0-based.

infoint

0 on success; if positive, u[info-1, info-1] is exactly zero. The factor is perturbed rather than left singular, so a following gesc2 still solves.