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

Construct a complex object from the ReVec elements [ReIndex]..[ReIndex+Len-1] (real part) and the ImVec elements [ImIndex]..[ImIndex+Len-1] (imaginary part).

Pascal
function RealToCplx(ReVec: TMtxVec; ImVec: TMtxVec; ReIndex: integer; ImIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

The results are stored to calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if ConditionCheck is True and array borders are overrun. An exception is also raised if ReVec or ImVec Complex property is True.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!