summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2023-05-02 13:33:35 -0700
committerRoss Barnowski <rossbar@berkeley.edu>2023-05-02 13:33:35 -0700
commit086e8f3accceb06e60789c0cac524b71bf0936fc (patch)
tree9296585b41688cbb79d5a737dfdfeb48d69886b9 /numpy/core
parent6830a346a87bdf56c6b2f02197fdbedd59f7a287 (diff)
downloadnumpy-086e8f3accceb06e60789c0cac524b71bf0936fc.tar.gz
DOC: add back reference.
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/numeric.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py
index 4d7e49c7e..91ac3f860 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -844,12 +844,12 @@ def outer(a, b, out=None):
Compute the outer product of two vectors.
Given two vectors `a` and `b` of length ``M`` and ``N``, repsectively,
- the outer product is::
+ the outer product [1]_ is::
- [[a_0*b_0 a_0*b_1 ... a_0*b_N-1 ]
+ [[a_0*b_0 a_0*b_1 ... a_0*b_{N-1} ]
[a_1*b_0 .
[ ... .
- [a_M-1*b_0 a_M-1*b_N-1 ]]
+ [a_{M-1}*b_0 a_{M-1}*b_{N-1} ]]
Parameters
----------