MtxExpr.Eye Method

function Eye(ARows: Integer; ACols: Integer; const aFloatPrecision: TMtxFloatPrecision): Matrix;

Returns an "eye" matrix with ones on the diagonal and zeros elsewhere.

#NameTypeDescription
1ARowsInteger
2AColsInteger
3aFloatPrecisionTMtxFloatPrecision

Returns: Matrix

Remarks:

Internally calls Matrix.Eye