summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorSimon Gibbons <simongibbons@gmail.com>2016-02-25 11:52:16 +0000
committerSimon Gibbons <simongibbons@gmail.com>2016-02-25 11:52:16 +0000
commitbdcb221caa1bf2c5d07f4574a6bf22dc7f305827 (patch)
tree2bfc3dcd066cf4272b75169a5e6ffbb2489a73c2 /numpy/core/numeric.py
parent077b0ebfe87b2c541f5b76ea3f65298ae39c8f62 (diff)
downloadnumpy-bdcb221caa1bf2c5d07f4574a6bf22dc7f305827.tar.gz
DOC: Fixed math rendering in tensordot docs.
Fixes #7339
Diffstat (limited to 'numpy/core/numeric.py')
-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 a672fdc53..9ddc3c546 100644
--- a/numpy/core/numeric.py
+++ b/numpy/core/numeric.py
@@ -1180,9 +1180,9 @@ def tensordot(a, b, axes=2):
Notes
-----
Three common use cases are:
- ``axes = 0`` : tensor product $a\otimes b$
- ``axes = 1`` : tensor dot product $a\cdot b$
- ``axes = 2`` : (default) tensor double contraction $a:b$
+ * ``axes = 0`` : tensor product :math:`a\otimes b`
+ * ``axes = 1`` : tensor dot product :math:`a\cdot b`
+ * ``axes = 2`` : (default) tensor double contraction :math:`a:b`
When `axes` is integer_like, the sequence for evaluation will be: first
the -Nth axis in `a` and 0th axis in `b`, and the -1th axis in `a` and