forum.alglib.net

ALGLIB forum
It is currently Thu Apr 18, 2024 10:28 pm

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  [ 3 posts ] 
Author Message
 Post subject: c++ rmatrixlu - possibly bug in reorder out argument
PostPosted: Thu Jul 29, 2010 7:30 pm 
Offline

Joined: Thu Jul 29, 2010 7:20 pm
Posts: 2
Hi! I'm new to alglib, but I liked very much it's style and I would like to use it in my research.
I tried to use rmatrixlu from c++ version, (last release: 2.6.0), and the decomposition worked well, but the compacted permutation matrix came wrong all the times. Something like (for a matrix 6x6): [5 5 3 5 5 5]. The way I understood this format, it could not have repeated values.
Did some one have the same problem? Is possible I'm doing something wrong?


Top
 Profile  
 
 Post subject: Re: c++ rmatrixlu - possibly bug in reorder out argument
PostPosted: Fri Jul 30, 2010 5:30 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 906
No, it's alright with function. From its documentation:
Code:
* P = P0*P1*...*PK, K=min(M,N)-1,
  Pi - permutation matrix for I and Pivots[I]


[5 5 3 5 5 5] is a sequence of elementary permutations: 0th with 5th, 1st with 5th, 2nd with 3rd, 3rd with 5th. 4th with 5th, 5th with 5th.


Top
 Profile  
 
 Post subject: Re: c++ rmatrixlu - possibly bug in reorder out argument
PostPosted: Fri Jul 30, 2010 1:33 pm 
Offline

Joined: Thu Jul 29, 2010 7:20 pm
Posts: 2
Sorry for my mystake, I'm used to other format.
Thanks a lot! It helped very much!


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 61 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