Skip to main content

replicate

Method of BoolArray.

Overloads

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

replicate(integer factor) -> BoolArray

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

Parameters

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

replicate(integer rowFactor, integer colFactor) -> BoolArray

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