luPivot
fun DoubleTensorAlgebra.luPivot(luTensor: StructureND<Double>, pivotsTensor: Tensor<Int>): Triple<DoubleTensor, DoubleTensor, DoubleTensor>(source)
Unpacks the data and pivots from a LU factorization of a tensor. Given a tensor luTensor, return tensors Triple(P, L, U) satisfying P dot luTensor = L dot U, with P being a permutation matrix or batch of matrices, L being a lower triangular matrix or batch of matrices, U being an upper triangular matrix or batch of matrices.
Return
triple of P, L and U tensors
Parameters
luTensor
the packed LU factorization data
pivotsTensor
the packed LU factorization pivots