diff options
author | Jaime <jaime.frio@gmail.com> | 2015-04-08 21:13:59 -0700 |
---|---|---|
committer | Jaime <jaime.frio@gmail.com> | 2015-04-08 21:13:59 -0700 |
commit | 3c5409e4e38e6034d69d0042bf2a3bc854ef2e53 (patch) | |
tree | 385e8146f6c6998a80537fec055c55bcf0852e8f /numpy/lib/function_base.py | |
parent | cf2f063478d8bffa03a6c37d88365978e7f4a877 (diff) | |
parent | a5416bed1620ba5d825a397914309445e8a51425 (diff) | |
download | numpy-3c5409e4e38e6034d69d0042bf2a3bc854ef2e53.tar.gz |
Merge pull request #5757 from helderc/patch-1
DOC: Docstring of gradient() function
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 -------- |