Tile (repeat) an array along a dimension. More...

Modules

 tile
 The C++ interface for tile.
 
 af_tile
 The C interface for tile.
 

Detailed Description

Tile (repeat) an array along a dimension.

array a(seq(5)); //a=[1 2 3 4 5]
a = tile(a, 2); //a=[1 2 3 4 5]
// [1 2 3 4 5]
array a(seq(5)); //a=[0]
// [1]
// [2]
// [3]
// [4]
a = tile(a, dim4(1,2)); //a=[0 0]
// [1 1]
// [2 2]
// [3 3]
// [4 4]