function Eye(ARows: Integer; ACols: Integer; const aFloatPrecision: TMtxFloatPrecision): Matrix;
Returns an "eye" matrix with ones on the diagonal and zeros elsewhere.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ARows | Integer | |
| 2 | ACols | Integer | |
| 3 | aFloatPrecision | TMtxFloatPrecision |
Returns: Matrix
Remarks:
Internally calls Matrix.Eye