Skip to main content

replicate

Method of RealMatrix.

Overloads

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

replicate(integer rowFactor, integer colFactor) -> RealMatrix

Replicates the elements of the RealMatrix 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) -> RealMatrix

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

Parameters

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