From 586234d66c76c870071ad55ddb22bf39e9c647fb Mon Sep 17 00:00:00 2001 From: John Law Date: Mon, 27 May 2019 09:17:39 +0800 Subject: 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. --- numpy/core/numeric.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'numpy/core/numeric.py') 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 -- cgit v1.2.1