KMP library for tensors #300

Merged
grinisrit merged 215 commits from feature/tensor-algebra into dev 2021-05-08 09:48:04 +03:00
Showing only changes of commit 75783bcb03 - Show all commits

View File

@ -154,6 +154,7 @@ public class DoubleLinearOpsTensorAlgebra :
}
public fun DoubleTensor.invLU(): DoubleTensor {
//TODO("Andrei the det is non-zero")
val (luTensor, pivotsTensor) = lu()
val invTensor = luTensor.zeroesLike()