You are here:
Symbol Reference >
AbstractMtxVec Namespace
>
Classes
>
TMtxVec Class
>
public
>
RealPart Method
>
TMtxVec.RealPart Method (TMtxVec)
MtxVec VCL
Example
TMtxVec.RealPart Method (TMtxVec)
var
a,b: TVec;
begin
CreateIt
(a,b);
try
a.SetIt(True,[1,2,3,4]);
// = [1+2i, 3+4i]
b.RealPart(a);
// b = [1,3]
finally
FreeIt
(a,b);
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.