diff options
author | Andras Deak <deak.andris@gmail.com> | 2020-06-21 02:51:23 +0200 |
---|---|---|
committer | Andras Deak <deak.andris@gmail.com> | 2020-06-21 02:51:23 +0200 |
commit | e3e647b7c02e8a2aae94208ce1285a34c6c332df (patch) | |
tree | 4747893820a729a7c1e35220d6784d013c6b3c5d | |
parent | be8ab91f789c3b688d707940016b4c2d262913e9 (diff) | |
download | numpy-e3e647b7c02e8a2aae94208ce1285a34c6c332df.tar.gz |
DOC: cross-reference numpy.dot and numpy.linalg.multi_dot
Add linalg.multi_dot to the "See also" of numpy.dot,
change dot to numpy.dot for linking in the "See also" of multi_dot.
-rw-r--r-- | numpy/core/multiarray.py | 1 | ||||
-rw-r--r-- | numpy/linalg/linalg.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/multiarray.py b/numpy/core/multiarray.py index 2cc2a8e71..0becc2393 100644 --- a/numpy/core/multiarray.py +++ b/numpy/core/multiarray.py @@ -761,6 +761,7 @@ def dot(a, b, out=None): tensordot : Sum products over arbitrary axes. einsum : Einstein summation convention. matmul : '@' operator as method with out parameter. + linalg.multi_dot : Chained dot product. Examples -------- diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 5ee326f3c..513ea8219 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -2660,7 +2660,7 @@ def multi_dot(arrays, *, out=None): See Also -------- - dot : dot multiplication with two arguments. + numpy.dot : dot multiplication with two arguments. References ---------- |