You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Power Method > clVector.Power Method (TOpenCLMtxVec, TOpenCLMtxVec)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Power Method (TOpenCLMtxVec, TOpenCLMtxVec)

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

Pascal
function Power(const aBase: TOpenCLMtxVec; const Exponent: TOpenCLMtxVec): TOpenCLMtxVec; 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!