Skip to main content

replicated

Method of IntegerArray.

Overloads

NameDescription
replicated(integer factor) -> IntegerArrayReplicates the elements of the IntegerArray lhs by the specified factors.
replicated(integer rowFactor, integer colFactor) -> IntegerArrayReplicates the elements of the IntegerArray lhs by the specified factors.

replicated(integer factor) -> IntegerArray

Replicates the elements of the IntegerArray lhs by the specified factors.

Parameters

  • factor: The factor by which to replicate the vector.

replicated(integer rowFactor, integer colFactor) -> IntegerArray

Replicates the elements of the IntegerArray lhs by the specified factors.

Parameters

  • rowFactor: The factor by which to replicate the rows.
  • colFactor: The factor by which to replicate the columns.