You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Eye Method > Matrix.Eye Method (int, int, bool, bool)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.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 Complex property of an eye matrix is set by AComplex parameter.

var A: Matrix; begin A.Eye(3,3); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!