The documentation for lu(A) says

"
lu(*A*) → L, U, p

Compute the LU factorization of A, such that A[p,:] = L*U.
"

This is an LU decomposition with partial pivoting. The P matrix is the 
pivot table.

Reply via email to