Ask Your Question
0

Read sparse matrix in Harwell-Boeing Exchange Format

asked 12 years ago

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?

Preview: (hide)

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 ( 12 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

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.

Preview: (hide)
link

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: 12 years ago

Seen: 1,056 times

Last updated: Mar 08 '13