50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


narray (version 0.5.1)

rep: Repeats an array along an arbitrary axis

Description

Repeats an array along an arbitrary axis

Usage

rep(x, n, along = 1)

crep(x, n)

rrep(x, n)

Value

An array that is repeated `n` times on axis `along`

Arguments

x

An array object

n

Integer, how often to repeat

along

Along which axis to repeat (default: 1)