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

Home » Public Forums » archive » POLYFITW user routine
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
POLYFITW user routine [message #1318] Wed, 08 September 1993 17:24
troy is currently offline  troy
Messages: 2
Registered: September 1993
Junior Member
I have been having a problem with the routine POLYFITW. For certain
combinations of data sets and polynomial degree, the routine generates
an arithmetic error. I have traced this to a problem with the variable
YBAND. In particular, YBAND is a vector with some negative elements.
When the routine tries to take the square root, the error results.

As I understand it, the variable YBAND is a variance, and should never be
negative. Has anyone else come across this problem? Is it a bug in the code,
a problem with the algorithm, or maybe a bug in IDL's matrix handling routines?

Any help or insight would be much appreciated.


Troy
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Speckle reducing filters
Next Topic: write_pict.pro for VMS?

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

Current Time: Wed Oct 08 17:39:31 PDT 2025

Total time taken to generate the page: 0.00484 seconds