Click or drag to resize
DigitalRuneMatrixFCreateIdentity Method
Creates an identity matrix.

Namespace: DigitalRune.Mathematics.Algebra
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public static MatrixF CreateIdentity(
	int numberOfRows,
	int numberOfColumns
)

Parameters

numberOfRows
Type: SystemInt32
The number of rows.
numberOfColumns
Type: SystemInt32
The number of columns.

Return Value

Type: MatrixF
An identity matrix.
Remarks
Elements in the main diagonal are set to 1. Other elements are set to 0.
See Also