Re: Meschach - SVD on a sparse matrix



On Jul 14, 8:52 am, Michael Lehn <michael.l...@xxxxxxxxxx> wrote:
On 2007-07-13 00:39:46 +0200, "akakiyakakiev...@xxxxxxxxx"
<akakiyakakiev...@xxxxxxxxx> said:



Hi,

I'm trying use meschach, compiling some programs, etc. because I need
compute svd on a sparse matrix.
http://www.netlib.org/c/meschach/
http://www.math.uiowa.edu/~dstewart/meschach/
Reading the FAQ:
"A1. What is Meschach?........
......o eigenvector/eigenvalue routines -- symmetric, real Schur
decomposition, SVD, extract eigenvector....."

"A2. Why not use C versions of LINPACK, EISPACK or LAPACK?.......
.....
As well, none of the above packages has anything to do with sparse
matrices. There are, of course, sparse matrix packages that are
freely
available, but even there, they do not seem to handle, in an
integrated
way, both sparse and dense matrices. Meschach has not only sparse
matrix
data structures and the routines to make use of them, but as the
sparse
matrices are self-contained data structures, use of sparse and dense
matrices can be intermixed...."

But, when I look for svd function, I only get in matrix2.h/svd.c,

svd.c:VEC *svd(MAT *A, MAT *U, MAT *V, VEC *d)

MAT (dense matrix) implementation but not the SPMAT (sparse matrix)

It seems that don't have svd functionality for SPMAT, I've seen
samples in tutorial.c, torture.c and ztorture.c. Only has used SPMAT
in tutorial.c /* discrete laplacian */ SPMAT *laplacian(A) SPMAT *A
function.

Anyone has used meschach for svd on a sparse matrix? other package?
suggestions?

Thanks in advance!
A

Did you have a look at http://www.netlib.org/svdpack/ ?

Michael

I'll see it(now I'm using svdlibc and it's based on svdpackc)
Thanks!

.



Relevant Pages

  • Re: Meschach - SVD on a sparse matrix
    ... I'm trying use meschach, compiling some programs, etc. because I need ... compute svd on a sparse matrix. ... There are, of course, sparse matrix packages that are ...
    (sci.math.num-analysis)
  • Meschach - SVD on a sparse matrix
    ... I'm trying use meschach, compiling some programs, etc. because I need ... compute svd on a sparse matrix. ... There are, of course, sparse matrix packages that are ...
    (sci.math.num-analysis)
  • Large & sparse SVD
    ... I need to compute the SVD of a large and sparse matrix: ... and 20 columns with 10% non-zero elements. ... memory everytime I tried. ...
    (sci.math.num-analysis)
  • Re: SVD for a large sparse matrix
    ... The matrix dimension is of the size 17640 x 254016. ... When i use the matlab's SVD function its gives "out of memory" ... as it tries to convert the sparse matrix into a full one. ... Then i tried using SVDS which is svd for sparse matrices, ...
    (comp.soft-sys.matlab)