Array.ToColumnMajorMatrix(Variable) Method

Top 

Description

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

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

Array.ToColumnMajorMatrix(

Variable numRows)

 

Arguments

numRows


Description:

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

Valid Range:

numRows ≥ 1

 

 

Return Value

Type:

Matrix of number

 

The column major matrix.

 

Syntax

myMatrix1 = myArray1.ToColumnMajorMatrix(myVariable1);

 

See also

Array Object

Matrix, Array, and Variable Math Guide