tile(A, reps)
Eine Matrix wird erzeugt, indem A „reps“-mal wiederholt wird.
Falls „reps“ gleich „d“ ist, hat das Ergebnis die Dimension von max(d, A.ndim).
>>> np.tile(42,3)
array([42, 42, 42])
>>> np.tile([2,4],2)
array([2, 4, 2, 4])
>>> np.tile([2,4],3)
array([2, 4, 2, 4, 2, 4])
>>> np.tile([[1,3],[2,4]],2)
array([[1, 3, 1, 3],
[2, 4, 2, 4]])
>>> np.tile([[1,3],[2,4]],(2,2))
array([[1, 3, 1, 3],
[2, 4, 2, 4],
[1, 3, 1, 3],
[2, 4, 2, 4]])