kotlin-numpy / org.jetbrains.numkt / concatenate

concatenate

fun <T : Any> concatenate(vararg arrs: KtNDArray<T>, axis: Int = 0): KtNDArray<T> (source)

Join a sequence of arrays along an existing axis.

Parameters

arrs - the input arrays. The arrays must have the same shape, except in the dimension corresponding to axis (the first, by default).

axis - the axis along which the arrays will be joined. If axis is None, arrays are flattened before use. Default is 0.

Return
new concatenated array.