comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL inverse matrix problem??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL inverse matrix problem?? [message #90067 is a reply to message #90065] Thu, 22 January 2015 12:36 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Thursday, January 22, 2015 at 2:24:06 PM UTC-5, Amin Farhang wrote:

> As you see this time IDL return the inverse BUT this inverse is WRONG!!!
> Let me test the IDL inversion:
>
> IDL> Bm = Am ## Am2
> IDL> print,Bm
> 0.99999999 -1.3038516e-08 -5.5879354e-09 -4.4703484e-08 4.4703484e-08
> -7.4505806e-09 1.0000000 1.8626451e-09 -4.4703484e-08 5.9604645e-08 -7.4505806e-09 -7.4505806e-09 0.99999999 -8.9406967e-08 1.1920929e-07
> -7.4505806e-09 -1.1175871e-08 -7.4505806e-09 0.99999994 1.7881393e-07
> -7.4505806e-09 -1.1175871e-08 -4.6566129e-09 -1.1920929e-07 1.0000001
>
> As you see the returned matrix is not a identity matrix, therefore the inversion is wrong.


Are you sure this is wrong? It looks like diagonal elements [0.99999999, 1.0000000, 0.99999999 ...] are equal to 1 within roundoff error, and the non-diagonal elements are all less 1.2d-7. So within roundoff error this appears to be the identity matrix. --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: HASH assignment
Next Topic: saving an output from the find.pro script

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:05:05 PDT 2025

Total time taken to generate the page: 0.00174 seconds