Matrix.Repeat(Variable, Variable) Method

Top 

Description

Returns a matrix consisting of the specified value repeated the specified number of times.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

Matrix.Repeat(

Variable rowRepeats,


Variable colRepeats)

 

 

Arguments

rowRepeats


Description:

The number of times to repeat in the row direction.

Valid Range:

rowRepeats ≥ 1

 

 

colRepeats


Description:

The number of times to repeat in the column direction.

Valid Range:

colRepeats ≥ 1

 

 

 

Return Value

Type:

Matrix of number

 

 

The matrix formed from the repeating process.

 

Syntax

myMatrix1 = myMatrix2.Repeat(myVariable1, myVariable2);

 

 

See also

Matrix Object

Matrix, Array, and Variable Math Guide