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

Calculate the exponent base 2 (2^) for X elements [XIndex]..[XIndex+Len-1].

Pascal
function Exp2(const X: TMtxVec; XIndex: integer; Index: integer; Len: integer): TMtxVec; overload;

Store the results in the calling object elements [Index]..[Index+Len-1]. Size and Complex properties of the calling object must be set explicitly. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun.

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