
report at bugs
Aug 24, 2008, 2:34 PM
Post #3 of 3
(46 views)
Permalink
|
|
[issue3101] global function _add_one_to_C
[In reply to]
|
|
Travis Oliphant <oliphant[at]enthought.com> added the comment: I've added comments in the code to document these functions. I have no opinion where they live except they should probably be available to extensions modules. These routines increment an N-length counter representing a position in an N-dimensional array with wrap-around when the counter reaches the size of the dimension. Thus, for a (2,3) array we have: F-version 0,0 1,0 2,0 0,1 1,1 2,1 C-version 0,0 0,1 0,2 1,0 1,1 1,2 _______________________________________ Python tracker <report[at]bugs.python.org> <http://bugs.python.org/issue3101> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|