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

Raises each of Base object elements to corresponding power

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

Powers are stored in Exponenet elements: 

 

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

 

Size and 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!