summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorStephan Hoyer <shoyer@gmail.com>2016-10-17 21:32:40 -0400
committerCharles Harris <charlesr.harris@gmail.com>2016-10-17 21:32:40 -0400
commit0a02bb6f62a5c09103cf748bafe7a622f3dfe98b (patch)
tree04ccebede3afc55afd08eae732a3ececa3846f69 /numpy/core/setup_common.py
parent15e82e2181d9ae92b6a1a6fb80454bc3a4aa2cb5 (diff)
downloadnumpy-0a02bb6f62a5c09103cf748bafe7a622f3dfe98b.tar.gz
ENH: add signature argument to vectorize for vectorizing like generalized ufuncs (#8054)
* ENH: add signature argument to vectorize for generalized ufuncs Example usage (from the docstring): Vectorized convolution: >>> convolve = np.vectorize(np.convolve, signature='(n),(m)->(k)') >>> convolve(np.eye(4), [1, 2, 1]) array([[ 1., 2., 1., 0., 0., 0.], [ 0., 1., 2., 1., 0., 0.], [ 0., 0., 1., 2., 1., 0.], [ 0., 0., 0., 1., 2., 1.]]) * Use str.format rather than % * Fix spelling typo * BUG: fix np.vectorize for size 0 inputs * DOC: add vectorize to 1.12.0 release notes * [ci-skip] Remove outdated comment
Diffstat (limited to 'numpy/core/setup_common.py')
0 files changed, 0 insertions, 0 deletions