summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorJohn Law <johnlaw.po@gmail.com>2019-05-27 09:17:39 +0800
committerJohn Law <johnlaw.po@gmail.com>2019-05-27 09:17:39 +0800
commit586234d66c76c870071ad55ddb22bf39e9c647fb (patch)
tree84659092ccc0fcadb6ec993cf4d7389d6d0aa735 /numpy/core/numeric.py
parent849e4d429951ad93691e6149d070b9d31536cc12 (diff)
downloadnumpy-586234d66c76c870071ad55ddb22bf39e9c647fb.tar.gz
DOC: Add return section to linalg.matrix_rank & tensordot
This patch adds two return sections to them. Also one or two minor formatting issues are resolved. Addresses #13630.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r--numpy/core/numeric.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 0eee8d10e..ea2ef900e 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -934,6 +934,11 @@ def tensordot(a, b, axes=2):
Or, a list of axes to be summed over, first sequence applying to `a`,
second to `b`. Both elements array_like must be of the same length.
+ Returns
+ -------
+ output : ndarray
+ The tensor dot product of the input.
+
See Also
--------
dot, einsum