kotlin-numpy / org.jetbrains.numkt / tile

tile

fun <T : Any> tile(a: KtNDArray<T>, reps: Int): KtNDArray<T> (source)
fun <T : Any> tile(a: KtNDArray<T>, reps: IntArray): KtNDArray<T> (source)

Construct an array by repeating a the number of times given by reps.

Parameters

a - input array.

reps - the number of repetitions array along each axis.

Return
the tiled output array (view).