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

Home » Public Forums » archive » failed matrix inversion returns input-- interesting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
failed matrix inversion returns input-- interesting [message #49310] Thu, 13 July 2006 16:14
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Can someone explain this behavior?
IDL> testm=[[0,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]]
IDL> testmi=invert(testm,status)
IDL> print,status; 0=success, 1=fail, 2=pivot used
1
IDL> print,testmi
0.00000 0.00000 0.00000 0.00000
0.00000 1.00000 0.00000 0.00000
0.00000 0.00000 1.00000 0.00000
0.00000 0.00000 0.00000 1.00000

Is there any reason in creation why IDL simply copies the input into
the output if it cannot do the inversion? That seems, well, malevolent,
unless I'm missing something.
[Message index]
 
Read Message
Previous Topic: How to do RGB to CMYK conversion for PS output?
Next Topic: Re: IDL 6.3 for Mac OS X on Intel Now Available

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

Current Time: Sat Oct 11 16:11:42 PDT 2025

Total time taken to generate the page: 1.91468 seconds