You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TMtx Class > TMtx Methods > Eye Method > TMtx.Eye Method (int, int, bool, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TMtx.Eye Method (int, int, bool, bool)

Constructs an eye matrix.

Syntax
C#
Visual Basic
public TMtx Eye(int aRows, int aCols, bool AComplex, bool aIsDouble);

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;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!