replicate
Method of IntegerArray.
Overloads
| Name | Description |
|---|---|
replicate(integer factor) -> IntegerArray | Replicates the elements of the IntegerArray lhs in-place by the specified factors. |
replicate(integer rowFactor, integer colFactor) -> IntegerArray | Replicates the elements of the IntegerArray lhs in-place by the specified factors. |
replicate(integer factor) -> IntegerArray
Replicates the elements of the IntegerArray lhs in-place by the specified factors.
Parameters
- factor: The factor by which to replicate the vector.
replicate(integer rowFactor, integer colFactor) -> IntegerArray
Replicates the elements of the IntegerArray 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.