Dew MtxVec NET
TMtx.Eye Method
Summary
Constructs an eye matrix.

Class
TMtx

Declaration
Function Eye(ARows, ACols: integer; AComplex: boolean = False): TMtx;

Description
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.

Example 1

var A,B: TMtx; begin CreateIt(A); try A.Eye(3,3); // ... finally FreeIt(A); end; end;

Copyright 2008 Dew Research
http://www.dewresearch.com