invLU
fun DoubleTensorAlgebra.invLU(structureND: StructureND<Double>, epsilon: Double = 1.0E-9): DoubleTensor(source)
Computes the multiplicative inverse matrix of a square matrix input, or of each square matrix in a batched input using LU factorization algorithm. Given a square matrix a
, return the matrix aInv
satisfying a dot aInv == aInv dot a == eye(a.shape[0])
.
Return
the multiplicative inverse of a matrix.
Parameters
epsilon
error in the LU algorithm—permissible error when comparing the determinant of a matrix with zero