Skip to main content

replicate

Method of RealArray.

Overloads

NameDescription
replicate(integer factor) -> RealArrayReplicates the elements of the RealArray lhs in-place by the specified factors.
replicate(integer rowFactor, integer colFactor) -> RealArrayReplicates the elements of the RealArray lhs in-place by the specified factors.

replicate(integer factor) -> RealArray

Replicates the elements of the RealArray lhs in-place by the specified factors.

Parameters

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

replicate(integer rowFactor, integer colFactor) -> RealArray

Replicates the elements of the RealArray lhs in-place by the specified factors.

Parameters

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