[SciPy-user] Rutherford Boeing format

Dominique Orban dominique.orban@gmail....
Thu Dec 13 09:03:58 CST 2007

On 12/13/07, Nils Wagner <nwagner@iam.uni-stuttgart.de> wrote:
> Hi all,
> I was wondering if someone has written a function to
> import matrices given in the Rutherford Boeing format.

A while ago I wrote a function to import Harwell-Boeing format. RB is
quite similar so I expect few changed will do the trick. My function
relies on Konrad Hinsen's FortranFormat module, which I also attach
below. I haven't looked at this lately, so I hope it works for you. If
this is useful, I have no problem including it in SciPy.

In the test function, the sparsetools module is part of NLPy and plots
a sparsity pattern. If you don't use NLPy, just replace that with any
other plot you like :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: FortranFormat.py
Type: text/x-python-script
Size: 6116 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20071213/788a9027/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb.py
Type: text/x-python-script
Size: 2848 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20071213/788a9027/attachment-0003.bin 

More information about the SciPy-user mailing list