Array.ToRowMajorMatrix(Variable) Method

Top 

Description

Returns a matrix using the input array as its row-major elements.

 

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

Array.ToRowMajorMatrix(

Variable numColumns)

 

 

Arguments

numColumns


Description:

The number of colunms in the resulting matrix. This value must divide evenly into the total number of elements. The number of rows in the resulting matrix is numElements/numColumns.

Valid Range:

numColumns ≥ 1

 

 

 

Return Value

Type:

Matrix of number

 

 

The row major matrix.

 

Syntax

myMatrix1 = myArray1.ToRowMajorMatrix(myVariable1);

 

 

See also

Array Object

Matrix, Array, and Variable Math Guide