diff options
author | Nathaniel J. Smith <njs@pobox.com> | 2016-02-25 18:02:29 +0000 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2016-02-25 18:02:29 +0000 |
commit | 89d95a0660ffd5890916edb78a6d4a9ccb5b3ad0 (patch) | |
tree | 59955f23b7e5b43245d52f4086a7dd4a0d906fdb /numpy/core/numeric.py | |
parent | d6407a11367eaa27ea63bdf1e8aed9dc04a27b63 (diff) | |
parent | bdcb221caa1bf2c5d07f4574a6bf22dc7f305827 (diff) | |
download | numpy-89d95a0660ffd5890916edb78a6d4a9ccb5b3ad0.tar.gz |
Merge pull request #7340 from simongibbons/tensordot_doc_fix
DOC: Fixed math rendering in tensordot docs.
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 6 |
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 |