summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.py
diff options
context:
space:
mode:
authorQiyu8 <fangchunlin@huawei.com>2020-12-14 16:35:01 +0800
committerQiyu8 <fangchunlin@huawei.com>2020-12-14 16:35:01 +0800
commit4c7b3d64780c0cdfb8279c978d8b5a411995aee4 (patch)
tree4f98ed596916b9e8f5404939d7a39b86b6da52e6 /numpy/lib/shape_base.py
parent30c01122d2631269fa28f057f6723168b64ca783 (diff)
parente3722cea8adb7b66084a7edbc6afb978c5521c16 (diff)
downloadnumpy-4c7b3d64780c0cdfb8279c978d8b5a411995aee4.tar.gz
Merge branch 'master' of github.com:numpy/numpy into einsum-dot
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r--numpy/lib/shape_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index cbc4641d8..f0596444e 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -1088,8 +1088,8 @@ def kron(a, b):
-----
The function assumes that the number of dimensions of `a` and `b`
are the same, if necessary prepending the smallest with ones.
- If `a.shape = (r0,r1,..,rN)` and `b.shape = (s0,s1,...,sN)`,
- the Kronecker product has shape `(r0*s0, r1*s1, ..., rN*SN)`.
+ If ``a.shape = (r0,r1,..,rN)`` and ``b.shape = (s0,s1,...,sN)``,
+ the Kronecker product has shape ``(r0*s0, r1*s1, ..., rN*SN)``.
The elements are products of elements from `a` and `b`, organized
explicitly by::