search for: inf0

Displaying 1 result from an estimated 1 matches for "inf0".

Did you mean: inf
2022 Nov 09
1
det(diag(c(NaN, 1))) should be NaN, not 0
...ue *> > 0: if INFO = i, U(i,i) is exactly zero. The factorization *> has been completed, but the factor U is exactly *> singular, and division by zero will occur if it is used *> to solve a system of equations. Accordingly, when INF0>0, determinant(A) behaves as det(A)=0, _not_ computing prod(diag(U)). The problem here is that DGETRF can _also_ give positive INFO for matrices containing NaN, which may very well not be singular for some finite value of NaN. I claim that, when INFO>0, determinant(A) should _not_ behave as...