Encog.MathUtil.Matrices.Decomposition.LUDecomposition.Det C# (CSharp) 메소드

Det() 공개 메소드

Determinant
public Det ( ) : double
리턴 double
        public double Det()
        {
            if (m != n)
            {
                throw new MatrixError("Matrix must be square.");
            }
            double d = pivsign;
            for (int j = 0; j < n; j++)
            {
                d *= LU[j][j];
            }
            return d;
        }