Re: invert a matrix



I used n^^(-1) and it works (uff...!) with a lot of :

.
.
.
RAT replaced 0.0 by 0//1 = 0.0

RAT replaced 0.0 by 0//1 = 0.0

RAT replaced -0.971695171432 by -3124//3215 = -0.9716951788491

RAT replaced -0.2362382141309 by -5137//21745 = -0.2362382156818

RAT replaced -0.971695171432 by -3124//3215 = -0.9716951788491

RAT replaced 0.0 by 0//1 = 0.0

.
.
.


but it's ok.

I tryed with invert(N)$ instead invert(N); but I obtained the same no result
with both of them!


My maxima release is


GCL (GNU Common Lisp)  Version(2.5.0) Thu Dec  5 08:07:35 EST 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.9.0 http://maxima.sourceforge.net
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(C1)
Error: -1 is not of type CHARACTER.
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by MREAD-RAW.
Broken at MREAD-RAW.  Type :H for Help.
MAXIMA>>

thanks for your help!
alexandre


Quoting "Viktor T. Toth" <vttoth@vttoth.com>:

> Try n^^(-1) instead of invert(n). It gave me a reply almost instantaneously.
> I'm not familiar with the matrix code, so I do not know why, but the result
> appears correct.
> 
> 
> Viktor
>  
> 
> -----Original Message-----
> From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
> Behalf Of Richard Fateman
> Sent: Tuesday, June 08, 2004 2:01 PM
> To: Alexandre Campos
> Cc: maxima
> Subject: Re: invert a matrix
> 
> It occurs to me that it computed the inverse, but was stuck in
> the DISPLAY program.
> try invert(n)$
> instead of invert(n);
> 
> RJF
> 

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.