lu

abstract fun lu(structureND: StructureND<T>): Triple<StructureND<T>, StructureND<T>, StructureND<T>>(source)

LUP decomposition

Computes the LUP decomposition of a matrix or a batch of matrices. Given a tensor input, return tensors (P, L, U) satisfying P dot input = 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.

Receiver

the input.

Return

triple of P, L and U tensors