From: jeremito <jer...@gm...> - 2006-10-26 00:04:20
|
If I understand correctly, the LAPACK package has some standard matrices included with it for testing. Does the linalg portion of numpy also have access to these matrices/arrays? Thanks, Jeremy |
From: Robert K. <rob...@gm...> - 2006-10-26 00:06:54
|
jeremito wrote: > If I understand correctly, the LAPACK package has some standard > matrices included with it for testing. Does the linalg portion of > numpy also have access to these matrices/arrays? No. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
From: Bill B. <wb...@gm...> - 2006-10-26 02:52:38
|
On 10/26/06, jeremito <jer...@gm...> wrote: > > > Hmmm. I guess I'll have to find another way to get some > "standard/well-known" matrices to work with. Thanks for your help. Well if all you want is some matrices, there's nothing stopping you from grabbing the matrices in the LAPACK distribution and using them yourself. Robert's just saying they won't be included in Numpy. There's also the matrix market, whcih has a large number of (sparse-only?) example matrices. http://math.nist.gov/MatrixMarket/index.html --bb |
From: Robert K. <rob...@gm...> - 2006-10-26 00:13:51
|
Robert Kern wrote: > jeremito wrote: >> If I understand correctly, the LAPACK package has some standard >> matrices included with it for testing. Does the linalg portion of >> numpy also have access to these matrices/arrays? > > No. To clarify, these are routines provided with the LAPACK source distribution in the TESTING/MATGEN/ directory. However, they are not part of the LAPACK library itself, and thus we *cannot* provide wrappers for them in numpy. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
From: jeremito <jer...@gm...> - 2006-10-26 02:43:19
|
Robert Kern wrote: > Robert Kern wrote: > > jeremito wrote: > >> If I understand correctly, the LAPACK package has some standard > >> matrices included with it for testing. Does the linalg portion of > >> numpy also have access to these matrices/arrays? > > > > No. > > To clarify, these are routines provided with the LAPACK source distribution in > the TESTING/MATGEN/ directory. However, they are not part of the LAPACK library > itself, and thus we *cannot* provide wrappers for them in numpy. > > -- > Robert Kern > > "I have come to believe that the whole world is an enigma, a harmless enigma > that is made terrible by our own mad attempt to interpret it as though it had > an underlying truth." > -- Umberto Eco > Hmmm. I guess I'll have to find another way to get some "standard/well-known" matrices to work with. Thanks for your help. Jeremy |
From: Nils W. <nw...@ia...> - 2006-10-26 07:19:49
|
Bill Baxter wrote: > > On 10/26/06, *jeremito* <jer...@gm... > <mailto:jer...@gm...>> wrote: > > > Hmmm. I guess I'll have to find another way to get some > "standard/well-known" matrices to work with. Thanks for your help. > > > Well if all you want is some matrices, there's nothing stopping you > from grabbing the matrices in the LAPACK distribution and using them > yourself. Robert's just saying they won't be included in Numpy. > > There's also the matrix market, whcih has a large number of > (sparse-only?) example matrices. > http://math.nist.gov/MatrixMarket/index.html > > --bb > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > 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 Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Numpy-discussion mailing list > Num...@li... > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > You might be also interested in the Matrix Computation Toolbox which is a collection of MATLAB M-files containing functions for constructing test matrices ... http://www.ma.man.ac.uk/~higham/mctoolbox/ and http://www.mathworks.com/access/helpdesk/help/techdoc/ref/*gallery*.html BTW, you can easily import matrices given in the MatrixMarket format in scipy. See* io.mmread * mmread(source) Reads the contents of a Matrix Market file 'filename' into a matrix. Inputs: source - Matrix Market filename (extensions .mtx, .mtz.gz) or open file object. Outputs: a - sparse or full matrix Nils |
From: jeremito <jer...@gm...> - 2006-10-27 13:44:00
|
> Well if all you want is some matrices, there's nothing stopping you > from grabbing the matrices in the LAPACK distribution and using them > yourself. Robert's just saying they won't be included in Numpy. > There's also the matrix market, whcih has a large number of > (sparse-only?) example matrices. > http://math.nist.gov/MatrixMarket/index.html > --bb _______________________________________________ > > Numpy-discussion mailing list > > Num...@li... > > https://lists.sourceforge.net/lists/listinfo/numpy-discussion > > > > You might be also interested in the Matrix Computation Toolbox which is > a collection of MATLAB M-files containing functions for constructing > test matrices ... > http://www.ma.man.ac.uk/~higham/mctoolbox/ > > and > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/*gallery*.html > > BTW, you can easily import matrices given in the MatrixMarket format in > scipy. See* io.mmread * > > mmread(source) > Reads the contents of a Matrix Market file 'filename' into a matrix. > > Inputs: > > source - Matrix Market filename (extensions .mtx, .mtz.gz) > or open file object. > > Outputs: > > a - sparse or full matrix > > Nils Thanks Bill and Nils. After my response, I had discovered the Matrix Market and realized it would be easy for me create some of the matrices myself. However having a way to read in the files already is really helpful. Thanks for pointing that out. Jeremy |