Skip to content

Commit

Permalink
Merge pull request #7508 from endolith/vectorize
Browse files Browse the repository at this point in the history
DOC: link frompyfunc and vectorize
  • Loading branch information
charris committed Apr 5, 2016
2 parents 3deaf33 + 13dd07a commit b2d5a7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions numpy/add_newdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4852,6 +4852,10 @@ def luf(lamdaexpr, *args, **kwargs):
out : ufunc
Returns a Numpy universal function (``ufunc``) object.
See Also
--------
vectorize : evaluates pyfunc over input arrays using broadcasting rules of numpy
Notes
-----
The returned ufunc always returns PyObject arrays.
Expand Down
4 changes: 4 additions & 0 deletions numpy/lib/function_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2208,6 +2208,10 @@ class vectorize(object):
>>> vpolyval([1, 2, 3], x=[0, 1])
array([3, 6])
See Also
--------
frompyfunc : Takes an arbitrary Python function and returns a ufunc
Notes
-----
The `vectorize` function is provided primarily for convenience, not for
Expand Down

0 comments on commit b2d5a7b

Please sign in to comment.