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

Home » Public Forums » archive » SVDC did not converge
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
SVDC did not converge [message #85246] Thu, 18 July 2013 09:07 Go to next message
fd_luni is currently offline  fd_luni
Messages: 66
Registered: January 2013
Member
Hi

I am using the Singular value decomposition method (SVDC function) and so far everything works fine.

I have two arrays: one with p-values and the other with d-values
E.G. p=[0.02,0.04,0.06] and d=[0.01,0.015,0.025]
Each time I choose if I want to use the p or the d array. When I use the p array everything is ok but when I use the d array I've got the following error and I don't see why:

> SVDC: svdcmp_d did not converge.
> Array has a corrupted descriptor: <No name>.

Does anyone know why this happens?

ManY Thanks
M
Re: SVDC did not converge [message #85259 is a reply to message #85246] Fri, 19 July 2013 00:04 Go to previous messageGo to next message
Rob Klooster is currently offline  Rob Klooster
Messages: 18
Registered: February 2013
Junior Member
Op donderdag 18 juli 2013 18:07:52 UTC+2 schreef fd_...@mail.com het volgende:
> Hi
>
>
>
> I am using the Singular value decomposition method (SVDC function) and so far everything works fine.
>
>
>
> I have two arrays: one with p-values and the other with d-values
>
> E.G. p=[0.02,0.04,0.06] and d=[0.01,0.015,0.025]
>
> Each time I choose if I want to use the p or the d array. When I use the p array everything is ok but when I use the d array I've got the following error and I don't see why:
>
>
>
>> SVDC: svdcmp_d did not converge.
>
>> Array has a corrupted descriptor: <No name>.
>
>
>
> Does anyone know why this happens?
>
>
>
> ManY Thanks
>
> M

What are the matrices of which you want to calculate the SVD? I cannot reproduce the error you get, could you provide some example code?

Rob.
Re: SVDC did not converge [message #85260 is a reply to message #85259] Fri, 19 July 2013 01:22 Go to previous messageGo to next message
Rob Klooster is currently offline  Rob Klooster
Messages: 18
Registered: February 2013
Junior Member
Op vrijdag 19 juli 2013 09:04:57 UTC+2 schreef Rob Klooster het volgende:
> Op donderdag 18 juli 2013 18:07:52 UTC+2 schreef fd_...@mail.com het volgende:
>
>> Hi
>
>>
>
>>
>
>>
>
>> I am using the Singular value decomposition method (SVDC function) and so far everything works fine.
>
>>
>
>>
>
>>
>
>> I have two arrays: one with p-values and the other with d-values
>
>>
>
>> E.G. p=[0.02,0.04,0.06] and d=[0.01,0.015,0.025]
>
>>
>
>> Each time I choose if I want to use the p or the d array. When I use the p array everything is ok but when I use the d array I've got the following error and I don't see why:
>
>>
>
>>
>
>>
>
>>> SVDC: svdcmp_d did not converge.
>
>>
>
>>> Array has a corrupted descriptor: <No name>.
>
>>
>
>>
>
>>
>
>> Does anyone know why this happens?
>
>>
>
>>
>
>>
>
>> ManY Thanks
>
>>
>
>> M
>
>
>
> What are the matrices of which you want to calculate the SVD? I cannot reproduce the error you get, could you provide some example code?
>
>
>
> Rob.

I just noticed that the error can come from NAN's in your array. You should check for those with the finite() function.

Rob.
Re: SVDC did not converge [message #85261 is a reply to message #85260] Fri, 19 July 2013 02:21 Go to previous messageGo to next message
fd_luni is currently offline  fd_luni
Messages: 66
Registered: January 2013
Member
Yes, maybe! This error appears when I am using an array with very small values. I will check with the finite() function.

Cheers
M
Re: SVDC did not converge [message #85263 is a reply to message #85261] Fri, 19 July 2013 08:34 Go to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
On 2013-07-19 11:21, fd_luni@mail.com wrote:
> Yes, maybe! This error appears when I am using an array with very small values. I will check with the finite() function.

You could try using la_svd instead of svdc.

/Mats
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Running Java bridge in Envi + IDL mode
Next Topic: Open text files consecutively without knowing names

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

Current Time: Wed Oct 08 13:48:15 PDT 2025

Total time taken to generate the page: 0.07011 seconds