TMtx Eye(Int32 ARows, Int32 ACols, Boolean AComplex, Boolean aIsDouble)
Constructs an eye matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ARows | Int32 | |
| 2 | ACols | Int32 | |
| 3 | AComplex | Boolean | |
| 4 | aIsDouble | Boolean |
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);