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

Raises each of Base object elements to corresponding power, stored in Exponenet elements.

Pascal
function Power(const Base: TMtxVec; const Exponent: TMtxVec): TMtxVec; overload;

Power[i] = Base[i]^Exponent[i] 

 

Size and Complex property of calling object are adjusted automatically. An exception is raised if Base and Exponent sizes do not match.

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