Click or drag to resize

DenseMatrixIdentity Method

Generates an identity matrix.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 20.3.405.0 (20.3.405.0)
Syntax
public static DenseMatrix Identity(
	int m,
	int n
)

Parameters

m
Type: SystemInt32
Number of rows.
n
Type: SystemInt32
Number of columns.

Return Value

Type: DenseMatrix
An m-by-n matrix with ones on the diagonal and zeros elsewhere.
See Also