Matrix.FillRandom(Variable, Variable, Variable, Variable) Method

Top 

Description

Resizes the matrix and loads the matrix with unform random number.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Matrix.FillRandom(

Variable min,


Variable max,


Variable numRows,


Variable numColumns)

 

 

Arguments

min


Description:

The minimum value of the random number range.

 

 

max


Description:

The maximum value of the random number range.

 

 

numRows


Description:

The number of rows in the matrix.

Valid Range:

numRows ≥ 0

 

 

numColumns


Description:

The number of columns in the matrix.

Valid Range:

numColumns ≥ 0

 

 

 

Syntax

myMatrix1.FillRandom(myVariable1, myVariable2, myVariable3, myVariable4);

 

 

See also

Matrix Object

Matrix.FillRandom

Matrix, Array, and Variable Math Guide