Matrix.Identity(Variable) Method

Top 

Description

Returns the Identity matrix with the specified number of rows and columns.

 

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.Identity(

Variable dimension)

 

 

Arguments

dimension


Description:

The number of rows and columns for the Identity matrix.

Valid Range:

dimension > 0

 

 

 

Return Value

Type:

Matrix of number

 

 

The Identity matrix with the specified number of rows and columns.

 

Syntax

myMatrix1 = Matrix.Identity(myVariable1);

 

 

See also

Matrix Object

Matrix.Identity

Matrix, Array, and Variable Math Guide