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

Home » Public Forums » archive » Re: Feature with PV-WAVE routine INVERT
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Feature with PV-WAVE routine INVERT [message #4611] Mon, 03 July 1995 00:00
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
black@signal.dra.hmg.gb (John Black) writes:

> This is afollowup to amessage that I posted a few days ago, but it's expired
> here so I can't continue the thread.


> I've detected a feature with the PV-WAVE routine invert, which inverts a matrix.

> This routine has an optional parameter, status, which has the following states

> 0 = everything ok
> 1 = matrix was singular
> 2 = a small pivot element was used and it is likely that significant accuracy
> was lost (the routine uses Gaussian elimination)

> I looked at the value of status & for every example I tried status was set to 2
> However on doing

> PRINT, (INVERT(INVERT(matrix))-matrix)/matrix

> ie finding the fractional error, this turns out to be on the 10e-6 to 10e-7
> level. Status was always 2.

Just for the record, it appears that the INVERT function in IDL will give
STATUS=0 for well-behaved matrices.

Bill Thompson
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Efficient Programming
Next Topic: Wanted: Census II X-11 seasonal adjustment algorithm

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

Current Time: Fri Oct 10 16:00:57 PDT 2025

Total time taken to generate the page: 0.96005 seconds