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

Converts the source to complex.

Pascal
function ExtendToComplex(const Src: TMtxVec; Zeros: Boolean; SrcIndex: integer; DstIndex: integer; Len: integer): TMtxVec; 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!