diff options
author | Helder Oliveira <heldercro@gmail.com> | 2015-04-08 21:53:11 -0300 |
---|---|---|
committer | Helder <heldercro@gmail.com> | 2015-04-09 00:40:17 -0300 |
commit | a5416bed1620ba5d825a397914309445e8a51425 (patch) | |
tree | 385e8146f6c6998a80537fec055c55bcf0852e8f /numpy/lib/function_base.py | |
parent | cf2f063478d8bffa03a6c37d88365978e7f4a877 (diff) | |
download | numpy-a5416bed1620ba5d825a397914309445e8a51425.tar.gz |
DOC: Docstring of gradient() function
Updating of docstring of gradient() function specifying the return is a `list` of `ndarray`.
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index ccf5bcfc0..b619e9dd0 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -906,9 +906,9 @@ def gradient(f, *varargs, **kwargs): Returns ------- - gradient : ndarray - N arrays of the same shape as `f` giving the derivative of `f` with - respect to each dimension. + gradient : list of ndarray + Each element of `list` has the same shape as `f` giving the derivative + of `f` with respect to each dimension. Examples -------- |