Bill Allombert on Thu, 23 Jan 2003 15:52:16 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: how to know whether a matrix is invertible

On Thu, Jan 23, 2003 at 02:34:40PM +0100, Ramón Casero Cañas wrote:
> I would like to know whether a matrix is invertible, I'm using ginv(), but
> if it's not, the library issues an error message and exits. I considered
> computing the determinant, but det() and det2() have the same problem. Is there a
> way to check this in PARI without an error and exit?

det() should works. The error message is probably because your input is incorrect.
Please always report the error message.