Data error in triangular factorization
9 posts
• Page 1 of 1
Data error in triangular factorization

Senior Developer, AccelerEyes
PhD Student, Dept. of ECE,
UC Santa Barbara
- jrk1982
- Posts: 26
- Joined: Thu Aug 13, 2009 8:48 pm
Re:Data error in triangular factorization

Senior Developer, AccelerEyes
PhD Student, Dept. of ECE,
UC Santa Barbara
- jrk1982
- Posts: 26
- Joined: Thu Aug 13, 2009 8:48 pm
Re:Data error in triangular factorization

Senior Developer, AccelerEyes
PhD Student, Dept. of ECE,
UC Santa Barbara
- jrk1982
- Posts: 26
- Joined: Thu Aug 13, 2009 8:48 pm
Re:Data error in triangular factorization
Thanks. That worked for the LU factors. However, 1 last issue which I think is genuine.
The permutation vector returned does not seem right... I get [3 3 3] for input, [3 7 9; 6 5 8; 8 5 13]. Matlab returns [3 1 2]...
The permutation vector returned does not seem right... I get [3 3 3] for input, [3 7 9; 6 5 8; 8 5 13]. Matlab returns [3 1 2]...

Senior Developer, AccelerEyes
PhD Student, Dept. of ECE,
UC Santa Barbara
- jrk1982
- Posts: 26
- Joined: Thu Aug 13, 2009 8:48 pm
Re:Data error in triangular factorization
That's just a notational difference. Matlab's vector is meant to be evaluated in parallel (ie A(p,: )) and LAPACK's is procedural (apply this swap, THEN do this swap, THEN do this one, etc.) In this case they're equivalent.
- john
- Administrator
- Posts: 587
- Joined: Thu Jul 23, 2009 2:31 pm
Re:Data error in triangular factorization
Cool. Thanks!

Senior Developer, AccelerEyes
PhD Student, Dept. of ECE,
UC Santa Barbara
- jrk1982
- Posts: 26
- Joined: Thu Aug 13, 2009 8:48 pm
Re:Data error in triangular factorization
Hi,
I run this code (I removed the memset), but I cannot get the permutation vector as [3 3 3]. TAU vector here returns weird digits as 4.204e-045#DEN, any idea?!
Thanks a lot
I run this code (I removed the memset), but I cannot get the permutation vector as [3 3 3]. TAU vector here returns weird digits as 4.204e-045#DEN, any idea?!
Thanks a lot
University of Alberta
- kolonel
- Posts: 14
- Joined: Mon Oct 26, 2009 9:18 pm
- Location: Canada
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: Google [Bot] and 1 guest