summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2018-01-31 00:35:10 -0800
committerEric Wieser <wieser.eric@gmail.com>2018-01-31 00:35:10 -0800
commitff5ce932e6a0219dfedae48924248dd2f8c5670a (patch)
tree2157194da40ee4ecbb91175d8ff4565d5b6ce9fa /doc
parentbb7b12672fe7b68c7776a7f757741d4632001bf3 (diff)
downloadpython-numpy-ff5ce932e6a0219dfedae48924248dd2f8c5670a.tar.gz
python-numpy-ff5ce932e6a0219dfedae48924248dd2f8c5670a.tar.bz2
python-numpy-ff5ce932e6a0219dfedae48924248dd2f8c5670a.zip
DOC: Tell matlab users about np.block
Diffstat (limited to 'doc')
-rw-r--r--doc/source/user/numpy-for-matlab-users.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/user/numpy-for-matlab-users.rst b/doc/source/user/numpy-for-matlab-users.rst
index 002a0c9c3..ae379624e 100644
--- a/doc/source/user/numpy-for-matlab-users.rst
+++ b/doc/source/user/numpy-for-matlab-users.rst
@@ -310,7 +310,7 @@ Linear Algebra Equivalents
* - ``[ a b; c d ]``
- ``vstack([hstack([a,b]), hstack([c,d])])`` or
- ``bmat('a b; c d').A``
+ ``block([[a, b], [c, d])``
- construct a matrix from blocks ``a``, ``b``, ``c``, and ``d``
* - ``a(end)``