You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Copy Method > Matrix.Copy Method (TMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Copy Method (TMtxVec)

Copy object values.

Pascal
function Copy(const Vec: TMtxVec): TMtxVec; overload;

Copy each of Vec elements to the calling object. Size and Complex properties of the calling object are set implicitly to match Vec object.

Assign

var a,b,c: Matrix; begin a.SetIt(1,2,True,[1,2,3,4]); // a = [1,2,3,4] b.Copy(a); // b = [1,2,3,4] c.Copy(a,b); //concatenate a and b and store in c = [1,2,3,4,1,2,3,4] end;
Examples on GitHub
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!