From: Dominique O. <dom...@gm...> - 2009-08-07 19:27:08
|
On Fri, Aug 7, 2009 at 2:42 PM, Jaim Bucay <Jai...@ra...> wrote: > Hi, I have never used Pysparse before. I would like to use it to create a > very large Sparse Matrix and find its Eigenvalues. Do you know where I can > get some simple examples of how to implement something like this. Thank you. If you look at http://pysparse.sf.net and follow the documentation, you will find several examples that will help you understand how to populate a sparse matrix with Pysparse. For the computation of eigenvalues, look into the jdsym module: http://pysparse.sourceforge.net/jdsym.html Be aware that this is a very expensive operation, especially if you need *all* eigenvalues. Often, you only need to find a few. -- Dominique |