Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy replicate array

numpy.tile(A, reps)
#or if you want to do it along a new axis:
np.repeat(A, reps, axis = 0)
 
PREVIOUS NEXT
Tagged: #numpy #replicate #array
ADD COMMENT
Topic
Name
1+7 =