diff options
author | Stephan Hoyer <shoyer@climate.com> | 2015-01-14 23:41:30 -0800 |
---|---|---|
committer | Stephan Hoyer <shoyer@climate.com> | 2015-02-26 18:15:44 -0800 |
commit | 05b5335ecf25e59477956b4f85b9a8edbdf71bcc (patch) | |
tree | 9f336ce41f3992cb955dbd5d0412015c9134c5c9 /doc/source | |
parent | 2e016ac65aceab4e08217794d6be7b365793976a (diff) | |
download | numpy-05b5335ecf25e59477956b4f85b9a8edbdf71bcc.tar.gz |
ENH: add broadcast_to function
Per the mailing list discussion [1], I have implemented a new function
`broadcast_to` that broadcasts an array to a given shape according to
numpy's broadcasting rules.
[1] http://mail.scipy.org/pipermail/numpy-discussion/2014-December/071796.html
Diffstat (limited to 'doc/source')
-rw-r--r-- | doc/source/reference/routines.array-manipulation.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/source/reference/routines.array-manipulation.rst b/doc/source/reference/routines.array-manipulation.rst index 81af0a315..2b3ba342a 100644 --- a/doc/source/reference/routines.array-manipulation.rst +++ b/doc/source/reference/routines.array-manipulation.rst @@ -40,6 +40,7 @@ Changing number of dimensions atleast_2d atleast_3d broadcast + broadcast_to broadcast_arrays expand_dims squeeze |