Matrix.Eye Method

TMtx Eye(Int32 ARows, Int32 ACols, Boolean AComplex, Boolean aIsDouble)

Constructs an eye matrix.

#NameTypeDescription
1ARowsInt32
2AColsInt32
3AComplexBoolean
4aIsDoubleBoolean

Result: stored in self (calling object), returns self for chaining

Remarks:

Construct an eye matrix. The number of rows and columns of an eye matrix is set by ARows and ACols parameters. The Dew.Math.Matrix.Complex property of an eye matrix is set by AComplex parameter.

Examples
Matrix A;
A.Eye(3,3);