incrementing along a diagonal
David Novakovic
david at distip.com.au
Wed Oct 11 03:08:57 CDT 2006
Hi,
i'm moving some old perl PDL code to python. I've come across a line
which changes values in a diagonal line accross a matrix.
matrix.diagonal() returns a list of values, but making changes to these
does not reflect in the original (naturally).
I'm just wondering if there is a way that i can increment all the values
along a diagonal?
Cheers
Dave
P.S i wasnt sure how to sign to the mailing list - so i'd appreciate
being CC'd in any replies ;)
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
More information about the Numpy-discussion
mailing list