TMtxInt *Eye(int ARows, int ACols, TIntPrecision aIntPrecision = TIntPrecision::prInt32) const;
Constructs an eye matrix.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | ARows | int | |
| 2 | ACols | int | |
| 3 | aIntPrecision = TIntPrecision::prInt32 | TIntPrecision |
Remarks:
Construct an eye matrix with ones only on main diagonal and zeros elsewhere. The number of Rows and columns of an eye matrix are set by ARows and ACols parameters. The TMtxVecInt::IntPrecision property of an eye matrix is set by aIntPrecision parameter.
Declared in Dew::Math::MatrixInt · Dew.Math/MtxExprInt.h · Cross-compiler