You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > IntPower Method > TOpenCLMtxVec.IntPower Method (int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.IntPower Method (int)

Power (integer exponent).

Syntax
C#
Visual Basic
public TOpenCLMtxVec IntPower(int Exponent);

Calculate the power ^(Exponent) for all caling object elements using the integer parameter Exponent. For non integer exponents, the Power and PowerVec methods can be used.

var a: TOpenCLVector; begin CreateIt(a); try a.CopyFromArray(TSingleArray.Create(1,2,3,4)); a.IntPower(3); finally FreeIt(a); end; end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!