You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > CplxToReal Method > clMatrix.CplxToReal Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.CplxToReal Method (TOpenCLMtxVec, TOpenCLMtxVec, integer, integer, integer, integer)

Split calling object elements [Index]..[Index+Len-1] into real and imaginary components.

Pascal
procedure CplxToReal(ReVec: TOpenCLMtxVec; ImVec: TOpenCLMtxVec; ReIndex: integer; ImIndex: integer; Index: integer; Len: integer); overload;

Store real components in ReVec elements [ReIndex]..[ReIndex+Len-1] and imaginary components in ImVec elements [ImIndex]..[ImIndex+Len-1]. Size and Complex properties must be set explicitly. An exception is raised if array borders are overrun or underrun.

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