A batch of matrices with shape [..., m, n].
A tuple (lu, pivots, permutation) where:
lu: combined lower and upper triangular matrices.pivots: an array of pivot indices with shape [..., min(m, n)].permutation: the permutation generated by pivots with shape [..., m].
LU decomposition with partial pivoting.
Computes the matrix decomposition:
P @ A = L @ U, wherePis a permutation of the rows ofA,Lis lower-triangular with unit diagonal, andUis upper-triangular.