diff options
author | Julien Lhermitte <jrmlhermitte@gmail.com> | 2015-11-05 22:42:51 -0500 |
---|---|---|
committer | Julien Lhermitte <jrmlhermitte@gmail.com> | 2015-11-05 22:42:51 -0500 |
commit | 4ac1740eaefa89b495171d8a5862ae2d1cacc5da (patch) | |
tree | 1df7cf4494154c466a3a3dd289d1c9283fddf3a6 | |
parent | 8028a7715da5d6c9b2c5586a3055fdb0ba81dab7 (diff) | |
download | numpy-4ac1740eaefa89b495171d8a5862ae2d1cacc5da.tar.gz |
added more text
-rw-r--r-- | numpy/lib/shape_base.py | 4 |
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 -------- |