Variable.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.

 

Method Signature

Variable.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 = myVariable1.Repeat(myVariable2, myVariable3);

 

See also

Variable Object

Matrix, Array, and Variable Math Guide