[SciPy-User] Problem with IndexError

Krystian Rosiński krystian.rosinski@gmail....
Tue Mar 8 11:06:01 CST 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-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA.py
Type: application/octet-stream
Size: 11206 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment-0003.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-0004.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-0005.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSA_using_Scilab.pdf
Type: application/pdf
Size: 303717 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20110308/1cef0907/attachment-0001.pdf 


More information about the SciPy-User mailing list