KMP library for tensors #300
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user