FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Forum index » Science and Technology » Math » num-analysis
SVD of a sperse matrix
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
Author Message
nelson
science forum beginner


Joined: 28 May 2005
Posts: 10

PostPosted: Sat May 28, 2005 5:28 am    Post subject: SVD of a sperse matrix Reply with quote

Hi,
i have a sparse rectangular matrix A and i want to find the principal
direction of $A*A'$ where .' denote the transpose. What are the best
algorithm for a problem of this type? I have found some references about
lanczos methods, are thei reliabel for this problem. I don't want to make
the product A*A' during the algorithm because matrix are of the order
10000*10000000

thank for any advice,
nelson


--
Everything will be just tickety-boo today.
Back to top
Allen McIntosh
science forum beginner


Joined: 27 May 2005
Posts: 20

PostPosted: Sat May 28, 2005 1:13 pm    Post subject: Re: SVD of a sperse matrix Reply with quote

nelson wrote:
Quote:
Hi,
i have a sparse rectangular matrix A and i want to find the principal
direction of $A*A'$ where .' denote the transpose. What are the best
algorithm for a problem of this type? I have found some references about
lanczos methods, are thei reliabel for this problem.

1) netlib
2) get hold of a copy of G. W. Stewart: Matrix Algorithms, Volume II:
Eigensystems.
Back to top
Guest






PostPosted: Sat May 28, 2005 8:21 pm    Post subject: Re: SVD of a sperse matrix Reply with quote

You can use an iterative method such as that packaged in Arpack. But
iterate with the symmetric matrix

B = [0 A]
[A' 0]

You need to form matrix B times a given vector in the API. No need to
compute A*A'.

You will converge on the partitioned principal vector

[ x y] with singular value, s. Note that x is the piece you are
after, and s^2 is the eigenvalue of your required matrix. You also get
the direction for A'*A as a bonus - that is y. Reading that book is
good, too!

DTB
Back to top
Guest






PostPosted: Sun May 29, 2005 10:17 am    Post subject: Re: SVD of a sperse matrix Reply with quote

nelson wrote:
Quote:
Hi,
i have a sparse rectangular matrix A and i want to find the principal
direction of $A*A'$ where .' denote the transpose. What are the best
algorithm for a problem of this type? I have found some references about
lanczos methods, are thei reliabel for this problem. I don't want to make
the product A*A' during the algorithm because matrix are of the order
10000*10000000

thank for any advice,
nelson

http://sun.stanford.edu/~rmunk/PROPACK/

"The software package PROPACK contains a set of functions for computing
the singular value decomposition of large and sparse or structured
matrices. The SVD routines are based on the Lanczos bidiagonalization
algorithm with partial reorthogonalization (BPRO)." PROPACK is
available in Fortran 77 and Matlab versions.
Back to top
nelson
science forum beginner


Joined: 28 May 2005
Posts: 10

PostPosted: Sun May 29, 2005 3:16 pm    Post subject: Re: SVD of a sperse matrix Reply with quote

Allen McIntosh wrote:

Quote:
nelson wrote:
Hi,
i have a sparse rectangular matrix A and i want to find the principal
direction of $A*A'$ where .' denote the transpose. What are the best
algorithm for a problem of this type? I have found some references about
lanczos methods, are thei reliabel for this problem.

1) netlib
2) get hold of a copy of G. W. Stewart: Matrix Algorithms, Volume II:
Eigensystems.

I HAVE TO code the method in Java.... i want to integrate it into an
existing java application...

nelson
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 Posts] View previous topic :: View next topic
The time now is Fri Jul 30, 2010 5:37 am | All times are GMT
Forum index » Science and Technology » Math » num-analysis
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Diagonalizable matrix aline Math 0 Wed Nov 29, 2006 3:08 am
No new posts sign of the determinant of an augment... Mark Math 4 Thu Jul 20, 2006 1:30 am
No new posts spectrum of a symmetric tridiagonal r... pf.buonsante@gmail.com Math 0 Wed Jul 19, 2006 9:45 am
No new posts distance matrix consolidation bird Math 6 Sat Jul 15, 2006 9:05 pm
No new posts Rank of a matrix with bounded elements eugene Math 3 Sat Jul 15, 2006 7:46 am

Copyright © 2004-2005 DeniX Solutions SRL
Other DeniX Solutions sites: Electronics forum |  Medicine forum |  Unix/Linux blog |  Unix/Linux documentation |  Unix/Linux forums


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0693s ][ Queries: 14 (0.0424s) ][ GZIP on - Debug on ]