summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lhermitte <jrmlhermitte@gmail.com>2015-11-05 22:42:51 -0500
committerJulien Lhermitte <jrmlhermitte@gmail.com>2015-11-05 22:42:51 -0500
commit4ac1740eaefa89b495171d8a5862ae2d1cacc5da (patch)
tree1df7cf4494154c466a3a3dd289d1c9283fddf3a6
parent8028a7715da5d6c9b2c5586a3055fdb0ba81dab7 (diff)
downloadnumpy-4ac1740eaefa89b495171d8a5862ae2d1cacc5da.tar.gz
added more text
-rw-r--r--numpy/lib/shape_base.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py
index c2b06775a..ffbe56721 100644
--- a/numpy/lib/shape_base.py
+++ b/numpy/lib/shape_base.py
@@ -799,6 +799,9 @@ def tile(A, reps):
Thus for an `A` of shape (2, 3, 4, 5), a `reps` of (2, 2) is treated as
(1, 1, 2, 2).
+ Note : Although tile may be used for broadcasting, it is strongly
+ recommended to use numpy's broadcasting operations and functions.
+
Parameters
----------
A : array_like
@@ -814,6 +817,7 @@ def tile(A, reps):
See Also
--------
repeat : Repeat elements of an array.
+ broadcast_to : Broadcast an array to a new shape
Examples
--------