diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-01-31 08:03:21 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-31 08:03:21 -0700 |
commit | b6975e1588e5d7a3e23c8d440981a0929dd1a97e (patch) | |
tree | bb7d8ca7e7d4a70958eac2d03227605ead87b266 | |
parent | fc86cd0840854b0542fbf3619ebbd272030e7dd7 (diff) | |
parent | ff5ce932e6a0219dfedae48924248dd2f8c5670a (diff) | |
download | numpy-b6975e1588e5d7a3e23c8d440981a0929dd1a97e.tar.gz |
Merge pull request #10497 from eric-wieser/add-block-docs
DOC: Tell matlab users about np.block
-rw-r--r-- | doc/source/user/numpy-for-matlab-users.rst | 2 |
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)`` |