
Hello, I am working on a software using different matrices formats and i use scipy in order to compare my results. I succeed in using the matrix market format (.mtx) but not the matrix market format "bis" (.ijv). The first one is for complex matrices although the second one is for real matrices. I used scipy.io.mmread() in order to read the matrix but this function cannot be used to read real matrices. For that, i had to modify the initial function (in fact, adding 1 to some values). Do you know any way to read those matrices in Python? Should i share my extensions of scipy.io? Yours sincelery Grégoire Pichon, french student in computer science

On Mon, Jun 24, 2013 at 9:14 PM, Grégoire Pichon <gpichon@enseirb.fr> wrote:
Hello,
I am working on a software using different matrices formats and i use scipy in order to compare my results. I succeed in using the matrix market format (.mtx) but not the matrix market format "bis" (.ijv). The first one is for complex matrices although the second one is for real matrices. I used scipy.io.mmread() in order to read the matrix but this function cannot be used to read real matrices. For that, i had to modify the initial function (in fact, adding 1 to some values). Do you know any way to read those matrices in Python? Should i share my extensions of scipy.io?
Hi Gregoire, sharing your improvements to mmread() would be useful - if we provide the function in scipy it should be as complete as possible. Could you send a pull request? Cheers, Ralf
participants (2)
-
Grégoire Pichon
-
Ralf Gommers