summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2017-03-23 16:45:04 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-02-27 20:03:26 -0500
commit5626be617d9e5b3b8758b875adf7c7c2356bf9b3 (patch)
treec7993c02297d5252320e15afc393fabced5e4a84 /numpy/core/numeric.py
parent042886c4369956db23d4d05a5cbe7baa4fb9f86b (diff)
downloadnumpy-5626be617d9e5b3b8758b875adf7c7c2356bf9b3.tar.gz
ENH: Implement axes keyword argument for gufuncs.
The axes argument allows one to specify the axes on which the gufunc will operate (by default, the trailing ones). It has to be a list with length equal to the number of operands, and each element a tuple of length equal to the number of core dimensions, with each element an axis index. If there is only one core dimension, the tuple can be replaced by a single index, and if none of the outputs have core dimensions, the corresponding empty tuples can be omitted.
Diffstat (limited to 'numpy/core/numeric.py')
0 files changed, 0 insertions, 0 deletions