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

Converts the source to complex.

Pascal
function ExtendToComplex(const Src: TMtxVec; Zeros: Boolean): TMtxVec; overload;

{$IFDEF D9_INLINE} inline; {$ENDIF}  

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 Matrix. 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!