summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/reference/arrays.ndarray.rst20
-rw-r--r--doc/source/reference/routines.linalg.rst1
2 files changed, 18 insertions, 3 deletions
diff --git a/doc/source/reference/arrays.ndarray.rst b/doc/source/reference/arrays.ndarray.rst
index c8d834d1c..e84b7fdf8 100644
--- a/doc/source/reference/arrays.ndarray.rst
+++ b/doc/source/reference/arrays.ndarray.rst
@@ -428,10 +428,10 @@ be performed.
ndarray.all
ndarray.any
-Arithmetic and comparison operations
-====================================
+Arithmetic, matrix multiplication, and comparison operations
+============================================================
-.. index:: comparison, arithmetic, operation, operator
+.. index:: comparison, arithmetic, matrix, operation, operator
Arithmetic and comparison operations on :class:`ndarrays <ndarray>`
are defined as element-wise operations, and generally yield
@@ -551,6 +551,20 @@ Arithmetic, in-place:
casts the result to fit back in ``a``, whereas ``a = a + 3j``
re-binds the name ``a`` to the result.
+Matrix Multiplication:
+
+.. autosummary::
+ :toctree: generated/
+
+ ndarray.__matmul__
+
+.. note::
+
+ Matrix operators ``@`` and ``@=`` were introduced in Python 3.5
+ following PEP465. Numpy 1.10 has a preliminary implementation of ``@``
+ for testing purposes. Further documentation can be found in the
+ :func:`matmul` documentation.
+
Special methods
===============
diff --git a/doc/source/reference/routines.linalg.rst b/doc/source/reference/routines.linalg.rst
index 94533aaa9..bb2ad90a2 100644
--- a/doc/source/reference/routines.linalg.rst
+++ b/doc/source/reference/routines.linalg.rst
@@ -14,6 +14,7 @@ Matrix and vector products
vdot
inner
outer
+ matmul
tensordot
einsum
linalg.matrix_power