Ask Your Question
0

Read sparse matrix in Harwell-Boeing Exchange Format

asked 2013-03-06 17:06:33 +0100

MvG gravatar image

I'm currently creating some really large matrices, and hope they will end up reasonably sparse. I would like to toy with them in sage some day. Looking for a suitable standardized storage format, I just learned about the Harwell-Boeing Exchange Format. Is there some functionality provided by sage to read such files?

If not, should I rather read the file and construct a matrix from it using a standard matrix constructor, or should I create my own matrix subclass whith an internal format that closely resembles the file format?

edit retag flag offensive close merge delete

Comments

1

Perhaps you could try the Matrix Market format, it is described in the link you posted. You can [read](http://www.scipy.org/doc/api_docs/SciPy.io.mmio.html) this format using scipy, which ships with sage.

fidbc gravatar imagefidbc ( 2013-03-06 21:24:50 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-03-08 14:11:40 +0100

Benjamin Young gravatar image

Actually it seems that scipy provides basic support for this format starting in version 0.10.0. According to fidelbc's comment, scipy already ships with sage. So I'd tentatively answer "yes", although I haven't tried it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-03-06 17:06:33 +0100

Seen: 918 times

Last updated: Mar 08 '13