From 2a29e66daac0484bf23771e4b8400d609face747 Mon Sep 17 00:00:00 2001 From: Roland Grinis Date: Sat, 10 Jul 2021 22:15:33 +0100 Subject: [PATCH] update LU docs --- .../kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt b/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt index 6bdecfa85..b8a99a560 100644 --- a/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt +++ b/kmath-tensors/src/commonMain/kotlin/space/kscience/kmath/tensors/api/LinearOpsTensorAlgebra.kt @@ -62,8 +62,10 @@ public interface LinearOpsTensorAlgebra : TensorPartialDivisionAlgebra { * 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, + * Given a tensor `input`, return tensors (P, L, U) satisfying : + * `P dot input = L dot U` or `input = P dot L dot U` + * depending on the implementation, 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. *