[SciPy-User] Problem with IndexError

Krystian Rosiński krystian.rosinski at gmail.com
Tue Mar 8 12:06:01 EST 2011


Hi,

I've been using SciPy for some time, but I still have problems with indexing
and the Python convention relating to the numbering from zero in more
complex cases.

I'm trying to translate excellent example "Matrix Structural Analysis of
Plane Frames using Scilab" to Python. I've spent on this code a few hours
and I still can't find the cause of the problem of IndexError.
Here<http://paste.pocoo.org/show/350277/>is my code.

I would be very grateful if someone could look at it and give me any advice.


Krystian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA.py
Type: application/octet-stream
Size: 11207 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA.sce
Type: application/octet-stream
Size: 369 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA.sci
Type: application/octet-stream
Size: 5107 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA_using_Scilab.pdf
Type: application/pdf
Size: 303718 bytes
Desc: not available
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment.pdf>


More information about the SciPy-User mailing list