Skip to main content

replicate

Method of ComplexArray.

Overloads​

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

replicate(integer rowFactor, integer colFactor) -> ComplexArray​

Replicates the elements of the ComplexArray 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.

replicate(integer factor) -> ComplexArray​

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

Parameters​

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