Dew MtxVec NET
TVec.CopyMtx Methods
Summary
Copy values from matrix.

Class
TVec

Declaration
Procedure CopyMtx(Mtx: TMtx);

Description
Copy each of Mtx matrix elements to the calling vector. The Length and Complex properties of the calling vector are set implicitly to match Mtx matrix. The same can be achieved by calling the Copy method.
 See Also 
Copy 
TMtxVec.Copy 

Deprecated!


Example 1

var b,c: TVec; A: TMtx; begin CreateIt(b,c); CreateIt(A); try a.SetIt(2,2,False,[1,2,3,4]); b.CopyMtx(a); // b = [1,2,3,4] finally FreeIt(A); FreeIt(b,c); end; end;


Declaration
Function CopyMtx(Mtx: TMtx; Index, Row, Col, Len: Integer): TVec;

Description
Copy Mtx elements Values1D[Row*fCols+Col]..Values1D[Row*fCols+Col+Len] in the calling vector elements [Index]..[Index+Len-1]. The
Length and Complex properties must be set explicitly. An exception is raised if ConditionCheck is True and array borders are overrun or underrun. The same can be achieved by calling the Copy method.

Deprecated!


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