summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGert-Ludwig Ingold <gert.ingold@physik.uni-augsburg.de>2015-03-03 08:11:27 +0100
committerGert-Ludwig Ingold <gert.ingold@physik.uni-augsburg.de>2015-03-07 16:55:24 +0100
commit1b9813cf7a3702da3e8fa52d813805c55ad7afac (patch)
tree5846459d3cde643dce0d1e77e56c630eb4e354bb
parent03506a9e72d85d596021e11e9b39c5a0fd1f2eba (diff)
downloadnumpy-1b9813cf7a3702da3e8fa52d813805c55ad7afac.tar.gz
DOC: Give version when various linalg functions accepted stacked arrays.
Version information added in the Notes section of the functions accepting stacked arrays and in the discussion of this feature in the linalg overview.
-rw-r--r--doc/source/reference/routines.linalg.rst2
-rw-r--r--numpy/linalg/linalg.py20
2 files changed, 22 insertions, 0 deletions
diff --git a/doc/source/reference/routines.linalg.rst b/doc/source/reference/routines.linalg.rst
index 52f42a66c..94533aaa9 100644
--- a/doc/source/reference/routines.linalg.rst
+++ b/doc/source/reference/routines.linalg.rst
@@ -72,6 +72,8 @@ Exceptions
Linear algebra on several matrices at once
------------------------------------------
+.. versionadded:: 1.8.0
+
Several of the linear algebra routines listed above are able to
compute results for several matrices at once, if they are stacked into
the same array.
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 305488868..3b6d0be11 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -319,6 +319,8 @@ def solve(a, b):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -476,6 +478,8 @@ def inv(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -553,6 +557,8 @@ def cholesky(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -849,6 +855,8 @@ def eigvals(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -937,6 +945,8 @@ def eigvalsh(a, UPLO='L'):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -1017,6 +1027,8 @@ def eig(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -1152,6 +1164,8 @@ def eigh(a, UPLO='L'):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -1259,6 +1273,8 @@ def svd(a, full_matrices=1, compute_uv=1):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -1628,6 +1644,8 @@ def slogdet(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.
@@ -1697,6 +1715,8 @@ def det(a):
Notes
-----
+
+ .. versionadded:: 1.8.0
Broadcasting rules apply, see the `numpy.linalg` documentation for
details.