|Ramón Casero Cañas on Thu, 23 Jan 2003 16:46:09 +0100 (MET)|
[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. It was a misplaced line in the code. The input was correct, but the check was not in the right place. Sorry. Ramón. -- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!