From: Nils W. <nw...@ia...> - 2006-08-16 14:28:44
|
Nils Wagner wrote: > Keith Goodman wrote: > =20 >> On 8/15/06, David Grant <dav...@gm...> wrote: >> >> =20 >> =20 >>> My idea is (if I have time) to write an eigs-like function in python >>> that will only perform a subset of what Matlab's eigs does for. It >>> will, for example, compute a certain number of eigenvalues and >>> eigenvectors for a real, sparse, symmetric matrix (the case I'm >>> interested in) >>> =20 >>> =20 >> =20 >> =20 > AFAIK, pysparse (in the sandbox) includes a module that implements a > Jacobi-Davidson > eigenvalue solver for the symmetric, generalised matrix eigenvalue > problem (JDSYM). > Did someone test pysparse ? > > Nils > > =20 >> Will it also work for a real, dense, symmetric matrix? That's the case >> I'm interested in. But even if it doesn't, your work is great news for >> numpy. >> >> ----------------------------------------------------------------------= --- >> Using Tomcat but need to do more? Need to support web services, securi= ty? >> Get stuff done quickly with pre-integrated technology to make your job= easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Gero= nimo >> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&da= t=3D121642 >> _______________________________________________ >> Numpy-discussion mailing list >> Num...@li... >> https://lists.sourceforge.net/lists/listinfo/numpy-discussion >> =20 >> =20 > > > =20 > > > -----------------------------------------------------------------------= -- > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > =20 Ok it's not ready... gcc: Lib/sandbox/pysparse/src/spmatrixmodule.c In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:17: Lib/sandbox/pysparse/src/ll_mat.c: In function =91LLMat_matvec_transp=92: Lib/sandbox/pysparse/src/ll_mat.c:760: error: =91CONTIGUOUS=92 undeclared (first use in this function) Lib/sandbox/pysparse/src/ll_mat.c:760: error: (Each undeclared identifier is reported only once Lib/sandbox/pysparse/src/ll_mat.c:760: error: for each function it appears in.) Lib/sandbox/pysparse/src/ll_mat.c: In function =91LLMat_matvec=92: Lib/sandbox/pysparse/src/ll_mat.c:797: error: =91CONTIGUOUS=92 undeclared (first use in this function) In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:18: Lib/sandbox/pysparse/src/csr_mat.c: In function =91CSRMat_matvec_transp=92= : Lib/sandbox/pysparse/src/csr_mat.c:119: error: =91CONTIGUOUS=92 undeclare= d (first use in this function) Lib/sandbox/pysparse/src/csr_mat.c: In function =91CSRMat_matvec=92: Lib/sandbox/pysparse/src/csr_mat.c:146: error: =91CONTIGUOUS=92 undeclare= d (first use in this function) In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:19: Lib/sandbox/pysparse/src/sss_mat.c: In function =91SSSMat_matvec=92: Lib/sandbox/pysparse/src/sss_mat.c:83: error: =91CONTIGUOUS=92 undeclared (first use in this function) In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:17: Lib/sandbox/pysparse/src/ll_mat.c: In function =91LLMat_matvec_transp=92: Lib/sandbox/pysparse/src/ll_mat.c:760: error: =91CONTIGUOUS=92 undeclared (first use in this function) Lib/sandbox/pysparse/src/ll_mat.c:760: error: (Each undeclared identifier is reported only once Lib/sandbox/pysparse/src/ll_mat.c:760: error: for each function it appears in.) Lib/sandbox/pysparse/src/ll_mat.c: In function =91LLMat_matvec=92: Lib/sandbox/pysparse/src/ll_mat.c:797: error: =91CONTIGUOUS=92 undeclared (first use in this function) In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:18: Lib/sandbox/pysparse/src/csr_mat.c: In function =91CSRMat_matvec_transp=92= : Lib/sandbox/pysparse/src/csr_mat.c:119: error: =91CONTIGUOUS=92 undeclare= d (first use in this function) Lib/sandbox/pysparse/src/csr_mat.c: In function =91CSRMat_matvec=92: Lib/sandbox/pysparse/src/csr_mat.c:146: error: =91CONTIGUOUS=92 undeclare= d (first use in this function) In file included from Lib/sandbox/pysparse/src/spmatrixmodule.c:19: Lib/sandbox/pysparse/src/sss_mat.c: In function =91SSSMat_matvec=92: Lib/sandbox/pysparse/src/sss_mat.c:83: error: =91CONTIGUOUS=92 undeclared (first use in this function) error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -fmessage-length=3D0 -Wall -D_FORTIFY_SOURCE=3D2 -g -fPIC -ILib/sandbox/pysparse/include/ -I/usr/lib64/python2.4/site-packages/numpy/core/include -I/usr/include/python2.4 -c Lib/sandbox/pysparse/src/spmatrixmodule.c -o build/temp.linux-x86_64-2.4/Lib/sandbox/pysparse/src/spmatrixmodule.o" failed with exit status 1 Nils |