detLU

fun DoubleTensorAlgebra.detLU(structureND: StructureND<Double>, epsilon: Double = 1.0E-9): DoubleTensor(source)

Computes the determinant of a square matrix input, or of each square matrix in a batched input using LU factorization algorithm.

Return

the determinant.

Parameters

epsilon

the error in the LU algorithm—permissible error when comparing the determinant of a matrix with zero.