You are here: Symbol Reference > MtxVec Namespace > Classes > TMtx Class > public > Eye Method > TMtx.Eye Method (integer, integer, boolean, boolean)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtx.Eye Method (integer, integer, boolean, boolean)

Constructs an eye matrix.

Pascal
function Eye(ARows: integer; ACols: integer; AComplex: boolean; aIsDouble: boolean): TMtx; overload;

Construct an eye matrix. The number of rows and columns of an eye matrix is set by ARows and ACols parameters. The TMtxVec.ComplexComplexproperty of an eye matrix is set by AComplex parameter.

var A,B: TMtx; begin CreateIt(A); try A.Eye(3,3); // ... finally FreeIt(A); end; end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!