You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > ExtendToComplex Method > TOpenCLMtxVec.ExtendToComplex Method (TOpenCLMtxVec, Boolean, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.ExtendToComplex Method (TOpenCLMtxVec, Boolean, integer, integer, integer)

Converts the source to complex.

Pascal
function ExtendToComplex(const Src: TOpenCLMtxVec; Zeros: Boolean; SrcIndex: integer; DstIndex: integer; Len: integer): TOpenCLMtxVec; overload;

Converts the source to complex by setting the imaginary part to either zero (zeros = True) or same as real (zeros = false). Does not set size of the calling vector. If there is not sufficient space available to store the result an exception will be raised.

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