forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 5:45 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: rmatrixsvd - bug?
PostPosted: Mon Jul 16, 2012 7:35 am 
Offline

Joined: Mon Jul 16, 2012 7:30 am
Posts: 1
I'm using your library Alglib for c++ and I found some undesirable behavior in some specific data. Maybe you can help me!
The case is very strange, becouse some part of result matrix contains data from input matrix :(
Description of case:
I'm using rmatrixsvd:

bool result = rmatrixsvd(*data, data->rows(), data->cols(), 1, 1, 0, *sTemp, *u, *v);

In attachment you'll find exported data matrix, and also matrices sTemp, u, v. Problems occur in matrix …. If you multiply matrices in this case you'll not get the same matrix as data.
This calculation was made in two different computers (one was grid) and results was the same. To compare it I calculated this case (matrix data) in Matlab and got correct results.
Sometimes when I have another, different matrices the calculations go alright. Maybe there is some bug in algorithm?

I'll be happy if you would like to answer me with this problem!


Attachments:
File comment: some calculaton made in MatLab
rozklady.txt [8.42 KiB]
Downloaded 585 times
File comment: output matrix with wrong data
v_error.csv [2.1 KiB]
Downloaded 629 times
File comment: input matrix
data.csv [744 Bytes]
Downloaded 657 times
Top
 Profile  
 
 Post subject: Re: rmatrixsvd - bug?
PostPosted: Tue Jul 17, 2012 8:26 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Hello!

We've started working on problem, updates will be posted here. Thanks for the report!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group